Searched refs:NewGlobals (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/third_party/subzero/src/ |
D | IceASanInstrumentation.cpp | 89 VariableDeclarationList NewGlobals; in instrumentGlobals() local 91 auto *RzArray = VariableDeclaration::create(&NewGlobals); in instrumentGlobals() 93 auto *RzSizes = VariableDeclaration::create(&NewGlobals); in instrumentGlobals() 99 NewGlobals.push_back(RzArray); in instrumentGlobals() 100 NewGlobals.push_back(RzSizes); in instrumentGlobals() 106 VariableDeclaration *RzLeft = VariableDeclaration::create(&NewGlobals); in instrumentGlobals() 108 VariableDeclaration *RzRight = VariableDeclaration::create(&NewGlobals); in instrumentGlobals() 117 &NewGlobals, RzLeftSize)); in instrumentGlobals() 119 &NewGlobals, RzRightSize)); in instrumentGlobals() 122 &NewGlobals, llvm::NaClBitcodeRecord::RecordVector(RzLeftSize, 'R'))); in instrumentGlobals() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 442 std::vector<GlobalVariable*> NewGlobals; in SRAGlobal() local 451 NewGlobals.reserve(STy->getNumElements()); in SRAGlobal() 464 NewGlobals.push_back(NGV); in SRAGlobal() 483 NewGlobals.reserve(NumElements); in SRAGlobal() 499 NewGlobals.push_back(NGV); in SRAGlobal() 510 if (NewGlobals.empty()) in SRAGlobal() 529 if (Val >= NewGlobals.size()) Val = 0; // Out of bound array access. in SRAGlobal() 531 Value *NewPtr = NewGlobals[Val]; in SRAGlobal() 532 Type *NewTy = NewGlobals[Val]->getValueType(); in SRAGlobal() 569 for (unsigned i = 0, e = NewGlobals.size(); i != e; ++i) in SRAGlobal() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 470 std::vector<GlobalVariable *> NewGlobals; in SRAGlobal() local 480 NewGlobals.reserve(NumElements); in SRAGlobal() 493 NewGlobals.push_back(NGV); in SRAGlobal() 512 NewGlobals.reserve(NumElements); in SRAGlobal() 529 NewGlobals.push_back(NGV); in SRAGlobal() 542 if (NewGlobals.empty()) in SRAGlobal() 561 if (Val >= NewGlobals.size()) Val = 0; // Out of bound array access. in SRAGlobal() 563 Value *NewPtr = NewGlobals[Val]; in SRAGlobal() 564 Type *NewTy = NewGlobals[Val]->getValueType(); in SRAGlobal() 601 for (unsigned i = 0, e = NewGlobals.size(); i != e; ++i) in SRAGlobal() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 505 std::vector<GlobalVariable*> NewGlobals; in SRAGlobal() local 514 NewGlobals.reserve(STy->getNumElements()); in SRAGlobal() 526 NewGlobals.push_back(NGV); in SRAGlobal() 545 NewGlobals.reserve(NumElements); in SRAGlobal() 560 NewGlobals.push_back(NGV); in SRAGlobal() 571 if (NewGlobals.empty()) in SRAGlobal() 590 if (Val >= NewGlobals.size()) Val = 0; // Out of bound array access. in SRAGlobal() 592 Value *NewPtr = NewGlobals[Val]; in SRAGlobal() 628 for (unsigned i = 0, e = NewGlobals.size(); i != e; ++i) in SRAGlobal() 629 if (NewGlobals[i]->use_empty()) { in SRAGlobal() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 2077 SmallVector<GlobalVariable *, 16> NewGlobals(n); in InstrumentGlobals() local 2149 NewGlobals[i] = NewGlobal; in InstrumentGlobals() 2208 GlobalVariable *G = NewGlobals[i]; in InstrumentGlobals() 2219 InstrumentGlobalsELF(IRB, M, NewGlobals, Initializers, ELFUniqueModuleId); in InstrumentGlobals() 2222 InstrumentGlobalsCOFF(IRB, M, NewGlobals, Initializers); in InstrumentGlobals() 2224 InstrumentGlobalsMachO(IRB, M, NewGlobals, Initializers); in InstrumentGlobals() 2226 InstrumentGlobalsWithMetadataArray(IRB, M, NewGlobals, Initializers); in InstrumentGlobals()
|