Home
last modified time | relevance | path

Searched refs:ConstOp (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dconst_op.cc28 class ConstOp : public XlaOpKernel { class
30 explicit ConstOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) { in ConstOp() function in tensorflow::__anon796f00c40111::ConstOp
128 TF_DISALLOW_COPY_AND_ASSIGN(ConstOp);
133 REGISTER_XLA_OP(Name("Const").CompilationOnly(), ConstOp);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h128 MachineInstr *getConstantDefMI(MachineInstr &MI, unsigned &ConstOp,
DPPCInstrInfo.cpp2260 unsigned &ConstOp, in getConstantDefMI() argument
2262 ConstOp = ~0U; in getConstantDefMI()
2279 ConstOp = i; in getConstantDefMI()
2326 ConstOp = i; in getConstantDefMI()
2338 return ConstOp == ~0U ? nullptr : DefMI; in getConstantDefMI()
/external/llvm/lib/IR/
DConstants.cpp381 const Constant *ConstOp = dyn_cast<Constant>(Op); in ConstHasGlobalValuePredicate() local
382 if (!ConstOp) in ConstHasGlobalValuePredicate()
384 if (Visited.insert(ConstOp).second) in ConstHasGlobalValuePredicate()
385 WorkList.push_back(ConstOp); in ConstHasGlobalValuePredicate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstants.cpp452 const Constant *ConstOp = dyn_cast<Constant>(Op); in ConstHasGlobalValuePredicate() local
453 if (!ConstOp) in ConstHasGlobalValuePredicate()
455 if (Visited.insert(ConstOp).second) in ConstHasGlobalValuePredicate()
456 WorkList.push_back(ConstOp); in ConstHasGlobalValuePredicate()
/external/google-fruit/include/fruit/impl/
Dcomponent_functors.defn.h178 struct ConstOp {
204 using type = PropagateError(R, If(NonConstBindingRequired, NonConstOp, ConstOp));
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DDependenceAnalysis.cpp2375 const SCEVConstant *ConstOp = getConstantPart(Product); in gcdMIVtest() local
2376 if (!ConstOp) in gcdMIVtest()
2378 APInt ConstOpValue = ConstOp->getAPInt(); in gcdMIVtest()
DScalarEvolution.cpp3842 auto *ConstOp = dyn_cast<SCEVConstant>(Add->getOperand(0)); in splitAddExpr() local
3843 if (!ConstOp) in splitAddExpr()
3846 return {Add->getOperand(1), ConstOp->getValue()}; in splitAddExpr()
9088 const SCEV *NonConstOp, *ConstOp; in isKnownPredicateViaNoOverflow() local
9091 if (!splitBinaryAdd(Result, ConstOp, NonConstOp, FlagsPresent) || in isKnownPredicateViaNoOverflow()
9092 !isa<SCEVConstant>(ConstOp) || NonConstOp != X) in isKnownPredicateViaNoOverflow()
9095 OutY = cast<SCEVConstant>(ConstOp)->getAPInt(); in isKnownPredicateViaNoOverflow()
/external/llvm/lib/Analysis/
DDependenceAnalysis.cpp2309 const SCEVConstant *ConstOp = getConstantPart(Product); in gcdMIVtest() local
2310 if (!ConstOp) in gcdMIVtest()
2312 APInt ConstOpValue = ConstOp->getAPInt(); in gcdMIVtest()
DScalarEvolution.cpp7780 const SCEV *NonConstOp, *ConstOp; in isKnownPredicateViaNoOverflow() local
7783 if (!splitBinaryAdd(Result, ConstOp, NonConstOp, FlagsPresent) || in isKnownPredicateViaNoOverflow()
7784 !isa<SCEVConstant>(ConstOp) || NonConstOp != X) in isKnownPredicateViaNoOverflow()
7787 OutY = cast<SCEVConstant>(ConstOp)->getAPInt(); in isKnownPredicateViaNoOverflow()
/external/tensorflow/tensorflow/compiler/jit/
Dmark_for_compilation_pass_test.cc690 TEST(XlaCompilationTest, ConstOp) { in TEST() argument