Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DGlobalMerge.cpp159 bool doMerge(SmallVectorImpl<GlobalVariable*> &Globals,
164 bool doMerge(const SmallVectorImpl<GlobalVariable *> &Globals,
219 bool GlobalMerge::doMerge(SmallVectorImpl<GlobalVariable*> &Globals, in doMerge() argument
223 std::stable_sort(Globals.begin(), Globals.end(), in doMerge()
231 BitVector AllGlobals(Globals.size()); in doMerge()
233 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge()
256 BitVector Globals; in doMerge() member
259 UsedGlobalSet(size_t Size) : Globals(Size) {} in doMerge()
267 UsedGlobalSets.emplace_back(Globals.size()); in doMerge()
295 for (size_t GI = 0, GE = Globals.size(); GI != GE; ++GI) { in doMerge()
[all …]
/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/swiftshader/third_party/subzero/src/
DIceDefs.h203 Globals.insert(Globals.end(), Other->Globals.begin(), Other->Globals.end()); in merge()
204 Other->Globals.clear(); in merge()
214 assert(Globals.empty()); in clearAndPurge()
223 Globals.clear(); in clearAndPurge()
231 VariableDeclarationArray::iterator begin() { return Globals.begin(); } in begin()
233 VariableDeclarationArray::iterator end() { return Globals.end(); } in end()
236 return Globals.begin(); in begin()
239 VariableDeclarationArray::const_iterator end() const { return Globals.end(); } in end()
241 bool empty() const { return Globals.empty(); } in empty()
243 VariableDeclarationArray::size_type size() const { return Globals.size(); } in size()
[all …]
DIceGlobalContext.cpp365 auto *Revision = VariableDeclaration::create(&Globals, true); in GlobalContext()
370 &Globals, RevisionString, 1 + strlen(RevisionString))); in GlobalContext()
371 Globals.push_back(Revision); in GlobalContext()
487 for (VariableDeclaration *Global : Globals) { in saveBlockInfoPtrs()
502 for (const Ice::VariableDeclaration *Global : Globals) { in lowerGlobals()
515 RandomShuffle(Globals.begin(), Globals.end(), in lowerGlobals()
520 Instrumentor->instrumentGlobals(Globals); in lowerGlobals()
522 DataLowering->lowerGlobals(Globals, SectionSuffix); in lowerGlobals()
524 Globals.clearAndPurge(); in lowerGlobals()
526 Globals.clear(); in lowerGlobals()
[all …]
DIceGlobalContext.h421 return LockedPtr<VariableDeclarationList>(&Globals, &InitAllocLock); in getGlobals()
441 VariableDeclarationList Globals; variable
532 return LockedPtr<VariableDeclarationList>(&Globals, &InitAllocLock); in getInitializerAllocator()
551 LockedPtr<VariableDeclarationList> _(&Globals, &InitAllocLock); in accumulateGlobals()
553 Globals.merge(Globls.get()); in accumulateGlobals()
DIceASanInstrumentation.cpp85 void ASanInstrumentation::instrumentGlobals(VariableDeclarationList &Globals) { in instrumentGlobals() argument
104 for (VariableDeclaration *Global : Globals) { in instrumentGlobals()
196 Globals.clear(); in instrumentGlobals()
197 Globals.merge(&NewGlobals); in instrumentGlobals()
204 for (VariableDeclaration *Global : Globals) { in instrumentGlobals()
DWasmTranslator.cpp1578 unique_ptr<VariableDeclarationList> Globals = in translate() local
1582 auto *WasmMemory = VariableDeclaration::createExternal(Globals.get()); in translate()
1591 Globals.get(), Seg.dest_addr - WritePtr)); in translate()
1597 Globals.get(), reinterpret_cast<const char *>(Module->module_start) + in translate()
1606 auto *GlobalDataSize = VariableDeclaration::createExternal(Globals.get()); in translate()
1609 Globals.get(), reinterpret_cast<const char *>(&WritePtr), in translate()
1613 auto *GlobalNumPages = VariableDeclaration::createExternal(Globals.get()); in translate()
1616 Globals.get(), reinterpret_cast<const char *>(&Module->min_mem_pages), in translate()
1619 Globals->push_back(WasmMemory); in translate()
1620 Globals->push_back(GlobalDataSize); in translate()
[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 …]
/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 …]
/external/swiftshader/third_party/llvm-7.0/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/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/python/cpython3/Tools/c-globals/
DREADME2 # C Globals and CPython Runtime State.
18 Globals that hold module state (i.e. in Modules/*.c) cause problems
22 Globals in the last category should be avoided as well. The problem
/external/perfetto/ui/src/controller/
Dglobals.ts43 class Globals implements App { class
142 export const globals = new Globals();
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp407 ArrayRef<GlobalTypeMember *> Globals);
422 ArrayRef<GlobalTypeMember *> Globals,
759 ArrayRef<Metadata *> TypeIds, ArrayRef<GlobalTypeMember *> Globals) { in buildBitSetsFromGlobalVariables() argument
766 for (GlobalTypeMember *G : Globals) { in buildBitSetsFromGlobalVariables()
796 for (unsigned I = 0; I != Globals.size(); ++I) in buildBitSetsFromGlobalVariables()
798 GlobalLayout[Globals[I]] = CombinedGlobalLayout->getElementOffset(I * 2); in buildBitSetsFromGlobalVariables()
805 for (unsigned I = 0; I != Globals.size(); ++I) { in buildBitSetsFromGlobalVariables()
806 GlobalVariable *GV = cast<GlobalVariable>(Globals[I]->getGlobal()); in buildBitSetsFromGlobalVariables()
1518 ArrayRef<Metadata *> TypeIds, ArrayRef<GlobalTypeMember *> Globals, in buildBitSetsFromDisjointSet() argument
1529 for (GlobalTypeMember *GTM : Globals) { in buildBitSetsFromDisjointSet()
[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()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SCCP/
Dpreserve-analysis.ll7 ; CHECK: Globals Alias Analysis
13 ; CHECK-NOT: Globals Alias Analysis
/external/perfetto/ui/src/frontend/
Dglobals.ts54 class Globals { class
184 export const globals = new Globals();
/external/grpc-grpc/third_party/nanopb/generator/
Dnanopb_generator.py1336 class Globals: class
1349 for namemask, options in Globals.separate_options:
1351 Globals.matched_namemasks.add(namemask)
1370 if Globals.verbose_options:
1441 Globals.separate_options = read_options_file(open(optfilename, "rU"))
1449 Globals.separate_options = []
1451 Globals.matched_namemasks = set()
1495 unmatched = [n for n,o in Globals.separate_options if n not in Globals.matched_namemasks]
1499 if not Globals.verbose_options:
1523 Globals.verbose_options = options.verbose
[all …]
/external/nanopb-c/generator/
Dnanopb_generator.py1437 class Globals: class
1453 for namemask, options in Globals.separate_options:
1455 Globals.matched_namemasks.add(namemask)
1474 if Globals.verbose_options:
1549 Globals.separate_options = read_options_file(open(optfilename, "rU"))
1557 Globals.separate_options = []
1559 Globals.matched_namemasks = set()
1603 unmatched = [n for n,o in Globals.separate_options if n not in Globals.matched_namemasks]
1607 if not Globals.verbose_options:
1634 Globals.verbose_options = options.verbose
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/StripSymbols/
Dstrip-dead-debug-info.ll7 ; CHECK: "Globals"
62 !24 = distinct !DICompileUnit(language: DW_LANG_C89, file: !2, producer: "Globals", isOptimized: tr…
/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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GlobalOpt/
D2010-10-19-WeakOdr.ll3 ; PR8389: Globals with weak_odr linkage type must not be modified

1234