/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-10.0/llvm/lib/Transforms/Scalar/ |
D | LICM.cpp | 1813 StoreInst *NewSI = new StoreInst(LiveInValue, Ptr, InsertPos); in doExtraRewritesBeforeFinalDeletion() local 1815 NewSI->setOrdering(AtomicOrdering::Unordered); in doExtraRewritesBeforeFinalDeletion() 1816 NewSI->setAlignment(MaybeAlign(Alignment)); in doExtraRewritesBeforeFinalDeletion() 1817 NewSI->setDebugLoc(DL); in doExtraRewritesBeforeFinalDeletion() 1819 NewSI->setAAMetadata(AATags); in doExtraRewritesBeforeFinalDeletion() 1826 NewSI, nullptr, NewSI->getParent(), MemorySSA::Beginning); in doExtraRewritesBeforeFinalDeletion() 1829 MSSAU->createMemoryAccessAfter(NewSI, nullptr, MSSAInsertPoint); in doExtraRewritesBeforeFinalDeletion()
|
D | SROA.cpp | 2681 StoreInst *NewSI; in visitStoreInst() local 2700 NewSI = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment(), in visitStoreInst() 2705 NewSI = IRB.CreateAlignedStore(V, NewPtr, getSliceAlign(V->getType()), in visitStoreInst() 2708 NewSI->copyMetadata(SI, {LLVMContext::MD_mem_parallel_loop_access, in visitStoreInst() 2711 NewSI->setAAMetadata(AATags); in visitStoreInst() 2713 NewSI->setAtomic(SI.getOrdering(), SI.getSyncScopeID()); in visitStoreInst() 2714 if (NewSI->isAtomic()) in visitStoreInst() 2715 NewSI->setAlignment(SI.getAlign()); in visitStoreInst() 2719 LLVM_DEBUG(dbgs() << " to: " << *NewSI << "\n"); in visitStoreInst() 2720 return NewSI->getPointerOperand() == &NewAI && !SI.isVolatile(); in visitStoreInst()
|
D | SimpleLoopUnswitch.cpp | 693 auto *NewSI = SwitchInst::Create(LoopCond, NewPH, ExitCases.size(), OldPH); in unswitchTrivialSwitch() local 694 SwitchInstProfUpdateWrapper NewSIW(*NewSI); in unswitchTrivialSwitch() 2130 SwitchInst *NewSI = cast<SwitchInst>(NewTI); in unswitchNontrivialInvariants() local 2131 assert(NewSI->getDefaultDest() == RetainedSuccBB && in unswitchNontrivialInvariants() 2133 for (auto &Case : NewSI->cases()) in unswitchNontrivialInvariants()
|
/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-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 329 Value *NewSI = in foldSelectOpOp() local 332 return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI, in foldSelectOpOp() 394 Value *NewSI = Builder.CreateSelect(Cond, OtherOpT, OtherOpF, in foldSelectOpOp() local 396 Value *Op0 = MatchIsOpZero ? MatchOp : NewSI; in foldSelectOpOp() 397 Value *Op1 = MatchIsOpZero ? NewSI : MatchOp; in foldSelectOpOp() 1621 Value *NewSI = in foldSPFofSPF() local 1624 return replaceInstUsesWith(Outer, NewSI); in foldSPFofSPF() 2582 Value *NewSI = Builder.CreateSelect(Cmp, LHS, RHS, SI.getName(), &SI); in visitSelectInst() local 2584 return replaceInstUsesWith(SI, NewSI); in visitSelectInst() 2586 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
|
D | InstCombineLoadStoreAlloca.cpp | 1606 StoreInst *NewSI = new StoreInst(MergedVal, SI.getOperand(1), SI.isVolatile(), in mergeStoreIntoSuccessor() local 1609 InsertNewInstBefore(NewSI, *BBI); in mergeStoreIntoSuccessor() 1610 NewSI->setDebugLoc(MergedLoc); in mergeStoreIntoSuccessor() 1617 NewSI->setAAMetadata(AATags); in mergeStoreIntoSuccessor()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 472 StoreInst *NewSI = Builder.CreateStore(NewVal, NewAddr); in convertAtomicStoreToIntegerType() local 473 NewSI->setAlignment(MaybeAlign(SI->getAlignment())); in convertAtomicStoreToIntegerType() 474 NewSI->setVolatile(SI->isVolatile()); in convertAtomicStoreToIntegerType() 475 NewSI->setAtomic(SI->getOrdering(), SI->getSyncScopeID()); in convertAtomicStoreToIntegerType() 476 LLVM_DEBUG(dbgs() << "Replaced " << *SI << " with " << *NewSI << "\n"); in convertAtomicStoreToIntegerType() 478 return NewSI; in convertAtomicStoreToIntegerType()
|
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 1177 SwitchInst *NewSI = in FoldValueComparisonIntoPredecessors() local 1179 NewSI->setDebugLoc(PTI->getDebugLoc()); in FoldValueComparisonIntoPredecessors() 1181 NewSI->addCase(V.Value, V.Dest); in FoldValueComparisonIntoPredecessors() 1189 setBranchWeights(NewSI, MDWeights); in FoldValueComparisonIntoPredecessors() 1198 for (unsigned i = 0, e = NewSI->getNumSuccessors(); i != e; ++i) in FoldValueComparisonIntoPredecessors() 1199 if (NewSI->getSuccessor(i) == BB) { in FoldValueComparisonIntoPredecessors() 1207 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-10.0/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 2433 Instruction *NewSI = nullptr; in vectorizeMemoryInstruction() local 2438 NewSI = Builder.CreateMaskedScatter(StoredVal, VectorGep, in vectorizeMemoryInstruction() 2450 NewSI = Builder.CreateMaskedStore( in vectorizeMemoryInstruction() 2453 NewSI = in vectorizeMemoryInstruction() 2456 addMetadata(NewSI, SI); in vectorizeMemoryInstruction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 1173 StoreInst *NewSI = in materializeStores() local 1175 LLVM_DEBUG(dbgs() << " STORE: " << *NewSI << "\n"); in materializeStores() 1176 (void)NewSI; in materializeStores()
|