Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp143 Value *NewSI = Builder->CreateSelect(SI.getCondition(), TI->getOperand(0), in FoldSelectOpOp() local
145 return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI, in FoldSelectOpOp()
183 Value *NewSI = Builder->CreateSelect(SI.getCondition(), OtherOpT, in FoldSelectOpOp() local
188 return BinaryOperator::Create(BO->getOpcode(), MatchOp, NewSI); in FoldSelectOpOp()
190 return BinaryOperator::Create(BO->getOpcode(), NewSI, MatchOp); in FoldSelectOpOp()
DInstCombineLoadStoreAlloca.cpp808 StoreInst *NewSI = new StoreInst(MergedVal, SI.getOperand(1), in SimplifyStoreAtEndOfBlock() local
813 InsertNewInstBefore(NewSI, *BBI); in SimplifyStoreAtEndOfBlock()
814 NewSI->setDebugLoc(OtherStore->getDebugLoc()); in SimplifyStoreAtEndOfBlock()
/external/llvm/lib/Transforms/Scalar/
DLICM.cpp696 StoreInst *NewSI = new StoreInst(LiveInValue, SomePtr, InsertPos); in doExtraRewritesBeforeFinalDeletion() local
697 NewSI->setAlignment(Alignment); in doExtraRewritesBeforeFinalDeletion()
698 NewSI->setDebugLoc(DL); in doExtraRewritesBeforeFinalDeletion()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp989 SwitchInst *NewSI = Builder.CreateSwitch(CV, PredDefault, in FoldValueComparisonIntoPredecessors() local
991 NewSI->setDebugLoc(PTI->getDebugLoc()); in FoldValueComparisonIntoPredecessors()
993 NewSI->addCase(PredCases[i].Value, PredCases[i].Dest); in FoldValueComparisonIntoPredecessors()
1001 NewSI->setMetadata(LLVMContext::MD_prof, in FoldValueComparisonIntoPredecessors()
1012 for (unsigned i = 0, e = NewSI->getNumSuccessors(); i != e; ++i) in FoldValueComparisonIntoPredecessors()
1013 if (NewSI->getSuccessor(i) == BB) { in FoldValueComparisonIntoPredecessors()
1021 NewSI->setSuccessor(i, InfLoopBlock); in FoldValueComparisonIntoPredecessors()