Home | History | Annotate | Download | only in IPO

Lines Matching refs:LoadInst

196       if (const LoadInst *LI = dyn_cast<LoadInst>(I)) {
217 } else if (isa<LoadInst>(StoredVal) &&
218 cast<LoadInst>(StoredVal)->getOperand(0) == GV) {
315 if (LoadInst *LI = dyn_cast<LoadInst>(U)) {
390 if (isa<LoadInst>(I)) return true;
646 if (isa<LoadInst>(U)) {
691 if (const LoadInst *LI = dyn_cast<LoadInst>(U)) {
710 if (LoadInst *LI = dyn_cast<LoadInst>(I)) {
783 if (LoadInst *LI = dyn_cast<LoadInst>(GlobalUser)) {
914 LoadInst *LI = cast<LoadInst>(GV->use_back());
924 Value *LV = new LoadInst(InitBool, InitBool->getName()+".val", ICI);
983 if (isa<LoadInst>(Inst) || isa<CmpInst>(Inst)) {
1060 Value *NL = new LoadInst(GV, GV->getName()+".val", InsertPt);
1127 if (const LoadInst *LI = dyn_cast<LoadInst>(*UI)) {
1156 if (const LoadInst *LI = dyn_cast<LoadInst>(InVal))
1185 if (LoadInst *LI = dyn_cast<LoadInst>(V)) {
1188 Result = new LoadInst(GetHeapSROAValue(LI->getOperand(0), FieldNo,
1278 static void RewriteUsesOfLoadForHeapSRoA(LoadInst *Load,
1377 Value *GVVal = new LoadInst(FieldGlobals[i], "tmp", NullPtrBlock);
1415 if (LoadInst *LI = dyn_cast<LoadInst>(User)) {
1458 else if (LoadInst *LI = dyn_cast<LoadInst>(I->first))
1468 else if (LoadInst *LI = dyn_cast<LoadInst>(I->first))
1626 if (!isa<LoadInst>(U) && !isa<StoreInst>(U))
1670 if (LoadInst *LI = dyn_cast<LoadInst>(StoredVal)) {
1673 StoreVal = new LoadInst(NewGV, LI->getName()+".b", LI);
1678 assert(isa<LoadInst>(StoreVal) && "Not a load of NewGV!");
1684 LoadInst *LI = cast<LoadInst>(UI);
1685 LoadInst *NLI = new LoadInst(NewGV, LI->getName()+".b", LI);
2413 } else if (LoadInstLoadInst>(CurInst)) {