Lines Matching refs:LoadInst
214 if (const LoadInst *LI = dyn_cast<LoadInst>(I)) {
246 } else if (isa<LoadInst>(StoredVal) &&
247 cast<LoadInst>(StoredVal)->getOperand(0) == GV) {
360 if (isa<LoadInst>(V) || isa<InvokeInst>(V) || isa<Argument>(V) ||
478 if (LoadInst *LI = dyn_cast<LoadInst>(U)) {
558 if (isa<LoadInst>(I)) return true;
812 if (isa<LoadInst>(U)) {
857 if (const LoadInst *LI = dyn_cast<LoadInst>(U)) {
876 if (LoadInst *LI = dyn_cast<LoadInst>(I)) {
951 if (LoadInst *LI = dyn_cast<LoadInst>(GlobalUser)) {
1092 LoadInst *LI = cast<LoadInst>(GV->use_back());
1103 Value *LV = new LoadInst(InitBool, InitBool->getName()+".val", false, 0,
1164 if (isa<LoadInst>(Inst) || isa<CmpInst>(Inst)) {
1241 Value *NL = new LoadInst(GV, GV->getName()+".val", InsertPt);
1308 if (const LoadInst *LI = dyn_cast<LoadInst>(*UI)) {
1337 if (const LoadInst *LI = dyn_cast<LoadInst>(InVal))
1366 if (LoadInst *LI = dyn_cast<LoadInst>(V)) {
1369 Result = new LoadInst(GetHeapSROAValue(LI->getOperand(0), FieldNo,
1458 static void RewriteUsesOfLoadForHeapSRoA(LoadInst *Load,
1558 Value *GVVal = new LoadInst(FieldGlobals[i], "tmp", NullPtrBlock);
1596 if (LoadInst *LI = dyn_cast<LoadInst>(User)) {
1639 else if (LoadInst *LI = dyn_cast<LoadInst>(I->first))
1649 else if (LoadInst *LI = dyn_cast<LoadInst>(I->first))
1817 if (!isa<LoadInst>(U) && !isa<StoreInst>(U))
1862 if (LoadInst *LI = dyn_cast<LoadInst>(StoredVal)) {
1865 StoreVal = new LoadInst(NewGV, LI->getName()+".b", false, 0,
1871 assert(isa<LoadInst>(StoreVal) && "Not a load of NewGV!");
1878 LoadInst *LI = cast<LoadInst>(UI);
1879 LoadInst *NLI = new LoadInst(NewGV, LI->getName()+".b", false, 0,
2701 } else if (LoadInst *LI = dyn_cast<LoadInst>(CurInst)) {