| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| D | LICM.cpp | 1940 StoreInst *NewSI = new StoreInst(LiveInValue, Ptr, InsertPos); in doExtraRewritesBeforeFinalDeletion() local 1942 NewSI->setOrdering(AtomicOrdering::Unordered); in doExtraRewritesBeforeFinalDeletion() 1943 NewSI->setAlignment(Align(Alignment)); in doExtraRewritesBeforeFinalDeletion() 1944 NewSI->setDebugLoc(DL); in doExtraRewritesBeforeFinalDeletion() 1946 NewSI->setAAMetadata(AATags); in doExtraRewritesBeforeFinalDeletion() 1953 NewSI, nullptr, NewSI->getParent(), MemorySSA::Beginning); in doExtraRewritesBeforeFinalDeletion() 1956 MSSAU->createMemoryAccessAfter(NewSI, nullptr, MSSAInsertPoint); in doExtraRewritesBeforeFinalDeletion()
|
| D | SROA.cpp | 2707 StoreInst *NewSI; in visitStoreInst() local 2726 NewSI = in visitStoreInst() 2731 NewSI = in visitStoreInst() 2734 NewSI->copyMetadata(SI, {LLVMContext::MD_mem_parallel_loop_access, in visitStoreInst() 2737 NewSI->setAAMetadata(AATags.shift(NewBeginOffset - BeginOffset)); in visitStoreInst() 2739 NewSI->setAtomic(SI.getOrdering(), SI.getSyncScopeID()); in visitStoreInst() 2740 if (NewSI->isAtomic()) in visitStoreInst() 2741 NewSI->setAlignment(SI.getAlign()); in visitStoreInst() 2745 LLVM_DEBUG(dbgs() << " to: " << *NewSI << "\n"); in visitStoreInst() 2746 return NewSI->getPointerOperand() == &NewAI && !SI.isVolatile(); in visitStoreInst()
|
| D | SimpleLoopUnswitch.cpp | 774 auto *NewSI = SwitchInst::Create(LoopCond, NewPH, ExitCases.size(), OldPH); in unswitchTrivialSwitch() local 775 SwitchInstProfUpdateWrapper NewSIW(*NewSI); in unswitchTrivialSwitch() 2261 SwitchInst *NewSI = cast<SwitchInst>(NewTI); in unswitchNontrivialInvariants() local 2262 assert(NewSI->getDefaultDest() == RetainedSuccBB && in unswitchNontrivialInvariants() 2264 for (auto &Case : NewSI->cases()) in unswitchNontrivialInvariants()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineSelect.cpp | 311 Value *NewSI = in foldSelectOpOp() local 314 return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI, in foldSelectOpOp() 401 Value *NewSI = Builder.CreateSelect(Cond, OtherOpT, OtherOpF, in foldSelectOpOp() local 403 Value *Op0 = MatchIsOpZero ? MatchOp : NewSI; in foldSelectOpOp() 404 Value *Op1 = MatchIsOpZero ? NewSI : MatchOp; in foldSelectOpOp() 1662 Value *NewSI = in foldSPFofSPF() local 1665 return replaceInstUsesWith(Outer, NewSI); in foldSPFofSPF() 2948 Value *NewSI = in visitSelectInst() local 2950 return GetElementPtrInst::Create(ElementType, Ptr, {NewSI}); in visitSelectInst() 3007 Value *NewSI = Builder.CreateSelect(Cmp, LHS, RHS, SI.getName(), &SI); in visitSelectInst() local [all …]
|
| D | InstCombineLoadStoreAlloca.cpp | 1565 StoreInst *NewSI = in mergeStoreIntoSuccessor() local 1568 InsertNewInstBefore(NewSI, *BBI); in mergeStoreIntoSuccessor() 1569 NewSI->setDebugLoc(MergedLoc); in mergeStoreIntoSuccessor() 1576 NewSI->setAAMetadata(AATags); in mergeStoreIntoSuccessor()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
| D | AtomicExpandPass.cpp | 479 StoreInst *NewSI = Builder.CreateStore(NewVal, NewAddr); in convertAtomicStoreToIntegerType() local 480 NewSI->setAlignment(SI->getAlign()); in convertAtomicStoreToIntegerType() 481 NewSI->setVolatile(SI->isVolatile()); in convertAtomicStoreToIntegerType() 482 NewSI->setAtomic(SI->getOrdering(), SI->getSyncScopeID()); in convertAtomicStoreToIntegerType() 483 LLVM_DEBUG(dbgs() << "Replaced " << *SI << " with " << *NewSI << "\n"); in convertAtomicStoreToIntegerType() 485 return NewSI; in convertAtomicStoreToIntegerType()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| D | SimplifyCFG.cpp | 1288 SwitchInst *NewSI = Builder.CreateSwitch(CV, PredDefault, PredCases.size()); in PerformValueComparisonIntoPredecessorFolding() local 1289 NewSI->setDebugLoc(PTI->getDebugLoc()); in PerformValueComparisonIntoPredecessorFolding() 1291 NewSI->addCase(V.Value, V.Dest); in PerformValueComparisonIntoPredecessorFolding() 1299 setBranchWeights(NewSI, MDWeights); in PerformValueComparisonIntoPredecessorFolding() 1308 for (unsigned i = 0, e = NewSI->getNumSuccessors(); i != e; ++i) in PerformValueComparisonIntoPredecessorFolding() 1309 if (NewSI->getSuccessor(i) == BB) { in PerformValueComparisonIntoPredecessorFolding() 1320 NewSI->setSuccessor(i, InfLoopBlock); in PerformValueComparisonIntoPredecessorFolding()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| D | MemorySanitizer.cpp | 1209 StoreInst *NewSI = IRB.CreateAlignedStore(Shadow, ShadowPtr, Alignment); in materializeStores() local 1210 LLVM_DEBUG(dbgs() << " STORE: " << *NewSI << "\n"); in materializeStores() 1211 (void)NewSI; in materializeStores()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| D | LoopVectorize.cpp | 2971 Instruction *NewSI = nullptr; in vectorizeMemoryInstruction() local 2976 NewSI = Builder.CreateMaskedScatter(StoredVal, VectorGep, Alignment, in vectorizeMemoryInstruction() 2988 NewSI = Builder.CreateMaskedStore(StoredVal, VecPtr, Alignment, in vectorizeMemoryInstruction() 2991 NewSI = Builder.CreateAlignedStore(StoredVal, VecPtr, Alignment); in vectorizeMemoryInstruction() 2993 addMetadata(NewSI, SI); in vectorizeMemoryInstruction()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
| D | SemaTemplateInstantiateDecl.cpp | 5003 TypeSourceInfo *NewSI = IR.TransformType(Function->getTypeSourceInfo()); in InstantiateFunctionDefinition() local 5004 Function->setType(NewSI->getType()); in InstantiateFunctionDefinition() 5005 Function->setTypeSourceInfo(NewSI); in InstantiateFunctionDefinition()
|