Home
last modified time | relevance | path

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

/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXImageOptimizer.cpp44 void replaceWith(Instruction *From, ConstantInt *To);
95 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSampler()
99 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePSampler()
112 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSurface()
118 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePSurface()
130 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePTexture()
137 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePTexture()
145 void NVPTXImageOptimizer::replaceWith(Instruction *From, ConstantInt *To) {
146 void NVPTXImageOptimizer::replaceWith(Instruction *From, ConstantInt *To) { replaceWith() function in NVPTXImageOptimizer
/llvm-project/flang/lib/Optimizer/HLFIR/Transforms/
H A DBufferizeHLFIR.cpp463 auto replaceWith = [&](mlir::Value hlfirVar, mlir::Value firVar, in matchAndRewrite()
537 replaceWith(bufferizedExpr, firBase, mustFree); in matchAndRewrite()
558 replaceWith(temp, temp, mustFree); in matchAndRewrite()
566 replaceWith(bufferizedExpr, hlfir::Entity{bufferizedExpr}.getFirBase(), in matchAndRewrite()
460 auto replaceWith = [&](mlir::Value hlfirVar, mlir::Value firVar, matchAndRewrite() local
/llvm-project/mlir/lib/Dialect/Async/Transforms/
H A DAsyncToAsyncRuntime.cpp639 if (Value replaceWith = getReplacementValue(op, operand, rewriter)) in matchAndRewrite() local
640 rewriter.replaceOp(op, replaceWith); in matchAndRewrite()
/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp6100 auto replaceWith = [this, &dl](unsigned OpCode, SDNode *TocEntry, in Select()
6125 replaceWith(PPC::LWZtoc, N, MVT::i32); in Select()
6132 replaceWith(PPC::ADDItoc, N, MVT::i32); in Select()
6136 replaceWith(PPC::LWZtoc, N, MVT::i32); in Select()
6144 replaceWith(PPC::ADDItoc8, N, MVT::i64); in Select()
6101 auto replaceWith = [this, &dl](unsigned OpCode, SDNode *TocEntry, Select() local