LLVM: lib/CodeGen/BasicBlockSections.cpp File Reference (original) (raw)

Go to the source code of this file.

Variables
static cl::opt< bool > BBSectionsDetectSourceDrift ("bbsections-detect-source-drift", cl::desc("This checks if there is a fdo instr. profile hash " "mismatch for this function"), cl::init(true), cl::Hidden)
bbsections prepare
bbsections Prepares for basic block sections
bbsections Prepares for basic block by splitting functions into clusters of basic blocks
bbsections Prepares for basic block by splitting functions into clusters of basic false

assignSections()

Definition at line 261 of file BasicBlockSections.cpp.

References llvm::All, assert(), llvm::MBBSectionID::ColdSectionID, llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::MBBSectionID::ExceptionSectionID, llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), llvm::TargetMachine::getBBSectionsType(), llvm::MachineFunction::getTarget(), llvm::MachineFunction::hasBBSections(), I, MBB, and TII.

createBBClusterInfoForFunction()

Definition at line 184 of file BasicBlockSections.cpp.

References llvm::Block, llvm::SmallVectorTemplateCommon< T, typename >::empty(), llvm::MachineFunction::getName(), llvm::BasicBlockMatchingAndInference::getWeightInfo(), llvm::instructionsWithoutDebug(), MBB, llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::MachineFunction::RenumberBlocks(), and llvm::MachineFunction::size().

INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( BasicBlockSections ,
"bbsections-prepare" ,
"Prepares for basic block sections,
by splitting functions " "into clusters of basic blocks." ,
false ,
false )

updateBranches()

BBSectionsDetectSourceDrift

cl::opt< bool > BBSectionsDetectSourceDrift("bbsections-detect-source-drift", cl::desc("This checks if there is a fdo instr. profile hash " "mismatch for this function"), cl::init(true), cl::Hidden) ( "bbsections-detect-source-drift" , cl::desc("This checks if there is a fdo instr. profile hash " "mismatch for this function") , cl::init(true) , cl::Hidden ) static

blocks

Definition at line 143 of file BasicBlockSections.cpp.

Referenced by blake3_hash16_avx512(), blake3_hash4_avx512(), blake3_hash4_sse2(), blake3_hash4_sse41(), blake3_hash8_avx2(), blake3_hash8_avx512(), blake3_hash_many(), blake3_hash_many_avx2(), blake3_hash_many_avx512(), blake3_hash_many_portable(), blake3_hash_many_sse2(), blake3_hash_many_sse41(), llvm::deleteDeadLoop(), llvm::GCOVBlock::getCyclesCount(), llvm::GenericCycle< ContextT >::getExitBlocks(), llvm::LoopBase< BlockT, LoopT >::getExitBlocks(), llvm::LoopBase< BlockT, LoopT >::getExitEdges(), llvm::LoopBase< BlockT, LoopT >::getExitingBlock(), llvm::GenericCycle< ContextT >::getExitingBlocks(), llvm::LoopBase< BlockT, LoopT >::getExitingBlocks(), hash_one_avx512(), hash_one_portable(), hash_one_sse2(), hash_one_sse41(), llvm::RegionBase< Tr >::print(), and llvm::GenericCycle< ContextT >::verifyCycle().

false

bbsections Prepares for basic block by splitting functions into clusters of basic false

prepare

sections

bbsections Prepares for basic block sections