Home
last modified time | relevance | path

Searched refs:BBSectionsType (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DBasicBlockSections.cpp307 auto BBSectionsType = MF.getTarget().getBBSectionsType(); in runOnMachineFunction() local
308 assert(BBSectionsType != BasicBlockSection::None && in runOnMachineFunction()
317 if (BBSectionsType == BasicBlockSection::List && in runOnMachineFunction()
327 if (BBSectionsType == BasicBlockSection::Labels) { in runOnMachineFunction()
328 MF.setBBSectionsType(BBSectionsType); in runOnMachineFunction()
335 if (BBSectionsType == BasicBlockSection::List && in runOnMachineFunction()
339 MF.setBBSectionsType(BBSectionsType); in runOnMachineFunction()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineFunction.h377 BasicBlockSection BBSectionsType = BasicBlockSection::None;
635 return (BBSectionsType == BasicBlockSection::All ||
636 BBSectionsType == BasicBlockSection::List ||
637 BBSectionsType == BasicBlockSection::Preset);
642 return BBSectionsType == BasicBlockSection::Labels;
645 void setBBSectionsType(BasicBlockSection V) { BBSectionsType = V; }