/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | compute_constant_test.cc | 89 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/ |
D | const_op_test.cc | 29 EXPECT_TRUE(n->IsConstant()); in ExpectNodeEqual() 40 EXPECT_TRUE(n->IsConstant()); in ExpectTypeAndShape()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceGlobalInits.h | 379 bool getIsConstant() const { return IsConstant; } in getIsConstant() 380 void setIsConstant(bool NewValue) { IsConstant = NewValue; } in setIsConstant() 442 bool IsConstant = false; variable
|
D | IceGlobalInits.cpp | 130 Stream << " " << (IsConstant ? "constant" : "global") << " "; in dump()
|
/external/llvm/lib/IR/ |
D | MDBuilder.cpp | 167 uint64_t Offset, bool IsConstant) { in createTBAAStructTagNode() argument 170 if (IsConstant) { in createTBAAStructTagNode()
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | canonicalizer.cc | 58 if ((IsConstant(*node) || IsHostConstant(*node)) && in CompressConstants()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | ccp_pass.cpp | 145 assert(folded_inst->IsConstant() && "CCP is only interested in constant."); in VisitAssignment() 322 if (inst.IsConstant()) { in Initialize()
|
D | instruction.h | 521 inline bool IsConstant() const; 865 bool Instruction::IsConstant() const { in IsConstant() function
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | ccp_pass.cpp | 145 assert(folded_inst->IsConstant() && "CCP is only interested in constant."); in VisitAssignment() 322 if (inst.IsConstant()) { in Initialize()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | while_loop_analysis.cc | 38 if (!operand->IsConstant()) { in NonConstantOperand() 144 if (!operand->IsConstant()) { in GetAuxiliaryLoopInductionVars() 186 if (!operand->IsConstant()) { in GetAuxiliaryLoopInductionVars()
|
D | hlo_query.cc | 106 return instruction->IsConstant() && ShapeUtil::IsScalar(instruction->shape()); in IsScalarConstant()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | loop_optimizer.cc | 265 } 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()
|
D | model_pruner.cc | 74 if (IsConstant(node) && node.input().empty() && in IsTrivialOp() 112 if (IsConstant(node) && node.input().empty() && in CanRemoveNode()
|
/external/llvm/include/llvm/IR/ |
D | MDBuilder.h | 159 uint64_t Offset, bool IsConstant = false);
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | eval_const_tensor.cc | 265 } else if (!current_node->IsConstant()) { in ExtractConstantSubgraph() 360 if (src->IsConstant()) { in EvaluateConstantTensor()
|
D | constant_folding.cc | 225 if (n->IsConstant()) { in IsConstantFoldable() 339 if (!n->IsConstant()) { in ConsiderConstantFoldableNode() 514 if (tensor.first->IsConstant()) { in ReplaceTensorWithConstant()
|
/external/tensorflow/tensorflow/core/graph/ |
D | graph.h | 166 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/ |
D | MDBuilder.h | 192 uint64_t Offset, bool IsConstant = false);
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | MDBuilder.h | 188 uint64_t Offset, bool IsConstant = false);
|
/external/tensorflow/tensorflow/compiler/xla/service/spmd/ |
D | spmd_partitioner_util.h | 153 bool IsConstant() const { return multiplier_ == 0; } in IsConstant() function 195 bool IsConstant() const;
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | deadness_analysis_test.cc | 707 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()
|
D | clone_constants_for_better_clustering.cc | 91 if (!n->IsConstant()) { in IsSmallHostConstant()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | MDBuilder.cpp | 238 uint64_t Offset, bool IsConstant) { in createTBAAStructTagNode() argument 241 if (IsConstant) { in createTBAAStructTagNode()
|
/external/llvm-project/llvm/lib/IR/ |
D | MDBuilder.cpp | 234 uint64_t Offset, bool IsConstant) { in createTBAAStructTagNode() argument 237 if (IsConstant) { in createTBAAStructTagNode()
|
/external/llvm-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyISelLowering.cpp | 1576 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()
|