/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 403 auto *NewSI = SelectInst::Create(SI->getCondition(), TrueValue, FalseValue, in replace() local 405 IC.InsertNewInstWith(NewSI, SI->getIterator()); in replace() 406 NewSI->takeName(SI); in replace() 407 WorkMap[SI] = NewSI; in replace() 1592 StoreInst *NewSI = in mergeStoreIntoSuccessor() local 1595 InsertNewInstBefore(NewSI, BBI); in mergeStoreIntoSuccessor() 1596 NewSI->setDebugLoc(MergedLoc); in mergeStoreIntoSuccessor() 1597 NewSI->mergeDIAssignID({&SI, OtherStore}); in mergeStoreIntoSuccessor() 1602 NewSI->setAAMetadata(AATags.merge(OtherStore->getAAMetadata())); in mergeStoreIntoSuccessor()
|
H A D | InstCombineSelect.cpp | 318 Value *NewSI = in foldSelectOpOp() local 321 return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI, in foldSelectOpOp() 482 Value *NewSI = Builder.CreateSelect(Cond, OtherOpT, OtherOpF, in foldSelectOpOp() local 484 Value *Op0 = MatchIsOpZero ? MatchOp : NewSI; in foldSelectOpOp() 485 Value *Op1 = MatchIsOpZero ? NewSI : MatchOp; in foldSelectOpOp() 3775 Value *NewSI = in visitSelectInst() local 3777 return GetElementPtrInst::Create(ElementType, Ptr, NewSI, in visitSelectInst() 3833 Value *NewSI = Builder.CreateSelect(Cmp, LHS, RHS, SI.getName(), &SI); in visitSelectInst() local 3835 return replaceInstUsesWith(SI, NewSI); in visitSelectInst() 3837 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
|
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
H A D | SandboxIR.cpp | 463 if (auto *NewSI = dyn_cast<llvm::SelectInst>(NewV)) in createCommon() local 464 return Ctx.createSelectInst(NewSI); in createCommon() 550 auto *NewSI = in create() local 552 auto *NewSBI = Ctx.createStoreInst(NewSI); in create() 560 auto *NewSI = in create() local 562 auto *NewSBI = Ctx.createStoreInst(NewSI); in create()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LICM.cpp | 1873 StoreInst *NewSI = new StoreInst(LiveInValue, Ptr, InsertPos); in insertStoresInLoopExitBlocks() local 1875 NewSI->setOrdering(AtomicOrdering::Unordered); in insertStoresInLoopExitBlocks() 1876 NewSI->setAlignment(Alignment); in insertStoresInLoopExitBlocks() 1877 NewSI->setDebugLoc(DL); in insertStoresInLoopExitBlocks() 1884 NewSI->mergeDIAssignID(Uses); in insertStoresInLoopExitBlocks() 1886 NewSI->getMetadata(LLVMContext::MD_DIAssignID)); in insertStoresInLoopExitBlocks() 1890 NewSI->setMetadata(LLVMContext::MD_DIAssignID, NewID); in insertStoresInLoopExitBlocks() 1894 NewSI->setAAMetadata(AATags); in insertStoresInLoopExitBlocks() 1900 NewSI, nullptr, NewSI->getParent(), MemorySSA::Beginning); in insertStoresInLoopExitBlocks() 1903 MSSAU.createMemoryAccessAfter(NewSI, nullptr, MSSAInsertPoint); in insertStoresInLoopExitBlocks()
|
H A D | SROA.cpp | 3065 StoreInst *NewSI; in visitStoreInst() local 3073 NewSI = in visitStoreInst() 3078 NewSI = in visitStoreInst() 3081 NewSI->copyMetadata(SI, {LLVMContext::MD_mem_parallel_loop_access, in visitStoreInst() 3084 NewSI->setAAMetadata(AATags.adjustForAccess(NewBeginOffset - BeginOffset, in visitStoreInst() 3087 NewSI->setAtomic(SI.getOrdering(), SI.getSyncScopeID()); in visitStoreInst() 3088 if (NewSI->isAtomic()) in visitStoreInst() 3089 NewSI->setAlignment(SI.getAlign()); in visitStoreInst() 3092 NewSI, NewSI->getPointerOperand(), in visitStoreInst() 3093 NewSI->getValueOperand(), DL); in visitStoreInst() [all …]
|
H A D | SimpleLoopUnswitch.cpp | 870 auto *NewSI = SwitchInst::Create(LoopCond, NewPH, ExitCases.size(), OldPH); in unswitchTrivialSwitch() local 871 NewSI->setDebugLoc(SIW->getDebugLoc()); in unswitchTrivialSwitch() 872 SwitchInstProfUpdateWrapper NewSIW(*NewSI); in unswitchTrivialSwitch() 2437 SwitchInst *NewSI = cast<SwitchInst>(NewTI); in unswitchNontrivialInvariants() 2438 assert(NewSI->getDefaultDest() == RetainedSuccBB && in unswitchNontrivialInvariants() 2440 for (const auto &Case : NewSI->cases()) in unswitchNontrivialInvariants() 2436 SwitchInst *NewSI = cast<SwitchInst>(NewTI); unswitchNontrivialInvariants() local
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | AtomicExpandPass.cpp | 543 StoreInst *NewSI = Builder.CreateStore(NewVal, Addr); in convertAtomicStoreToIntegerType() local 544 NewSI->setAlignment(SI->getAlign()); in convertAtomicStoreToIntegerType() 545 NewSI->setVolatile(SI->isVolatile()); in convertAtomicStoreToIntegerType() 546 NewSI->setAtomic(SI->getOrdering(), SI->getSyncScopeID()); in convertAtomicStoreToIntegerType() 547 LLVM_DEBUG(dbgs() << "Replaced " << *SI << " with " << *NewSI << "\n"); in convertAtomicStoreToIntegerType() 549 return NewSI; in convertAtomicStoreToIntegerType()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 9304 Instruction *NewSI = nullptr; in execute() local 9324 NewSI = Builder.CreateMaskedScatter(StoredVal, Addr, Alignment, Mask); in execute() 9326 NewSI = Builder.CreateMaskedStore(StoredVal, Addr, Alignment, Mask); in execute() 9328 NewSI = Builder.CreateAlignedStore(StoredVal, Addr, Alignment); in execute() 9329 State.addMetadata(NewSI, SI); in execute() 9345 CallInst *NewSI = nullptr; in execute() local 9360 NewSI = Builder.CreateIntrinsic(Type::getVoidTy(EVL->getContext()), in execute() 9366 NewSI = cast<CallInst>(VBuilder.createVectorInstruction( in execute() 9370 NewSI->addParamAttr( in execute() 9371 1, Attribute::getWithAlignment(NewSI->getContext(), Alignment)); in execute() [all …]
|
H A D | VPlanRecipes.cpp | 613 auto *NewSI = Builder.CreateAlignedStore( in generatePerPart() local 615 propagateMetadata(NewSI, SI); in generatePerPart()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 1332 SwitchInst *NewSI = Builder.CreateSwitch(CV, PredDefault, PredCases.size()); in PerformValueComparisonIntoPredecessorFolding() local 1333 NewSI->setDebugLoc(PTI->getDebugLoc()); in PerformValueComparisonIntoPredecessorFolding() 1335 NewSI->addCase(V.Value, V.Dest); in PerformValueComparisonIntoPredecessorFolding() 1343 setBranchWeights(NewSI, MDWeights, /*IsExpected=*/false); in PerformValueComparisonIntoPredecessorFolding() 1352 for (unsigned i = 0, e = NewSI->getNumSuccessors(); i != e; ++i) in PerformValueComparisonIntoPredecessorFolding() 1353 if (NewSI->getSuccessor(i) == BB) { in PerformValueComparisonIntoPredecessorFolding() 1364 NewSI->setSuccessor(i, InfLoopBlock); in PerformValueComparisonIntoPredecessorFolding()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateInstantiateDecl.cpp | 5127 TypeSourceInfo *NewSI = IR.TransformType(Function->getTypeSourceInfo()); in InstantiateFunctionDefinition() local 5128 assert(NewSI && "Type Transform failed?"); in InstantiateFunctionDefinition() 5129 Function->setType(NewSI->getType()); in InstantiateFunctionDefinition() 5130 Function->setTypeSourceInfo(NewSI); in InstantiateFunctionDefinition()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | MemorySanitizer.cpp | 1337 StoreInst *NewSI = IRB.CreateAlignedStore(Shadow, ShadowPtr, Alignment); in materializeStores() local 1338 LLVM_DEBUG(dbgs() << " STORE: " << *NewSI << "\n"); in materializeStores() 1339 (void)NewSI; in materializeStores()
|