/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-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 301 Value *NewSI = in foldSelectOpOp() local 304 return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI, in foldSelectOpOp() 347 Value *NewSI = Builder.CreateSelect(SI.getCondition(), OtherOpT, OtherOpF, in foldSelectOpOp() local 349 Value *Op0 = MatchIsOpZero ? MatchOp : NewSI; in foldSelectOpOp() 350 Value *Op1 = MatchIsOpZero ? NewSI : MatchOp; in foldSelectOpOp() 1103 Value *NewSI = in foldSPFofSPF() local 1106 return replaceInstUsesWith(Outer, NewSI); in foldSPFofSPF() 1791 Value *NewSI = Builder.CreateSelect(Cmp, LHS, RHS, SI.getName(), &SI); in visitSelectInst() local 1793 return replaceInstUsesWith(SI, NewSI); in visitSelectInst() 1795 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
|
D | InstCombineLoadStoreAlloca.cpp | 1631 StoreInst *NewSI = new StoreInst(MergedVal, SI.getOperand(1), in SimplifyStoreAtEndOfBlock() local 1636 InsertNewInstBefore(NewSI, *BBI); in SimplifyStoreAtEndOfBlock() 1638 NewSI->applyMergedLocation(SI.getDebugLoc(), OtherStore->getDebugLoc()); in SimplifyStoreAtEndOfBlock() 1645 NewSI->setAAMetadata(AATags); 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LICM.cpp | 1165 StoreInst *NewSI = new StoreInst(LiveInValue, Ptr, InsertPos); in doExtraRewritesBeforeFinalDeletion() local 1167 NewSI->setOrdering(AtomicOrdering::Unordered); in doExtraRewritesBeforeFinalDeletion() 1168 NewSI->setAlignment(Alignment); in doExtraRewritesBeforeFinalDeletion() 1169 NewSI->setDebugLoc(DL); in doExtraRewritesBeforeFinalDeletion() 1171 NewSI->setAAMetadata(AATags); in doExtraRewritesBeforeFinalDeletion()
|
D | SimpleLoopUnswitch.cpp | 610 auto *NewSI = SwitchInst::Create(LoopCond, NewPH, ExitCases.size(), OldPH); in unswitchTrivialSwitch() local 669 NewSI->addCase(CaseVal, UnswitchedBB); in unswitchTrivialSwitch() 675 NewSI->setDefaultDest(DefaultExitBB); in unswitchTrivialSwitch() 680 NewSI->addCase(Case.getCaseValue(), NewPH); in unswitchTrivialSwitch()
|
D | SROA.cpp | 2638 StoreInst *NewSI; in visitStoreInst() local 2657 NewSI = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment(), in visitStoreInst() 2662 NewSI = IRB.CreateAlignedStore(V, NewPtr, getSliceAlign(V->getType()), in visitStoreInst() 2665 NewSI->copyMetadata(SI, LLVMContext::MD_mem_parallel_loop_access); in visitStoreInst() 2667 NewSI->setAAMetadata(AATags); in visitStoreInst() 2669 NewSI->setAtomic(SI.getOrdering(), SI.getSyncScopeID()); in visitStoreInst() 2673 LLVM_DEBUG(dbgs() << " to: " << *NewSI << "\n"); in visitStoreInst() 2674 return NewSI->getPointerOperand() == &NewAI && !SI.isVolatile(); in visitStoreInst()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 461 StoreInst *NewSI = Builder.CreateStore(NewVal, NewAddr); in convertAtomicStoreToIntegerType() local 462 NewSI->setAlignment(SI->getAlignment()); in convertAtomicStoreToIntegerType() 463 NewSI->setVolatile(SI->isVolatile()); in convertAtomicStoreToIntegerType() 464 NewSI->setAtomic(SI->getOrdering(), SI->getSyncScopeID()); in convertAtomicStoreToIntegerType() 465 LLVM_DEBUG(dbgs() << "Replaced " << *SI << " with " << *NewSI << "\n"); in convertAtomicStoreToIntegerType() 467 return NewSI; in convertAtomicStoreToIntegerType()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 1179 SwitchInst *NewSI = in FoldValueComparisonIntoPredecessors() local 1181 NewSI->setDebugLoc(PTI->getDebugLoc()); in FoldValueComparisonIntoPredecessors() 1183 NewSI->addCase(V.Value, V.Dest); in FoldValueComparisonIntoPredecessors() 1191 setBranchWeights(NewSI, MDWeights); in FoldValueComparisonIntoPredecessors() 1200 for (unsigned i = 0, e = NewSI->getNumSuccessors(); i != e; ++i) in FoldValueComparisonIntoPredecessors() 1201 if (NewSI->getSuccessor(i) == BB) { in FoldValueComparisonIntoPredecessors() 1209 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 2467 Instruction *NewSI = nullptr; in vectorizeMemoryInstruction() local 2472 NewSI = Builder.CreateMaskedScatter(StoredVal, VectorGep, Alignment, in vectorizeMemoryInstruction() 2484 NewSI = Builder.CreateMaskedStore(StoredVal, VecPtr, Alignment, in vectorizeMemoryInstruction() 2487 NewSI = Builder.CreateAlignedStore(StoredVal, VecPtr, Alignment); in vectorizeMemoryInstruction() 2489 addMetadata(NewSI, SI); in vectorizeMemoryInstruction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 918 StoreInst *NewSI = IRB.CreateAlignedStore(Shadow, ShadowPtr, Alignment); in materializeStores() local 919 LLVM_DEBUG(dbgs() << " STORE: " << *NewSI << "\n"); in materializeStores() 920 (void)NewSI; in materializeStores()
|