Home
last modified time | relevance | path

Searched refs:hasSection (Results 1 – 25 of 88) sorted by relevance

1234

/external/llvm-project/llvm/unittests/IR/
DFunctionTest.cpp131 EXPECT_TRUE(F->hasSection()); in TEST()
133 EXPECT_FALSE(F->hasSection()); in TEST()
137 EXPECT_TRUE(F->hasSection()); in TEST()
/external/llvm-project/llvm/include/llvm/IR/
DGlobalObject.h106 bool hasSection() const { in hasSection() function
115 return hasSection() ? getSectionImpl() : StringRef(); in getSection()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.cpp179 if (GO->hasSection()) { in getExplicitSectionGlobal()
217 if (GVar->hasSection()) { in isGlobalInSmallSection()
398 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal()
455 if (Fn->hasSection()) in selectSectionForLookupTable()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.cpp179 if (GO->hasSection()) { in getExplicitSectionGlobal()
217 if (GVar->hasSection()) { in isGlobalInSmallSection()
396 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal()
453 if (Fn->hasSection()) in selectSectionForLookupTable()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DGlobalObject.h101 bool hasSection() const { in hasSection() function
110 return hasSection() ? getSectionImpl() : StringRef(); in getSection()
/external/llvm/lib/Transforms/IPO/
DConstantMerge.cpp104 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in mergeConstants()
138 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in mergeConstants()
/external/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.cpp153 if (GV->hasSection()) { in getExplicitSectionGlobal()
189 if (GVar->hasSection()) { in isGlobalInSmallSection()
364 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRTargetObjectFile.cpp33 if (AVR::isProgramMemoryAddress(GO) && !GO->hasSection()) in SelectSectionForGlobal()
/external/llvm/lib/Target/AVR/
DAVRTargetObjectFile.cpp34 if (AVR::isProgramMemoryAddress(GV) && !GV->hasSection()) in SelectSectionForGlobal()
/external/llvm-project/llvm/lib/Target/AVR/
DAVRTargetObjectFile.cpp33 if (AVR::isProgramMemoryAddress(GO) && !GO->hasSection() && Kind.isReadOnly()) in SelectSectionForGlobal()
/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp65 if (GV->hasSection()) in isSuitableForBSS()
237 if (GV->hasSection()) in SectionForGlobal()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTargetLoweringObjectFile.cpp82 if (GV->hasSection()) in isSuitableForBSS()
249 if (GO->hasSection()) in SectionForGlobal()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DGlobals.cpp211 assert(hasSection()); in getSectionImpl()
217 if (!hasSection() && S.empty()) in setSection()
255 if (hasSection() && getAlignment() > 0) in canIncreaseAlignment()
/external/llvm-project/llvm/lib/IR/
DGlobals.cpp208 assert(hasSection()); in getSectionImpl()
214 if (!hasSection() && S.empty()) in setSection()
252 if (hasSection() && getAlignment() > 0) in canIncreaseAlignment()
/external/llvm-project/llvm/lib/Target/
DTargetLoweringObjectFile.cpp93 if (GV->hasSection()) in isSuitableForBSS()
264 if (GO->hasSection()) in SectionForGlobal()
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCVTargetObjectFile.cpp46 if (GVA->hasSection()) { in isGlobalInSmallSection()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVTargetObjectFile.cpp47 if (GVA->hasSection()) { in isGlobalInSmallSection()
/external/llvm/include/llvm/IR/
DGlobalObject.h66 bool hasSection() const { return !getSection().empty(); } in hasSection() function
DModuleSummaryIndex.h110 : Linkage(GV.getLinkage()), HasSection(GV.hasSection()) {} in GVFlags()
182 bool hasSection() const { return Flags.HasSection; } in hasSection() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DGlobalObject.h69 bool hasSection() const { return !getSection().empty(); } in hasSection() function
/external/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp70 if (GVar && GVar->hasSection()) in doPromoteLocalToGlobal()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsTargetObjectFile.cpp110 if (GVA->hasSection()) { in IsGlobalInSmallSectionImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsTargetObjectFile.cpp111 if (GVA->hasSection()) { in IsGlobalInSmallSectionImpl()
/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp95 cast<GlobalVariable>(RHS)->hasInitializer() || RHS->hasSection()) in lowerRelativeReference()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp81 if (GV.hasSection()) in isNonRenamableLocal()

1234