/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/ |
D | Intermediate.cpp | 569 bool TIntermediate::buildConvertOp(TBasicType dst, TBasicType src, TOperator& newOp) const in buildConvertOp() 575 case EbtUint: newOp = EOpConvUintToDouble; break; in buildConvertOp() 576 case EbtBool: newOp = EOpConvBoolToDouble; break; in buildConvertOp() 577 case EbtFloat: newOp = EOpConvFloatToDouble; break; in buildConvertOp() 578 case EbtInt: newOp = EOpConvIntToDouble; break; in buildConvertOp() 579 case EbtInt8: newOp = EOpConvInt8ToDouble; break; in buildConvertOp() 580 case EbtUint8: newOp = EOpConvUint8ToDouble; break; in buildConvertOp() 581 case EbtInt16: newOp = EOpConvInt16ToDouble; break; in buildConvertOp() 582 case EbtUint16: newOp = EOpConvUint16ToDouble; break; in buildConvertOp() 583 case EbtFloat16: newOp = EOpConvFloat16ToDouble; break; in buildConvertOp() [all …]
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | Intermediate.cpp | 569 bool TIntermediate::buildConvertOp(TBasicType dst, TBasicType src, TOperator& newOp) const in buildConvertOp() 575 case EbtUint: newOp = EOpConvUintToDouble; break; in buildConvertOp() 576 case EbtBool: newOp = EOpConvBoolToDouble; break; in buildConvertOp() 577 case EbtFloat: newOp = EOpConvFloatToDouble; break; in buildConvertOp() 578 case EbtInt: newOp = EOpConvIntToDouble; break; in buildConvertOp() 579 case EbtInt8: newOp = EOpConvInt8ToDouble; break; in buildConvertOp() 580 case EbtUint8: newOp = EOpConvUint8ToDouble; break; in buildConvertOp() 581 case EbtInt16: newOp = EOpConvInt16ToDouble; break; in buildConvertOp() 582 case EbtUint16: newOp = EOpConvUint16ToDouble; break; in buildConvertOp() 583 case EbtFloat16: newOp = EOpConvFloat16ToDouble; break; in buildConvertOp() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/stablehlo/tests/ |
D | TestUtils.cpp | 65 auto *newOp = rewriter.create(state); in matchAndRewrite() local 67 newOp->setAttr((StringRef("types") + Twine(it.index())).str(), in matchAndRewrite() 70 rewriter.replaceOp(op, {newOp->getResults()}); in matchAndRewrite() 98 auto *newOp = rewriter.create(state); in matchAndRewrite() local 101 newOp->setAttr((StringRef("dims") + Twine(it.index())).str(), in matchAndRewrite() 105 newOp->setAttr((Twine("element_type") + Twine(it.index())).str(), in matchAndRewrite() 109 rewriter.replaceOp(op, {newOp->getResults()}); in matchAndRewrite()
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/mhlo/transforms/ |
D | test_infer_shaped_type_pass.cc | 54 auto *newOp = rewriter.create(state); in matchAndRewrite() local 56 newOp->setAttr((StringRef("types") + Twine(it.index())).str(), in matchAndRewrite() 59 rewriter.replaceOp(op, {newOp->getResults()}); in matchAndRewrite() 86 auto *newOp = rewriter.create(state); in matchAndRewrite() local 89 newOp->setAttr((StringRef("dims") + Twine(it.index())).str(), in matchAndRewrite() 93 newOp->setAttr((Twine("element_type") + Twine(it.index())).str(), in matchAndRewrite() 97 rewriter.replaceOp(op, {newOp->getResults()}); in matchAndRewrite()
|
D | convert_to_signless_pass.cc | 57 auto* newOp = Operation::create(op->getLoc(), op->getName(), resultTypes, in matchAndRewrite() local 60 for (auto regions : llvm::zip(op->getRegions(), newOp->getRegions())) { in matchAndRewrite() 67 rewriter.insert(newOp); in matchAndRewrite() 68 rewriter.replaceOp(op, newOp->getResults()); in matchAndRewrite()
|
D | merge_assuming_ops.cc | 156 Operation *newOp = b.clone(*op, mapping); in moveUpIntoAssumingOpMatchAndRewrite() local 162 mappedResults.append(newOp->getResults().begin(), in moveUpIntoAssumingOpMatchAndRewrite() 163 newOp->getResults().end()); in moveUpIntoAssumingOpMatchAndRewrite() 231 Operation *newOp = rewriter.clone(*op); in moveDownIntoAssumingOpMatchAndRewrite() local 232 rewriter.replaceOp(op, newOp->getResults()); in moveDownIntoAssumingOpMatchAndRewrite() 281 Operation *newOp = rewriter.clone(*op); in matchAndRewrite() local 282 rewriter.replaceOp(op, newOp->getResults()); in matchAndRewrite() 287 auto isNewOpResult = [newOp](Value v) { in matchAndRewrite() 288 return llvm::is_contained(newOp->getResults(), v); in matchAndRewrite()
|
D | mhlo_canonicalize_reduction.cc | 217 auto newOp = b.create<ReduceOp>(loc, newOperands, op.init_values(), attr); in runOnOperation() local 218 newOp.body().takeBody(op.body()); in runOnOperation() 224 for (Value result : newOp.getResults()) { in runOnOperation() 236 for (auto&& e : llvm::zip(op.getResults(), newOp.getResults())) { in runOnOperation()
|
D | collapse_elementwise_map.cc | 69 auto *newOp = rewriter.create( in matchAndRewrite() local 73 blockAndValueMap.map(op.getResult(0), newOp->getResult(0)); in matchAndRewrite()
|
D | hlo_legalize_to_lhlo.cc | 272 auto newOp = rewriter.create<mhlo::HloToLhloOp<HloOpTy>>( in matchAndRewrite() local 276 rewriter.inlineRegionBefore(hloOp.body(), newOp.getBody(), in matchAndRewrite() 277 newOp.getBody().end()); in matchAndRewrite() 280 auto& entryBlock = newOp.getBody().front(); in matchAndRewrite() 310 rewriter.applySignatureConversion(&newOp.getBody(), sigConversion); in matchAndRewrite()
|
D | rank_specialization.cc | 217 auto newOp = rewriter.create<chlo::RankSpecializationClusterOp>( in matchAndRewrite() local 222 rewriter.createBlock(&newOp.body(), {}, operandTypes, in matchAndRewrite() 246 auto where = llvm::find(newOp.operands(), operand); in matchAndRewrite() 268 replacement = newOp->getResult(i++); in matchAndRewrite() 272 ValueRange opReplacements = newOp.results().take_back(op.getNumResults()); in matchAndRewrite()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonFixupHwLoops.cpp | 173 unsigned newOp; in useExtLoopInstr() local 176 newOp = Hexagon::J2_loop0rext; in useExtLoopInstr() 179 newOp = Hexagon::J2_loop0iext; in useExtLoopInstr() 182 newOp = Hexagon::J2_loop1rext; in useExtLoopInstr() 185 newOp = Hexagon::J2_loop1iext; in useExtLoopInstr() 190 MIB = BuildMI(*MBB, MII, DL, TII->get(newOp)); in useExtLoopInstr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonFixupHwLoops.cpp | 174 unsigned newOp; in useExtLoopInstr() local 177 newOp = Hexagon::J2_loop0rext; in useExtLoopInstr() 180 newOp = Hexagon::J2_loop0iext; in useExtLoopInstr() 183 newOp = Hexagon::J2_loop1rext; in useExtLoopInstr() 186 newOp = Hexagon::J2_loop1iext; in useExtLoopInstr() 191 MIB = BuildMI(*MBB, MII, DL, TII->get(newOp)); in useExtLoopInstr()
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/gml_st/transforms/ |
D | bufferize_tiled_loop.cc | 211 auto *newOp = linalgOp.cloneWithoutRegions(rewriter, linalgOp.getLoc(), in createLinalgOpOnBuffers() local 214 for (auto regions : llvm::zip(linalgOp->getRegions(), newOp->getRegions())) { in createLinalgOpOnBuffers() 219 return newOp; in createLinalgOpOnBuffers() 310 auto newOp = rewriter.create<LoopOp>(op.getLoc(), mlir::TypeRange{}, in matchAndRewrite() local 313 rewriter.inlineRegionBefore(op.getLoopBody(), newOp.getLoopBody(), in matchAndRewrite() 314 newOp.getLoopBody().end()); in matchAndRewrite() 317 if (failed(rewriter.convertRegionTypes(&newOp.getLoopBody(), in matchAndRewrite() 322 rewriter.replaceOp(op, newOp.outputs()); in matchAndRewrite()
|
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/ |
D | strip_quant_types.cc | 111 Operation* newOp = rewriter.create(state); in matchAndRewrite() local 112 rewriter.replaceOp(op, newOp->getResults()); in matchAndRewrite()
|
D | legalize_tf.cc | 283 auto newOp = CreateOpAndInfer<tosa::AddOp>(rewriter, op->getLoc(), in matchAndRewrite() local 286 newOp = CreateOpAndInfer<tosa::AddOp>(rewriter, op->getLoc(), output_type, in matchAndRewrite() 287 inputs[i], newOp.getResult()); in matchAndRewrite() 290 rewriter.replaceOp(op, {newOp.getResult()}); in matchAndRewrite()
|
D | legalize_tfl.cc | 855 auto newOp = CreateOpAndInfer<tosa::AddOp>(rewriter, op->getLoc(), in matchAndRewrite() local 858 newOp = CreateOpAndInfer<tosa::AddOp>(rewriter, op->getLoc(), output_type, in matchAndRewrite() 859 inputs[i], newOp.getResult()); in matchAndRewrite() 862 rewriter.replaceOp(op, {newOp.getResult()}); in matchAndRewrite()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShaderAtomicCounterOpsTests.hpp | 257 ShaderPipeline(glu::ShaderType testedShader, AtomicOperation* newOp, bool contextGL46); 296 inline void addOperation(AtomicOperation* newOp) in addOperation() argument 300 m_shaderPipelines.push_back(ShaderPipeline((glu::ShaderType)i, newOp, m_contextSupportsGL46)); in addOperation()
|
D | gl4cShaderAtomicCounterOpsTests.cpp | 43 …erOpsTestBase::ShaderPipeline::ShaderPipeline(glu::ShaderType testedShader, AtomicOperation* newOp, in ShaderPipeline() argument 45 : m_program(NULL), m_programCompute(NULL), m_testedShader(testedShader), m_atomicOp(newOp) in ShaderPipeline()
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/ |
D | intermediate.h | 1419 void setOp(TOperator newOp) { op = newOp; } in setOp() argument
|
/external/deqp-deps/glslang/glslang/Include/ |
D | intermediate.h | 1415 void setOp(TOperator newOp) { op = newOp; } in setOp() argument
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/mhlo/IR/ |
D | hlo_ops.cc | 1938 auto newOp = rewriter.create<OpTy>(op->getLoc(), std::forward<Args>(args)...); in refineOpWithNewOp() local 1941 assert(op->getNumResults() == newOp->getNumResults() && in refineOpWithNewOp() 1944 llvm::zip(op->getResults(), newOp->getResults())) { in refineOpWithNewOp() 1956 return newOp; in refineOpWithNewOp() 7197 auto newOp = rewriter.create<SortOp>(op.getLoc(), newOperands, op.dimension(), in sortDropEmptyUseArgs() local 7199 Region& region = newOp.comparator(); in sortDropEmptyUseArgs() 7208 results.push_back(newOp.getResult(j++)); in sortDropEmptyUseArgs() 7229 auto newOp = rewriter.create<SortOp>(op.getLoc(), op.getResultTypes(), in sortOpInferDefaultDimension() local 7231 Region& region = newOp.comparator(); in sortOpInferDefaultDimension() 7233 rewriter.replaceOp(op, newOp.getResults()); in sortOpInferDefaultDimension()
|