Searched refs:replaceWith (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXImageOptimizer.cpp | 45 void replaceWith(Instruction *From, ConstantInt *To); 96 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSampler() 100 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePSampler() 113 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSurface() 119 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePSurface() 131 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePTexture() 138 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePTexture() 146 void NVPTXImageOptimizer::replaceWith(Instruction *From, ConstantInt *To) { in replaceWith() function in NVPTXImageOptimizer
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/ |
| H A D | AsyncToAsyncRuntime.cpp | 468 if (Value replaceWith = getReplacementValue(op, operand, rewriter)) in matchAndRewrite() local 469 rewriter.replaceOp(op, replaceWith); in matchAndRewrite()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 5815 auto replaceWith = [this, &dl](unsigned OpCode, SDNode *TocEntry, in Select() local 5833 replaceWith(PPC::LWZtoc, N, MVT::i32); in Select() 5841 replaceWith(PPC::ADDItoc, N, MVT::i32); in Select() 5845 replaceWith(PPC::LWZtoc, N, MVT::i32); in Select() 5854 replaceWith(PPC::ADDItoc8, N, MVT::i64); in Select()
|