Home
last modified time | relevance | path

Searched refs:ReplInst (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVRegularizer.cpp77 auto ReplInst = CE->getAsInstruction(); in runLowerConstExpr() local
79 ReplInst->insertBefore(InsPoint->getIterator()); in runLowerConstExpr()
80 LLVM_DEBUG(dbgs() << " -> " << *ReplInst << '\n'); in runLowerConstExpr()
91 if (ReplInst->getParent() == User->getParent() && in runLowerConstExpr()
92 User->comesBefore(ReplInst)) in runLowerConstExpr()
93 ReplInst->moveBefore(User->getIterator()); in runLowerConstExpr()
94 User->replaceUsesOfWith(CE, ReplInst); in runLowerConstExpr()
96 return ReplInst; in runLowerConstExpr()
134 Value *ReplInst = LowerConstantVec(Vec, OI); in runLowerConstExpr() local
135 if (ReplInst) in runLowerConstExpr()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp3504 auto *ReplInst = dyn_cast<Instruction>(Repl); in patchReplacementInstruction() local
3505 if (!ReplInst) in patchReplacementInstruction()
3513 if (isa<OverflowingBinaryOperator>(ReplInst) && in patchReplacementInstruction()
3515 ReplInst->dropPoisonGeneratingFlags(); in patchReplacementInstruction()
3521 ReplInst->andIRFlags(I); in patchReplacementInstruction()
3524 if (auto *CB1 = dyn_cast<CallBase>(ReplInst)) { in patchReplacementInstruction()
3543 combineMetadataForCSE(ReplInst, I, false); in patchReplacementInstruction()