Home
last modified time | relevance | path

Searched refs:NewSI (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp168 Value *NewSI = Builder->CreateSelect(SI.getCondition(), TI->getOperand(0), in FoldSelectOpOp() local
170 return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI, in FoldSelectOpOp()
208 Value *NewSI = Builder->CreateSelect(SI.getCondition(), OtherOpT, in FoldSelectOpOp() local
213 return BinaryOperator::Create(BO->getOpcode(), MatchOp, NewSI); in FoldSelectOpOp()
215 return BinaryOperator::Create(BO->getOpcode(), NewSI, MatchOp); in FoldSelectOpOp()
741 Value *NewSI = Builder->CreateSelect( in FoldSPFofSPF() local
743 return ReplaceInstUsesWith(Outer, NewSI); in FoldSPFofSPF()
DInstCombineLoadStoreAlloca.cpp832 StoreInst *NewSI = new StoreInst(MergedVal, SI.getOperand(1), in SimplifyStoreAtEndOfBlock() local
837 InsertNewInstBefore(NewSI, *BBI); in SimplifyStoreAtEndOfBlock()
838 NewSI->setDebugLoc(OtherStore->getDebugLoc()); in SimplifyStoreAtEndOfBlock()
844 NewSI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in SimplifyStoreAtEndOfBlock()
/external/llvm/lib/Transforms/Scalar/
DLICM.cpp743 StoreInst *NewSI = new StoreInst(LiveInValue, Ptr, InsertPos); in doExtraRewritesBeforeFinalDeletion() local
744 NewSI->setAlignment(Alignment); in doExtraRewritesBeforeFinalDeletion()
745 NewSI->setDebugLoc(DL); in doExtraRewritesBeforeFinalDeletion()
746 if (TBAATag) NewSI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in doExtraRewritesBeforeFinalDeletion()
DSROA.cpp2334 StoreInst *NewSI; in visitStoreInst() local
2339 NewSI = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment(), in visitStoreInst()
2343 NewSI = IRB.CreateAlignedStore(V, NewPtr, getSliceAlign(V->getType()), in visitStoreInst()
2346 (void)NewSI; in visitStoreInst()
2350 DEBUG(dbgs() << " to: " << *NewSI << "\n"); in visitStoreInst()
2351 return NewSI->getPointerOperand() == &NewAI && !SI.isVolatile(); in visitStoreInst()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp937 SwitchInst *NewSI = Builder.CreateSwitch(CV, PredDefault, in FoldValueComparisonIntoPredecessors() local
939 NewSI->setDebugLoc(PTI->getDebugLoc()); in FoldValueComparisonIntoPredecessors()
941 NewSI->addCase(PredCases[i].Value, PredCases[i].Dest); in FoldValueComparisonIntoPredecessors()
949 NewSI->setMetadata(LLVMContext::MD_prof, in FoldValueComparisonIntoPredecessors()
960 for (unsigned i = 0, e = NewSI->getNumSuccessors(); i != e; ++i) in FoldValueComparisonIntoPredecessors()
961 if (NewSI->getSuccessor(i) == BB) { in FoldValueComparisonIntoPredecessors()
969 NewSI->setSuccessor(i, InfLoopBlock); in FoldValueComparisonIntoPredecessors()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp595 StoreInst *NewSI = in materializeStores() local
597 DEBUG(dbgs() << " STORE: " << *NewSI << "\n"); in materializeStores()
598 (void)NewSI; in materializeStores()