Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DLICM.cpp700 StoreInst *NewSI = new StoreInst(LiveInValue, SomePtr, InsertPos); in doExtraRewritesBeforeFinalDeletion() local
701 NewSI->setAlignment(Alignment); in doExtraRewritesBeforeFinalDeletion()
702 NewSI->setDebugLoc(DL); in doExtraRewritesBeforeFinalDeletion()
703 if (TBAATag) NewSI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in doExtraRewritesBeforeFinalDeletion()
DSROA.cpp2179 StoreInst *NewSI; in visitStoreInst() local
2184 NewSI = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment(), in visitStoreInst()
2189 NewSI = IRB.CreateAlignedStore( in visitStoreInst()
2194 (void)NewSI; in visitStoreInst()
2198 DEBUG(dbgs() << " to: " << *NewSI << "\n"); in visitStoreInst()
2199 return NewSI->getPointerOperand() == &NewAI && !SI.isVolatile(); in visitStoreInst()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp797 StoreInst *NewSI = new StoreInst(MergedVal, SI.getOperand(1), in SimplifyStoreAtEndOfBlock() local
802 InsertNewInstBefore(NewSI, *BBI); in SimplifyStoreAtEndOfBlock()
803 NewSI->setDebugLoc(OtherStore->getDebugLoc()); in SimplifyStoreAtEndOfBlock()
809 NewSI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in SimplifyStoreAtEndOfBlock()
DInstCombineSelect.cpp144 Value *NewSI = Builder->CreateSelect(SI.getCondition(), TI->getOperand(0), in FoldSelectOpOp() local
146 return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI, in FoldSelectOpOp()
184 Value *NewSI = Builder->CreateSelect(SI.getCondition(), OtherOpT, in FoldSelectOpOp() local
189 return BinaryOperator::Create(BO->getOpcode(), MatchOp, NewSI); in FoldSelectOpOp()
191 return BinaryOperator::Create(BO->getOpcode(), NewSI, MatchOp); in FoldSelectOpOp()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp932 SwitchInst *NewSI = Builder.CreateSwitch(CV, PredDefault, in FoldValueComparisonIntoPredecessors() local
934 NewSI->setDebugLoc(PTI->getDebugLoc()); in FoldValueComparisonIntoPredecessors()
936 NewSI->addCase(PredCases[i].Value, PredCases[i].Dest); in FoldValueComparisonIntoPredecessors()
944 NewSI->setMetadata(LLVMContext::MD_prof, in FoldValueComparisonIntoPredecessors()
955 for (unsigned i = 0, e = NewSI->getNumSuccessors(); i != e; ++i) in FoldValueComparisonIntoPredecessors()
956 if (NewSI->getSuccessor(i) == BB) { in FoldValueComparisonIntoPredecessors()
964 NewSI->setSuccessor(i, InfLoopBlock); in FoldValueComparisonIntoPredecessors()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp468 StoreInst *NewSI = in materializeStores() local
470 DEBUG(dbgs() << " STORE: " << *NewSI << "\n"); in materializeStores()
471 (void)NewSI; in materializeStores()