Home
last modified time | relevance | path

Searched refs:ConstantOp (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dconstant_op.h27 class ConstantOp : public OpKernel {
29 explicit ConstantOp(OpKernelConstruction* ctx);
32 ~ConstantOp() override;
36 TF_DISALLOW_COPY_AND_ASSIGN(ConstantOp);
Dconstant_op.cc70 ConstantOp::ConstantOp(OpKernelConstruction* ctx) in ConstantOp() function in tensorflow::ConstantOp
84 void ConstantOp::Compute(OpKernelContext* ctx) { in Compute()
91 ConstantOp::~ConstantOp() {} in ~ConstantOp()
93 REGISTER_KERNEL_BUILDER(Name("Const").Device(DEVICE_CPU), ConstantOp);
99 ConstantOp);
126 ConstantOp);
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombinePHI.cpp403 Constant *ConstantOp = 0; in FoldPHIArgOpIntoPHI() local
419 ConstantOp = dyn_cast<Constant>(FirstInst->getOperand(1)); in FoldPHIArgOpIntoPHI()
420 if (ConstantOp == 0) in FoldPHIArgOpIntoPHI()
442 } else if (I->getOperand(1) != ConstantOp) { in FoldPHIArgOpIntoPHI()
491 BinOp = BinaryOperator::Create(BinOp->getOpcode(), PhiVal, ConstantOp); in FoldPHIArgOpIntoPHI()
501 PhiVal, ConstantOp); in FoldPHIArgOpIntoPHI()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp485 Constant *ConstantOp = nullptr; in FoldPHIArgOpIntoPHI() local
500 ConstantOp = dyn_cast<Constant>(FirstInst->getOperand(1)); in FoldPHIArgOpIntoPHI()
501 if (!ConstantOp) in FoldPHIArgOpIntoPHI()
515 } else if (I->getOperand(1) != ConstantOp) { in FoldPHIArgOpIntoPHI()
557 BinOp = BinaryOperator::Create(BinOp->getOpcode(), PhiVal, ConstantOp); in FoldPHIArgOpIntoPHI()
569 PhiVal, ConstantOp); in FoldPHIArgOpIntoPHI()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp741 Constant *ConstantOp = nullptr; in FoldPHIArgOpIntoPHI() local
756 ConstantOp = dyn_cast<Constant>(FirstInst->getOperand(1)); in FoldPHIArgOpIntoPHI()
757 if (!ConstantOp) in FoldPHIArgOpIntoPHI()
771 } else if (I->getOperand(1) != ConstantOp) { in FoldPHIArgOpIntoPHI()
813 BinOp = BinaryOperator::Create(BinOp->getOpcode(), PhiVal, ConstantOp); in FoldPHIArgOpIntoPHI()
825 PhiVal, ConstantOp); in FoldPHIArgOpIntoPHI()
/external/llvm/include/llvm/CodeGen/
DStackMaps.h163 typedef enum { DirectMemRefOp, IndirectMemRefOp, ConstantOp } OpType; enumerator
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DStackMaps.h229 using OpType = enum { DirectMemRefOp, IndirectMemRefOp, ConstantOp }; enumerator
/external/tensorflow/tensorflow/compiler/jit/
Dxla_device_ops.h96 ConstantOp); \
/external/tensorflow/tensorflow/core/protobuf/
Dsaved_object_graph.proto125 // An Operation name for a ConstantOp in this SavedObjectGraph's MetaGraph.
/external/llvm/lib/CodeGen/
DStackMaps.cpp117 case StackMaps::ConstantOp: { in parseOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DStackMaps.cpp132 case StackMaps::ConstantOp: { in parseOperand()
DMachineVerifier.cpp1080 MI->getOperand(Offset).getImm() != StackMaps::ConstantOp || in visitMachineInstrBefore()
/external/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp45 Ops.push_back(Builder.DAG.getTargetConstant(StackMaps::ConstantOp, L, in pushStackMapConstant()
DFastISel.cpp578 Ops.push_back(MachineOperand::CreateImm(StackMaps::ConstantOp)); in addStackMapLiveVars()
581 Ops.push_back(MachineOperand::CreateImm(StackMaps::ConstantOp)); in addStackMapLiveVars()
DSelectionDAGBuilder.cpp7236 Builder.DAG.getTargetConstant(StackMaps::ConstantOp, DL, MVT::i64)); in addStackMapLiveVars()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp68 Ops.push_back(Builder.DAG.getTargetConstant(StackMaps::ConstantOp, L, in pushStackMapConstant()
DFastISel.cpp756 Ops.push_back(MachineOperand::CreateImm(StackMaps::ConstantOp)); in addStackMapLiveVars()
759 Ops.push_back(MachineOperand::CreateImm(StackMaps::ConstantOp)); in addStackMapLiveVars()
DDAGCombiner.cpp2005 SDValue ConstantOp = IsAdd ? N->getOperand(1) : N->getOperand(0); in foldAddSubOfSignBit() local
2007 ConstantSDNode *C = isConstOrConstSplat(ConstantOp); in foldAddSubOfSignBit()
DSelectionDAGBuilder.cpp8005 Builder.DAG.getTargetConstant(StackMaps::ConstantOp, DL, MVT::i64)); in addStackMapLiveVars()