Home
last modified time | relevance | path

Searched refs:IsVariable (Results 1 – 24 of 24) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DMoveConstArgCheck.cpp94 bool IsVariable = isa<DeclRefExpr>(Arg); in check() local
96 IsVariable ? dyn_cast<DeclRefExpr>(Arg)->getDecl() : nullptr; in check()
103 << IsConstArg << IsVariable << IsTriviallyCopyable in check()
104 << (IsConstArg && IsVariable && !IsTriviallyCopyable) << Var in check()
/external/tensorflow/tensorflow/python/util/
Dutil.h179 bool IsVariable(PyObject* o);
Dutil_wrapper.cc337 bool result = tensorflow::swig::IsVariable(o.ptr()); in PYBIND11_MODULE()
Dutil.cc928 bool IsVariable(PyObject* o) { return IsVariableHelper(o) == 1; } in IsVariable() function
/external/tensorflow/tensorflow/core/graph/
Dgraph.h167 bool IsVariable() const { return class_ == NC_VARIABLE; } in IsVariable() function
828 inline bool IsVariable(const Node* node) { return node->IsVariable(); } in IsVariable() function
Dcostmodel.cc450 if (IsConstant(n) || IsVariable(n)) { in TimeEstimateForNode()
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item.cc99 if (IsVariable(*node)) { in MainVariables()
Dop_types.h203 bool IsVariable(const NodeDef& node);
Dop_types.cc643 bool IsVariable(const NodeDef& node) { in IsVariable() function
668 return IsConstant(node) || IsVariable(node) || IsHostConstant(node); in IsPersistent()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAutoUpgrade.cpp2841 bool IsVariable = Name[16] == 'v'; in UpgradeIntrinsicCall() local
2848 if (IsVariable && Name[17] != '.') { in UpgradeIntrinsicCall()
2892 IsVariable ? Intrinsic::x86_avx512_psllv_d_512 : in UpgradeIntrinsicCall()
2896 IsVariable ? Intrinsic::x86_avx512_psllv_q_512 : in UpgradeIntrinsicCall()
2909 bool IsVariable = Name[16] == 'v'; in UpgradeIntrinsicCall() local
2916 if (IsVariable && Name[17] != '.') { in UpgradeIntrinsicCall()
2960 IsVariable ? Intrinsic::x86_avx512_psrlv_d_512 : in UpgradeIntrinsicCall()
2964 IsVariable ? Intrinsic::x86_avx512_psrlv_q_512 : in UpgradeIntrinsicCall()
2977 bool IsVariable = Name[16] == 'v'; in UpgradeIntrinsicCall() local
2984 if (IsVariable && Name[17] != '.') { in UpgradeIntrinsicCall()
[all …]
/external/llvm-project/llvm/lib/IR/
DAutoUpgrade.cpp2974 bool IsVariable = Name[16] == 'v'; in UpgradeIntrinsicCall() local
2981 if (IsVariable && Name[17] != '.') { in UpgradeIntrinsicCall()
3025 IsVariable ? Intrinsic::x86_avx512_psllv_d_512 : in UpgradeIntrinsicCall()
3029 IsVariable ? Intrinsic::x86_avx512_psllv_q_512 : in UpgradeIntrinsicCall()
3042 bool IsVariable = Name[16] == 'v'; in UpgradeIntrinsicCall() local
3049 if (IsVariable && Name[17] != '.') { in UpgradeIntrinsicCall()
3093 IsVariable ? Intrinsic::x86_avx512_psrlv_d_512 : in UpgradeIntrinsicCall()
3097 IsVariable ? Intrinsic::x86_avx512_psrlv_q_512 : in UpgradeIntrinsicCall()
3110 bool IsVariable = Name[16] == 'v'; in UpgradeIntrinsicCall() local
3117 if (IsVariable && Name[17] != '.') { in UpgradeIntrinsicCall()
[all …]
/external/llvm-project/flang/lib/Evaluate/
Dvariable.cpp104 CHECK(IsVariable(v)); in set_stat()
110 CHECK(IsVariable(v)); in set_team()
Dcheck-expression.cpp618 if (IsVariable(x)) { in IsSimplyContiguous()
Dtools.cpp919 if (IsVariable(*expr) && !HasVectorSubscript(*expr)) { in GetAssociatedVariable()
/external/llvm-project/flang/lib/Semantics/
Dcheck-call.cpp113 !evaluate::IsVariable(actual)) { in ConvertIntegerActual()
578 if (proc.intent != common::Intent::In && !IsVariable(*expr)) { in CheckProcedureArg()
Dcheck-io.cpp226 if (expr->Rank() != 0 || !IsVariable(*expr)) { in Enter()
Dtools.cpp800 if (!evaluate::IsVariable(expr)) { in WhyNotModifiable()
/external/tensorflow/tensorflow/tools/def_file_filter/
Dsymbols_pybind.txt13 tensorflow::swig::IsVariable
/external/tensorflow/tensorflow/core/grappler/optimizers/
Ddependency_optimizer.cc76 if (IsVariable(*input) || IsRecv(*input)) { in SafeToRemoveIdentity()
Dauto_mixed_precision.cc1945 if (to_f16 && !IsConstant(*node) && !IsVariable(*node) && in ChangeTypeAttrsAndAddCasts()
/external/tensorflow/tensorflow/python/eager/
Dbackprop.py898 if not (_pywrap_utils.IsTensor(t) or _pywrap_utils.IsVariable(t)):
/external/llvm-project/flang/include/flang/Evaluate/
Dtools.h66 template <typename A> bool IsVariable(const A &x) { in IsVariable() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp23265 static unsigned getTargetVShiftUniformOpcode(unsigned Opc, bool IsVariable) { in getTargetVShiftUniformOpcode() argument
23270 return IsVariable ? X86ISD::VSHL : X86ISD::VSHLI; in getTargetVShiftUniformOpcode()
23274 return IsVariable ? X86ISD::VSRL : X86ISD::VSRLI; in getTargetVShiftUniformOpcode()
23278 return IsVariable ? X86ISD::VSRA : X86ISD::VSRAI; in getTargetVShiftUniformOpcode()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp24387 static unsigned getTargetVShiftUniformOpcode(unsigned Opc, bool IsVariable) { in getTargetVShiftUniformOpcode() argument
24392 return IsVariable ? X86ISD::VSHL : X86ISD::VSHLI; in getTargetVShiftUniformOpcode()
24396 return IsVariable ? X86ISD::VSRL : X86ISD::VSRLI; in getTargetVShiftUniformOpcode()
24400 return IsVariable ? X86ISD::VSRA : X86ISD::VSRAI; in getTargetVShiftUniformOpcode()