Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVRegularizer.cpp84 auto ReplInst = CE->getAsInstruction(); in runLowerConstExpr() local
86 ReplInst->insertBefore(InsPoint); in runLowerConstExpr()
99 User->comesBefore(ReplInst)) in runLowerConstExpr()
100 ReplInst->moveBefore(User); in runLowerConstExpr()
101 User->replaceUsesOfWith(CE, ReplInst); in runLowerConstExpr()
103 return ReplInst; in runLowerConstExpr()
141 if (ReplInst) in runLowerConstExpr()
142 II->replaceUsesOfWith(Op, ReplInst); in runLowerConstExpr()
150 Value *ReplInst = nullptr; in runLowerConstExpr() local
154 ReplInst = LowerOp(CE); in runLowerConstExpr()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVNHoist.cpp241 static void combineKnownMetadata(Instruction *ReplInst, Instruction *I) { in combineKnownMetadata() argument
250 combineMetadata(ReplInst, I, KnownIDs, true); in combineKnownMetadata()
H A DMemCpyOptimizer.cpp340 static void combineAAMetadata(Instruction *ReplInst, Instruction *I) { in combineAAMetadata() argument
347 combineMetadata(ReplInst, I, KnownIDs, true); in combineAAMetadata()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp3366 auto *ReplInst = dyn_cast<Instruction>(Repl); in patchReplacementInstruction() local
3367 if (!ReplInst) in patchReplacementInstruction()
3375 if (isa<OverflowingBinaryOperator>(ReplInst) && in patchReplacementInstruction()
3377 ReplInst->dropPoisonGeneratingFlags(); in patchReplacementInstruction()
3383 ReplInst->andIRFlags(I); in patchReplacementInstruction()
3394 combineMetadataForCSE(ReplInst, I, false); in patchReplacementInstruction()