Searched refs:NewGlobals (Results 1 – 3 of 3) sorted by relevance
89 VariableDeclarationList NewGlobals; in instrumentGlobals() local91 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 …]
442 std::vector<GlobalVariable*> NewGlobals; in SRAGlobal() local451 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 …]
505 std::vector<GlobalVariable*> NewGlobals; in SRAGlobal() local514 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 …]