/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 141 Value *NewSI = Builder->CreateSelect(SI.getCondition(), TI->getOperand(0), in FoldSelectOpOp() local 143 return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI, in FoldSelectOpOp() 181 Value *NewSI = Builder->CreateSelect(SI.getCondition(), OtherOpT, in FoldSelectOpOp() local 186 return BinaryOperator::Create(BO->getOpcode(), MatchOp, NewSI); in FoldSelectOpOp() 188 return BinaryOperator::Create(BO->getOpcode(), NewSI, MatchOp); in FoldSelectOpOp() 698 Value *NewSI = Builder->CreateSelect( in FoldSPFofSPF() local 700 return ReplaceInstUsesWith(Outer, NewSI); in FoldSPFofSPF() 1089 Value *NewSI = Builder->CreateCast(CastOp, in visitSelectInst() local 1092 return ReplaceInstUsesWith(SI, NewSI); in visitSelectInst() 1133 Value *NewSI = in visitSelectInst() local [all …]
|
D | InstCombineLoadStoreAlloca.cpp | 1251 StoreInst *NewSI = new StoreInst(MergedVal, SI.getOperand(1), in SimplifyStoreAtEndOfBlock() local 1256 InsertNewInstBefore(NewSI, *BBI); in SimplifyStoreAtEndOfBlock() 1257 NewSI->setDebugLoc(OtherStore->getDebugLoc()); in SimplifyStoreAtEndOfBlock() 1264 NewSI->setAAMetadata(AATags); in SimplifyStoreAtEndOfBlock()
|
/external/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 305 StoreInst *NewSI = Builder.CreateStore(NewVal, NewAddr); in convertAtomicStoreToIntegerType() local 306 NewSI->setAlignment(SI->getAlignment()); in convertAtomicStoreToIntegerType() 307 NewSI->setVolatile(SI->isVolatile()); in convertAtomicStoreToIntegerType() 308 NewSI->setAtomic(SI->getOrdering(), SI->getSynchScope()); in convertAtomicStoreToIntegerType() 309 DEBUG(dbgs() << "Replaced " << *SI << " with " << *NewSI << "\n"); in convertAtomicStoreToIntegerType() 311 return NewSI; in convertAtomicStoreToIntegerType()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LICM.cpp | 801 StoreInst *NewSI = new StoreInst(LiveInValue, Ptr, InsertPos); in doExtraRewritesBeforeFinalDeletion() local 802 NewSI->setAlignment(Alignment); in doExtraRewritesBeforeFinalDeletion() 803 NewSI->setDebugLoc(DL); in doExtraRewritesBeforeFinalDeletion() 804 if (AATags) NewSI->setAAMetadata(AATags); in doExtraRewritesBeforeFinalDeletion()
|
D | SROA.cpp | 2542 StoreInst *NewSI; in visitStoreInst() local 2561 NewSI = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment(), in visitStoreInst() 2565 NewSI = IRB.CreateAlignedStore(V, NewPtr, getSliceAlign(V->getType()), in visitStoreInst() 2569 NewSI->setAtomic(SI.getOrdering(), SI.getSynchScope()); in visitStoreInst() 2573 DEBUG(dbgs() << " to: " << *NewSI << "\n"); in visitStoreInst() 2574 return NewSI->getPointerOperand() == &NewAI && !SI.isVolatile(); in visitStoreInst()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 1012 SwitchInst *NewSI = Builder.CreateSwitch(CV, PredDefault, in FoldValueComparisonIntoPredecessors() local 1014 NewSI->setDebugLoc(PTI->getDebugLoc()); in FoldValueComparisonIntoPredecessors() 1016 NewSI->addCase(V.Value, V.Dest); in FoldValueComparisonIntoPredecessors() 1024 NewSI->setMetadata(LLVMContext::MD_prof, in FoldValueComparisonIntoPredecessors() 1035 for (unsigned i = 0, e = NewSI->getNumSuccessors(); i != e; ++i) in FoldValueComparisonIntoPredecessors() 1036 if (NewSI->getSuccessor(i) == BB) { in FoldValueComparisonIntoPredecessors() 1044 NewSI->setSuccessor(i, InfLoopBlock); in FoldValueComparisonIntoPredecessors()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 743 StoreInst *NewSI = in materializeStores() local 745 DEBUG(dbgs() << " STORE: " << *NewSI << "\n"); in materializeStores() 746 (void)NewSI; in materializeStores()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 2476 Instruction *NewSI; in vectorizeMemoryInstruction() local 2478 NewSI = Builder.CreateMaskedStore(StoredVal[Part], VecPtr, Alignment, in vectorizeMemoryInstruction() 2481 NewSI = Builder.CreateAlignedStore(StoredVal[Part], VecPtr, Alignment); in vectorizeMemoryInstruction() 2482 propagateMetadata(NewSI, SI); in vectorizeMemoryInstruction()
|