Home
last modified time | relevance | path

Searched refs:Globals (Results 1 – 25 of 48) sorted by relevance

12

/external/llvm/lib/CodeGen/
DGlobalMerge.cpp140 bool doMerge(SmallVectorImpl<GlobalVariable*> &Globals,
144 bool doMerge(const SmallVectorImpl<GlobalVariable *> &Globals,
202 bool GlobalMerge::doMerge(SmallVectorImpl<GlobalVariable*> &Globals, in doMerge() argument
206 std::stable_sort(Globals.begin(), Globals.end(), in doMerge()
214 BitVector AllGlobals(Globals.size()); in doMerge()
216 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge()
239 UsedGlobalSet(size_t Size) : Globals(Size), UsageCount(1) {} in doMerge()
240 BitVector Globals; in doMerge() member
249 UsedGlobalSets.emplace_back(Globals.size()); in doMerge()
277 for (size_t GI = 0, GE = Globals.size(); GI != GE; ++GI) { in doMerge()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMGlobalMerge.cpp77 bool doMerge(SmallVectorImpl<GlobalVariable*> &Globals,
114 bool ARMGlobalMerge::doMerge(SmallVectorImpl<GlobalVariable*> &Globals, in doMerge() argument
124 std::stable_sort(Globals.begin(), Globals.end(), GlobalCmp(TD)); in doMerge()
128 for (size_t i = 0, e = Globals.size(); i != e; ) { in doMerge()
134 Type *Ty = Globals[j]->getType()->getElementType(); in doMerge()
140 Inits.push_back(Globals[j]->getInitializer()); in doMerge()
154 Globals[k]->replaceAllUsesWith(GEP); in doMerge()
155 Globals[k]->eraseFromParent(); in doMerge()
165 SmallVector<GlobalVariable*, 16> Globals, ConstGlobals, BSSGlobals; in doInitialization() local
195 Globals.push_back(I); in doInitialization()
[all …]
/external/pdfium/testing/resources/javascript/
Dglobals_expected.txt2 Alert: Enumerable Globals:
4 Alert: Expected Globals:
14 Alert: Enumerable Globals:
24 Alert: Expected Globals:
37 Alert: Enumerable Globals:
39 Alert: Expected Globals:
50 Alert: Enumerable Globals:
60 Alert: Expected Globals:
81 Alert: Enumerable Globals:
83 Alert: Expected Globals:
[all …]
Dglobals.in99 app.alert("Enumerable Globals:");
108 app.alert("Expected Globals:");
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp245 ArrayRef<GlobalVariable *> Globals);
254 ArrayRef<GlobalObject *> Globals);
494 ArrayRef<Metadata *> TypeIds, ArrayRef<GlobalVariable *> Globals) { in buildBitSetsFromGlobalVariables() argument
501 for (GlobalVariable *G : Globals) { in buildBitSetsFromGlobalVariables()
528 for (unsigned I = 0; I != Globals.size(); ++I) in buildBitSetsFromGlobalVariables()
530 GlobalLayout[Globals[I]] = CombinedGlobalLayout->getElementOffset(I * 2); in buildBitSetsFromGlobalVariables()
537 for (unsigned I = 0; I != Globals.size(); ++I) { in buildBitSetsFromGlobalVariables()
544 Globals[I]->replaceAllUsesWith(CombinedGlobalElemPtr); in buildBitSetsFromGlobalVariables()
546 assert(Globals[I]->getType()->getAddressSpace() == 0); in buildBitSetsFromGlobalVariables()
548 Globals[I]->getLinkage(), "", in buildBitSetsFromGlobalVariables()
[all …]
DGlobalOpt.cpp443 Module::GlobalListType &Globals = GV->getParent()->getGlobalList(); in SRAGlobal() local
463 Globals.push_back(NGV); in SRAGlobal()
498 Globals.push_back(NGV); in SRAGlobal()
562 Globals.erase(GV); in SRAGlobal()
571 Globals.erase(NewGlobals[i]); in SRAGlobal()
/external/llvm/test/Analysis/
Dalias-analysis-uses.ll3 ; CHECK: Executing Pass 'Globals Alias Analysis'
4 ; CHECK-NOT: Freeing Pass 'Globals Alias Analysis'
6 ; CHECK: Freeing Pass 'Globals Alias Analysis'
/external/nanopb-c/generator/
Dnanopb_generator.py907 class Globals: class
920 for namemask, options in Globals.separate_options:
922 Globals.matched_namemasks.add(namemask)
941 if Globals.verbose_options:
1013 Globals.separate_options = read_options_file(open(optfilename, "rU"))
1015 Globals.separate_options = []
1016 Globals.matched_namemasks = set()
1040 unmatched = [n for n,o in Globals.separate_options if n not in Globals.matched_namemasks]
1044 if not Globals.verbose_options:
1062 Globals.verbose_options = options.verbose
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.h61 StringMap<DIE*> Globals; variable
82 const StringMap<DIE*> &getGlobals() const { return Globals; } in getGlobals()
91 void addGlobal(StringRef Name, DIE *Die) { Globals[Name] = Die; } in addGlobal()
DDwarfDebug.cpp1711 const StringMap<DIE*> &Globals = TheCU->getGlobals(); in emitDebugPubNames() local
1713 GI = Globals.begin(), GE = Globals.end(); GI != GE; ++GI) { in emitDebugPubNames()
1759 const StringMap<DIE*> &Globals = TheCU->getGlobalTypes(); in emitDebugPubTypes() local
1761 GI = Globals.begin(), GE = Globals.end(); GI != GE; ++GI) { in emitDebugPubTypes()
/external/clang/test/CodeGen/
D2003-06-26-CFECrash.c8 typedef struct Globals { struct
/external/swiftshader/third_party/LLVM/test/Transforms/GlobalOpt/
D2010-10-19-WeakOdr.ll3 ; PR8389: Globals with weak_odr linkage type must not be modified
/external/llvm/test/Transforms/GlobalOpt/
D2010-10-19-WeakOdr.ll3 ; PR8389: Globals with weak_odr linkage type must not be modified
/external/llvm/test/Assembler/
Dalias-use-list-order.ll3 ; Globals.
/external/llvm/lib/IR/
DCMakeLists.txt26 Globals.cpp
/external/llvm/tools/llvm-pdbdump/
Dllvm-pdbdump.h21 extern llvm::cl::opt<bool> Globals;
Dllvm-pdbdump.cpp117 cl::opt<bool> Globals("globals", cl::desc("Dump global symbols"), variable
470 if (opts::pretty::Globals) { in dumpPretty()
557 opts::pretty::Globals = true; in main()
/external/clang/test/CodeGenObjC/
Dobjc2-write-barrier-2.m14 // Globals
/external/swiftshader/third_party/LLVM/test/Linker/
Dtestlink1.ll60 ; Globals linked from testlink2.
/external/llvm/test/Linker/
Dtestlink.ll72 ; Globals linked from testlink2.
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp70 DenseSet<const GlobalVariable *> &Globals) { in DiscoverDependentGlobals() argument
72 Globals.insert(GV); in DiscoverDependentGlobals()
76 DiscoverDependentGlobals(U->getOperand(i), Globals); in DiscoverDependentGlobals()
890 SmallVector<const GlobalVariable *, 8> Globals; in emitGlobals() local
896 VisitGlobalVariableForEmission(&I, Globals, GVVisited, GVVisiting); in emitGlobals()
903 for (unsigned i = 0, e = Globals.size(); i != e; ++i) in emitGlobals()
904 printModuleLevelGV(Globals[i], OS2); in emitGlobals()
/external/llvm/test/Instrumentation/AddressSanitizer/
Dglobal_metadata.ll6 ; Globals:
/external/llvm/test/Transforms/RewriteStatepointsForGC/
Dconstants.ll24 ; Globals don't move and thus don't get relocated
88 ; Globals don't move and thus don't get relocated
/external/llvm/test/Other/
Dpass-pipelines.ll30 ; CHECK-O2-NEXT: Globals Alias Analysis
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DGlobalOpt.cpp506 Module::GlobalListType &Globals = GV->getParent()->getGlobalList(); in SRAGlobal() local
525 Globals.insert(GV, NGV); in SRAGlobal()
559 Globals.insert(GV, NGV); in SRAGlobal()
621 Globals.erase(GV); in SRAGlobal()
630 Globals.erase(NewGlobals[i]); in SRAGlobal()

12