Searched refs:BasicBlockSection (Results 1 – 14 of 14) sorted by relevance
199 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()
524 llvm::BasicBlockSection527 return BasicBlockSection::All; in getBBSectionsMode()529 return BasicBlockSection::Labels; in getBBSectionsMode()531 return BasicBlockSection::None; in getBBSectionsMode()541 return BasicBlockSection::List; in getBBSectionsMode()
148 MF.setBBSectionsType(BasicBlockSection::Preset); in runOnMachineFunction()
238 assert(MF.getTarget().getBBSectionsType() == BasicBlockSection::List && in INITIALIZE_PASS_DEPENDENCY()
1232 TM->getBBSectionsType() != llvm::BasicBlockSection::None; in addMachinePasses()1257 if (TM->getBBSectionsType() == llvm::BasicBlockSection::List) { in addMachinePasses()
470 if (Target.getBBSectionsType() == BasicBlockSection::Labels || in CreateMachineBasicBlock()472 Target.getBBSectionsType() == BasicBlockSection::List) in CreateMachineBasicBlock()
61 enum class BasicBlockSection { enum328 BasicBlockSection BBSections = BasicBlockSection::None;
320 llvm::BasicBlockSection getBBSectionsType() const { in getBBSectionsType()
383 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; }
164 llvm::BasicBlockSection getBBSectionsMode(llvm::TargetOptions &Options);
72 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()
396 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()
543 if (MF.getTarget().getBBSectionsType() == BasicBlockSection::Labels) { in initializeMachineFunction()544 MF.setBBSectionsType(BasicBlockSection::Labels); in initializeMachineFunction()
800 MF.setBBSectionsType(BasicBlockSection::List); in parseBasicBlockDefinition()806 MF.setBBSectionsType(BasicBlockSection::Labels); in parseBasicBlockDefinition()