Home
last modified time | relevance | path

Searched refs:NewSI (Results 1 – 10 of 10) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DLICM.cpp1940 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()
DSROA.cpp2707 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()
DSimpleLoopUnswitch.cpp774 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/
DInstCombineSelect.cpp311 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 …]
DInstCombineLoadStoreAlloca.cpp1565 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/
DAtomicExpandPass.cpp479 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/
DSimplifyCFG.cpp1288 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/
DMemorySanitizer.cpp1209 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/
DLoopVectorize.cpp2971 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/
DSemaTemplateInstantiateDecl.cpp5003 TypeSourceInfo *NewSI = IR.TransformType(Function->getTypeSourceInfo()); in InstantiateFunctionDefinition() local
5004 Function->setType(NewSI->getType()); in InstantiateFunctionDefinition()
5005 Function->setTypeSourceInfo(NewSI); in InstantiateFunctionDefinition()