Home
last modified time | relevance | path

Searched refs:BasicBlockSection (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DBasicBlockSections.cpp199 if (MF.getTarget().getBBSectionsType() == llvm::BasicBlockSection::All || in assignSections()
296 if (BBSectionsType == BasicBlockSection::None) in handleBBSections()
305 if (BBSectionsType == BasicBlockSection::List && in handleBBSections()
312 if (BBSectionsType == BasicBlockSection::Labels) { in handleBBSections()
318 if (BBSectionsType == BasicBlockSection::List) { in handleBBSections()
383 if (MF.getTarget().getBBSectionsType() == BasicBlockSection::Labels) in handleBBAddrMap()
H A DCommandFlags.cpp524 llvm::BasicBlockSection
527 return BasicBlockSection::All; in getBBSectionsMode()
529 return BasicBlockSection::Labels; in getBBSectionsMode()
531 return BasicBlockSection::None; in getBBSectionsMode()
541 return BasicBlockSection::List; in getBBSectionsMode()
H A DMachineFunctionSplitter.cpp148 MF.setBBSectionsType(BasicBlockSection::Preset); in runOnMachineFunction()
H A DBasicBlockPathCloning.cpp238 assert(MF.getTarget().getBBSectionsType() == BasicBlockSection::List && in INITIALIZE_PASS_DEPENDENCY()
H A DTargetPassConfig.cpp1232 TM->getBBSectionsType() != llvm::BasicBlockSection::None; in addMachinePasses()
1257 if (TM->getBBSectionsType() == llvm::BasicBlockSection::List) { in addMachinePasses()
H A DMachineFunction.cpp470 if (Target.getBBSectionsType() == BasicBlockSection::Labels || in CreateMachineBasicBlock()
472 Target.getBBSectionsType() == BasicBlockSection::List) in CreateMachineBasicBlock()
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetOptions.h61 enum class BasicBlockSection { enum
328 BasicBlockSection BBSections = BasicBlockSection::None;
H A DTargetMachine.h320 llvm::BasicBlockSection getBBSectionsType() const { in getBBSectionsType()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineFunction.h383 BasicBlockSection BBSectionsType = BasicBlockSection::None;
696 return (BBSectionsType == BasicBlockSection::All ||
697 BBSectionsType == BasicBlockSection::List ||
698 BBSectionsType == BasicBlockSection::Preset);
703 return BBSectionsType == BasicBlockSection::Labels;
706 void setBBSectionsType(BasicBlockSection V) { BBSectionsType = V; }
H A DCommandFlags.h164 llvm::BasicBlockSection getBBSectionsMode(llvm::TargetOptions &Options);
/freebsd/contrib/llvm-project/lld/ELF/
H A DLTO.cpp72 c.Options.BBSections = BasicBlockSection::All; in createConfig()
74 c.Options.BBSections = BasicBlockSection::Labels; in createConfig()
76 c.Options.BBSections = BasicBlockSection::None; in createConfig()
86 c.Options.BBSections = BasicBlockSection::List; in createConfig()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp396 llvm::StringSwitch<llvm::BasicBlockSection>(CodeGenOpts.BBSections) in initTargetOptions()
397 .Case("all", llvm::BasicBlockSection::All) in initTargetOptions()
398 .Case("labels", llvm::BasicBlockSection::Labels) in initTargetOptions()
399 .StartsWith("list=", llvm::BasicBlockSection::List) in initTargetOptions()
400 .Case("none", llvm::BasicBlockSection::None) in initTargetOptions()
401 .Default(llvm::BasicBlockSection::None); in initTargetOptions()
403 if (Options.BBSections == llvm::BasicBlockSection::List) { in initTargetOptions()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp543 if (MF.getTarget().getBBSectionsType() == BasicBlockSection::Labels) { in initializeMachineFunction()
544 MF.setBBSectionsType(BasicBlockSection::Labels); in initializeMachineFunction()
H A DMIParser.cpp800 MF.setBBSectionsType(BasicBlockSection::List); in parseBasicBlockDefinition()
806 MF.setBBSectionsType(BasicBlockSection::Labels); in parseBasicBlockDefinition()