Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp157 Value *NewSI = Builder->CreateSelect(SI.getCondition(), TI->getOperand(0), in FoldSelectOpOp() local
159 return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI, in FoldSelectOpOp()
202 Value *NewSI = Builder->CreateSelect(SI.getCondition(), OtherOpT, in FoldSelectOpOp() local
207 return BinaryOperator::Create(BO->getOpcode(), MatchOp, NewSI); in FoldSelectOpOp()
209 return BinaryOperator::Create(BO->getOpcode(), NewSI, MatchOp); in FoldSelectOpOp()
712 Value *NewSI = Builder->CreateSelect( in FoldSPFofSPF() local
714 return replaceInstUsesWith(Outer, NewSI); in FoldSPFofSPF()
1124 Value *NewSI = Builder->CreateCast(CastOp, in visitSelectInst() local
1127 return replaceInstUsesWith(SI, NewSI); in visitSelectInst()
1168 Value *NewSI = in visitSelectInst() local
[all …]
DInstCombineLoadStoreAlloca.cpp1387 StoreInst *NewSI = new StoreInst(MergedVal, SI.getOperand(1), in SimplifyStoreAtEndOfBlock() local
1392 InsertNewInstBefore(NewSI, *BBI); in SimplifyStoreAtEndOfBlock()
1393 NewSI->setDebugLoc(OtherStore->getDebugLoc()); in SimplifyStoreAtEndOfBlock()
1400 NewSI->setAAMetadata(AATags); in SimplifyStoreAtEndOfBlock()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSelect.cpp137 Value *NewSI = Builder->CreateSelect(SI.getCondition(), TI->getOperand(0), in FoldSelectOpOp() local
139 return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI, in FoldSelectOpOp()
177 Value *NewSI = Builder->CreateSelect(SI.getCondition(), OtherOpT, in FoldSelectOpOp() local
182 return BinaryOperator::Create(BO->getOpcode(), MatchOp, NewSI); in FoldSelectOpOp()
184 return BinaryOperator::Create(BO->getOpcode(), NewSI, MatchOp); in FoldSelectOpOp()
DInstCombineLoadStoreAlloca.cpp604 StoreInst *NewSI = new StoreInst(MergedVal, SI.getOperand(1), in SimplifyStoreAtEndOfBlock() local
609 InsertNewInstBefore(NewSI, *BBI); in SimplifyStoreAtEndOfBlock()
610 NewSI->setDebugLoc(OtherStore->getDebugLoc()); in SimplifyStoreAtEndOfBlock()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLICM.cpp648 StoreInst *NewSI = new StoreInst(LiveInValue, SomePtr, InsertPos); in doExtraRewritesBeforeFinalDeletion() local
649 NewSI->setAlignment(Alignment); in doExtraRewritesBeforeFinalDeletion()
650 NewSI->setDebugLoc(DL); in doExtraRewritesBeforeFinalDeletion()
/external/llvm/lib/Transforms/Scalar/
DLICM.cpp821 StoreInst *NewSI = new StoreInst(LiveInValue, Ptr, InsertPos); in doExtraRewritesBeforeFinalDeletion() local
822 NewSI->setAlignment(Alignment); in doExtraRewritesBeforeFinalDeletion()
823 NewSI->setDebugLoc(DL); in doExtraRewritesBeforeFinalDeletion()
825 NewSI->setAAMetadata(AATags); in doExtraRewritesBeforeFinalDeletion()
DSROA.cpp2526 StoreInst *NewSI; in visitStoreInst() local
2545 NewSI = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment(), in visitStoreInst()
2549 NewSI = IRB.CreateAlignedStore(V, NewPtr, getSliceAlign(V->getType()), in visitStoreInst()
2553 NewSI->setAtomic(SI.getOrdering(), SI.getSynchScope()); in visitStoreInst()
2557 DEBUG(dbgs() << " to: " << *NewSI << "\n"); in visitStoreInst()
2558 return NewSI->getPointerOperand() == &NewAI && !SI.isVolatile(); in visitStoreInst()
/external/llvm/lib/CodeGen/
DAtomicExpandPass.cpp451 StoreInst *NewSI = Builder.CreateStore(NewVal, NewAddr); in convertAtomicStoreToIntegerType() local
452 NewSI->setAlignment(SI->getAlignment()); in convertAtomicStoreToIntegerType()
453 NewSI->setVolatile(SI->isVolatile()); in convertAtomicStoreToIntegerType()
454 NewSI->setAtomic(SI->getOrdering(), SI->getSynchScope()); in convertAtomicStoreToIntegerType()
455 DEBUG(dbgs() << "Replaced " << *SI << " with " << *NewSI << "\n"); in convertAtomicStoreToIntegerType()
457 return NewSI; in convertAtomicStoreToIntegerType()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyCFG.cpp787 SwitchInst *NewSI = Builder.CreateSwitch(CV, PredDefault, in FoldValueComparisonIntoPredecessors() local
789 NewSI->setDebugLoc(PTI->getDebugLoc()); in FoldValueComparisonIntoPredecessors()
791 NewSI->addCase(PredCases[i].first, PredCases[i].second); in FoldValueComparisonIntoPredecessors()
799 for (unsigned i = 0, e = NewSI->getNumSuccessors(); i != e; ++i) in FoldValueComparisonIntoPredecessors()
800 if (NewSI->getSuccessor(i) == BB) { in FoldValueComparisonIntoPredecessors()
808 NewSI->setSuccessor(i, InfLoopBlock); in FoldValueComparisonIntoPredecessors()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1108 SwitchInst *NewSI = in FoldValueComparisonIntoPredecessors() local
1110 NewSI->setDebugLoc(PTI->getDebugLoc()); in FoldValueComparisonIntoPredecessors()
1112 NewSI->addCase(V.Value, V.Dest); in FoldValueComparisonIntoPredecessors()
1120 NewSI->setMetadata( in FoldValueComparisonIntoPredecessors()
1131 for (unsigned i = 0, e = NewSI->getNumSuccessors(); i != e; ++i) in FoldValueComparisonIntoPredecessors()
1132 if (NewSI->getSuccessor(i) == BB) { in FoldValueComparisonIntoPredecessors()
1140 NewSI->setSuccessor(i, InfLoopBlock); in FoldValueComparisonIntoPredecessors()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2544 Instruction *NewSI = nullptr; in vectorizeMemoryInstruction() local
2547 NewSI = Builder.CreateMaskedScatter(StoredVal[Part], VectorGep[Part], in vectorizeMemoryInstruction()
2571 NewSI = Builder.CreateMaskedStore(StoredVal[Part], VecPtr, Alignment, in vectorizeMemoryInstruction()
2574 NewSI = in vectorizeMemoryInstruction()
2577 addMetadata(NewSI, SI); in vectorizeMemoryInstruction()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp762 StoreInst *NewSI = in materializeStores() local
764 DEBUG(dbgs() << " STORE: " << *NewSI << "\n"); in materializeStores()
765 (void)NewSI; in materializeStores()