Home
last modified time | relevance | path

Searched refs:IsConstant (Results 1 – 25 of 111) sorted by relevance

12345

/external/tensorflow/tensorflow/compiler/xla/tests/
Dcompute_constant_test.cc89 bool IsConstant(const XlaOp& operand, XlaBuilder* builder) { in IsConstant() function in xla::__anon70663fee0111::ComputeConstantTest
90 StatusOr<bool> result = builder->IsConstant(operand); in IsConstant()
103 EXPECT_TRUE(IsConstant(computation, &b)); in TEST_F()
117 EXPECT_TRUE(IsConstant(computation, &b)); in TEST_F()
132 EXPECT_FALSE(IsConstant(computation, &b)); in TEST_F()
145 EXPECT_FALSE(IsConstant(computation, &b)); in TEST_F()
161 EXPECT_TRUE(IsConstant(get_dimension_size, &b)); in TEST_F()
178 EXPECT_TRUE(IsConstant(add_2, &b)); in TEST_F()
206 EXPECT_TRUE(IsConstant(constant_13, &b)); in TEST_F()
221 EXPECT_TRUE(IsConstant(computation, &b)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/cc/ops/
Dconst_op_test.cc29 EXPECT_TRUE(n->IsConstant()); in ExpectNodeEqual()
40 EXPECT_TRUE(n->IsConstant()); in ExpectTypeAndShape()
/external/swiftshader/third_party/subzero/src/
DIceGlobalInits.h379 bool getIsConstant() const { return IsConstant; } in getIsConstant()
380 void setIsConstant(bool NewValue) { IsConstant = NewValue; } in setIsConstant()
442 bool IsConstant = false; variable
DIceGlobalInits.cpp130 Stream << " " << (IsConstant ? "constant" : "global") << " "; in dump()
/external/llvm/lib/IR/
DMDBuilder.cpp167 uint64_t Offset, bool IsConstant) { in createTBAAStructTagNode() argument
170 if (IsConstant) { in createTBAAStructTagNode()
/external/tensorflow/tensorflow/core/grappler/utils/
Dcanonicalizer.cc58 if ((IsConstant(*node) || IsHostConstant(*node)) && in CompressConstants()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dccp_pass.cpp145 assert(folded_inst->IsConstant() && "CCP is only interested in constant."); in VisitAssignment()
322 if (inst.IsConstant()) { in Initialize()
Dinstruction.h521 inline bool IsConstant() const;
865 bool Instruction::IsConstant() const { in IsConstant() function
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dccp_pass.cpp145 assert(folded_inst->IsConstant() && "CCP is only interested in constant."); in VisitAssignment()
322 if (inst.IsConstant()) { in Initialize()
/external/tensorflow/tensorflow/compiler/xla/service/
Dwhile_loop_analysis.cc38 if (!operand->IsConstant()) { in NonConstantOperand()
144 if (!operand->IsConstant()) { in GetAuxiliaryLoopInductionVars()
186 if (!operand->IsConstant()) { in GetAuxiliaryLoopInductionVars()
Dhlo_query.cc106 return instruction->IsConstant() && ShapeUtil::IsScalar(instruction->shape()); in IsScalarConstant()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dloop_optimizer.cc265 } else if (IsConstant(*invariant_node)) { in MoveInvariantNodes()
280 if (!IsConstant(*node) && !IsEnter(*node) && iter->second > 0) { in RevertInvariantNodes()
306 if (IsControlInput(input) && !IsConstant(*producer) && in RevertInvariantNodes()
352 if (IsConstant(*producer)) { in FindInvariantNodes()
590 if (!IsConstant(node)) { in IsReallyConstant()
Dmodel_pruner.cc74 if (IsConstant(node) && node.input().empty() && in IsTrivialOp()
112 if (IsConstant(node) && node.input().empty() && in CanRemoveNode()
/external/llvm/include/llvm/IR/
DMDBuilder.h159 uint64_t Offset, bool IsConstant = false);
/external/tensorflow/tensorflow/core/common_runtime/
Deval_const_tensor.cc265 } else if (!current_node->IsConstant()) { in ExtractConstantSubgraph()
360 if (src->IsConstant()) { in EvaluateConstantTensor()
Dconstant_folding.cc225 if (n->IsConstant()) { in IsConstantFoldable()
339 if (!n->IsConstant()) { in ConsiderConstantFoldableNode()
514 if (tensor.first->IsConstant()) { in ReplaceTensorWithConstant()
/external/tensorflow/tensorflow/core/graph/
Dgraph.h166 bool IsConstant() const { return class_ == NC_CONSTANT; } in IsConstant() function
827 inline bool IsConstant(const Node* node) { return node->IsConstant(); } in IsConstant() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DMDBuilder.h192 uint64_t Offset, bool IsConstant = false);
/external/llvm-project/llvm/include/llvm/IR/
DMDBuilder.h188 uint64_t Offset, bool IsConstant = false);
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dspmd_partitioner_util.h153 bool IsConstant() const { return multiplier_ == 0; } in IsConstant() function
195 bool IsConstant() const;
/external/tensorflow/tensorflow/compiler/jit/
Ddeadness_analysis_test.cc707 ops::internal::Enter::Attrs().IsConstant(true)); in TEST()
806 ops::internal::Enter::Attrs().IsConstant(true)); in TEST()
862 ops::internal::Enter::Attrs().IsConstant(true)); in TEST()
884 ops::internal::Enter::Attrs().IsConstant(true)); in TEST()
887 ops::internal::Enter::Attrs().IsConstant(true)); in TEST()
968 ops::internal::Enter::Attrs().IsConstant(true)); in TEST()
972 ops::internal::Enter::Attrs().IsConstant(true)); in TEST()
Dclone_constants_for_better_clustering.cc91 if (!n->IsConstant()) { in IsSmallHostConstant()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DMDBuilder.cpp238 uint64_t Offset, bool IsConstant) { in createTBAAStructTagNode() argument
241 if (IsConstant) { in createTBAAStructTagNode()
/external/llvm-project/llvm/lib/IR/
DMDBuilder.cpp234 uint64_t Offset, bool IsConstant) { in createTBAAStructTagNode() argument
237 if (IsConstant) { in createTBAAStructTagNode()
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp1576 auto IsConstant = [](const SDValue &V) { in LowerBUILD_VECTOR() local
1639 if (IsConstant(Lane)) { in LowerBUILD_VECTOR()
1678 if (IsConstant(Lane)) { in LowerBUILD_VECTOR()
1687 IsLaneConstructed = [&IsConstant](size_t _, const SDValue &Lane) { in LowerBUILD_VECTOR()
1688 return IsConstant(Lane); in LowerBUILD_VECTOR()
1701 if (IsConstant(Lane)) { in LowerBUILD_VECTOR()
1736 IsLaneConstructed = [&IsConstant](size_t _, const SDValue &Lane) { in LowerBUILD_VECTOR()
1737 return IsConstant(Lane); in LowerBUILD_VECTOR()

12345