Home
last modified time | relevance | path

Searched refs:hasInstructions (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinaryBasicBlock.h179 bool empty() const { assert(hasInstructions()); in empty()
181 size_t size() const { assert(hasInstructions()); in size()
183 MCInst &front() { assert(hasInstructions()); in front()
185 MCInst &back() { assert(hasInstructions()); in back()
187 const MCInst &front() const { assert(hasInstructions()); in front()
189 const MCInst &back() const { assert(hasInstructions()); in back()
192 iterator begin() { assert(hasInstructions()); in begin()
194 const_iterator begin() const { assert(hasInstructions()); in begin()
280 assert(hasInstructions()); in instructions()
284 assert(hasInstructions()); in instructions()
[all …]
H A DBinaryFunction.h1029 bool hasInstructions() const { in hasInstructions() function
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCSection.h160 bool hasInstructions() const { return HasInstructions; }
H A DMCFragment.h106 bool hasInstructions() const { return HasInstructions; } in hasInstructions() function
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCAssembler.cpp449 if (Assembler.isBundlingEnabled() && F->hasInstructions()) { in layoutFragment()
486 assert(EF.hasInstructions() && in writeFragmentPadding()
886 assert(!DF.hasInstructions() || STI != nullptr); in layout()
894 assert(!RF.hasInstructions() || STI != nullptr); in layout()
H A DMCObjectStreamer.cpp213 if (!F.hasInstructions()) in canReuseDataFragment()
406 return Sec.hasInstructions(); in mayHaveInstructions()
H A DMCFragment.cpp368 << " Offset:" << Offset << " HasInstructions:" << hasInstructions(); in dump()
H A DMCELFStreamer.cpp142 if (Section && Assembler.isBundlingEnabled() && Section->hasInstructions() && in setSectionAlignmentForBundling()
H A DWasmObjectWriter.cpp722 if (Frag.hasInstructions()) in addData()
1884 if (Frag.hasInstructions() || Frag.getKind() != MCFragment::FT_Data) in writeOneObject()
H A DMachObjectWriter.cpp901 if (Sec.hasInstructions()) in writeObject()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryBasicBlock.cpp38 bool BinaryBasicBlock::hasInstructions() const { in hasInstructions() function in llvm::bolt::BinaryBasicBlock
39 return getParent()->hasInstructions(); in hasInstructions()
/llvm-project-15.0.7/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFObjectWriter.cpp280 if (Sec.getKind().isExecuteOnly() && !TextSection->hasInstructions()) { in addTargetSectionFlags()
/llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp436 if (!F || !F->hasInstructions()) in getSizeForInstFragment()