Home
last modified time | relevance | path

Searched refs:lookupOrNull (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/mlir/include/mlir/IR/
DBlockAndValueMapping.h56 Block *lookupOrNull(Block *from) const { in lookupOrNull() function
59 Value lookupOrNull(Value from) const { return lookupOrValue(from, Value()); } in lookupOrNull() function
71 auto result = lookupOrNull(from); in lookup()
/external/llvm-project/mlir/lib/IR/
DRegion.cpp110 if (auto mappedOp = mapper.lookupOrNull(operand.get())) in cloneInto()
113 if (auto *mappedOp = mapper.lookupOrNull(succOp.get())) in cloneInto()
/external/tensorflow/tensorflow/compiler/xla/service/mlir_gpu/
Dpasses.cc268 mlir::Value old_kernel_arg = func_to_kernel.lookupOrNull(func_arg); in runOnFunction()
282 mlir::Value old_kernel_arg = func_to_kernel.lookupOrNull(ret_op); in runOnFunction()
/external/llvm-project/mlir/lib/Transforms/Utils/
DDialectConversion.cpp116 Value lookupOrNull(Value from) const;
136 while (auto mappedValue = mapping.lookupOrNull(from)) in lookupOrDefault()
147 Value mappedValue = mapping.lookupOrNull(from); in lookupOrDefault()
157 Value ConversionValueMapping::lookupOrNull(Value from) const { in lookupOrNull() function in ConversionValueMapping
355 if (Value newArg = mapping.lookupOrNull(origArg)) in applyRewrites()
871 if (Value newValue = mapping.lookupOrNull(result)) in applyRewrites()
2205 Value newValue = rewriterImpl.mapping.lookupOrNull(result); in finalize()
DInliningUtils.cpp49 if (auto mappedOp = mapper.lookupOrNull(operand.get())) in remapInlinedOperands()
DLoopFusionUtils.cpp377 auto loopIV = mapper.lookupOrNull(srcSlice.ivs[i]); in fuseLoops()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DDeserializer.cpp2084 if (Value mappedOp = mapper.lookupOrNull(operand.get())) in structurizeImpl()
2087 if (Block *mappedOp = mapper.lookupOrNull(succOp.get())) in structurizeImpl()
2120 builder.create<spirv::BranchOp>(location, mapper.lookupOrNull(headerBlock), in structurizeImpl()
2144 Block *newHeader = mapper.lookupOrNull(block); in structurizeImpl()
2149 newContinue = mapper.lookupOrNull(newContinue); in structurizeImpl()
2154 if (Block *mappedTo = mapper.lookupOrNull(newMerge)) in structurizeImpl()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DFusionOnTensors.cpp167 if (Value clonedVal = mapper.lookupOrNull(yieldVal)) in generateFusedTensorOpRegion()