/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 157 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 …]
|
D | InstCombineLoadStoreAlloca.cpp | 1387 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/ |
D | InstCombineSelect.cpp | 137 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()
|
D | InstCombineLoadStoreAlloca.cpp | 604 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/ |
D | LICM.cpp | 648 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/ |
D | LICM.cpp | 821 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()
|
D | SROA.cpp | 2526 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/ |
D | AtomicExpandPass.cpp | 451 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/ |
D | SimplifyCFG.cpp | 787 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/ |
D | SimplifyCFG.cpp | 1108 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/ |
D | LoopVectorize.cpp | 2544 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/ |
D | MemorySanitizer.cpp | 762 StoreInst *NewSI = in materializeStores() local 764 DEBUG(dbgs() << " STORE: " << *NewSI << "\n"); in materializeStores() 765 (void)NewSI; in materializeStores()
|