/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | compute_constant_test.cc | 89 bool IsConstant(const XlaOp& operand, XlaBuilder* builder) { in IsConstant() function in xla::__anond0fd8e770111::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/llvm/lib/IR/ |
D | MDBuilder.cpp | 167 uint64_t Offset, bool IsConstant) { in createTBAAStructTagNode() argument 170 if (IsConstant) { in createTBAAStructTagNode()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | ccp_pass.cpp | 144 assert(folded_inst->IsConstant() && "CCP is only interested in constant."); in VisitAssignment() 309 if (inst.IsConstant()) { in Initialize()
|
D | instruction.h | 407 inline bool IsConstant() const; 727 bool Instruction::IsConstant() const { in IsConstant() function
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | ccp_pass.cpp | 144 assert(folded_inst->IsConstant() && "CCP is only interested in constant."); in VisitAssignment() 309 if (inst.IsConstant()) { in Initialize()
|
D | instruction.h | 407 inline bool IsConstant() const; 727 bool Instruction::IsConstant() const { in IsConstant() function
|
/external/v8/src/compiler/ |
D | register-allocator-verifier.cc | 40 move->source().IsAllocated() || move->source().IsConstant(), in VerifyAllocatedGaps() 148 if (op->IsConstant()) { in BuildConstraint() 219 CHECK_WITH_MSG(op->IsConstant(), caller_info_); in CheckConstraint() 266 CHECK_WITH_MSG(op->IsRegister() || op->IsStackSlot() || op->IsConstant(), in CheckConstraint()
|
D | constant-folding-reducer.cc | 26 if (!NodeProperties::IsConstant(node) && NodeProperties::IsTyped(node) && in Reduce()
|
D | node-properties.h | 71 static bool IsConstant(Node* node) { in IsConstant() function
|
/external/swiftshader/third_party/subzero/src/ |
D | IceGlobalInits.h | 422 bool getIsConstant() const { return IsConstant; } in getIsConstant() 423 void setIsConstant(bool NewValue) { IsConstant = NewValue; } in setIsConstant() 496 bool IsConstant = false; variable
|
D | IceGlobalInits.cpp | 164 Stream << " " << (IsConstant ? "constant" : "global") << " "; in dump()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | loop_optimizer.cc | 267 } else if (IsConstant(*invariant_node)) { in MoveInvariantNodes() 282 if (!IsConstant(*node) && !IsEnter(*node) && iter->second > 0) { in RevertInvariantNodes() 308 if (IsControlInput(input) && !IsConstant(*producer) && in RevertInvariantNodes() 354 if (IsConstant(*producer)) { in FindInvariantNodes() 588 if (!IsConstant(node)) { in IsReallyConstant()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | eval_const_tensor.cc | 225 if (!current_node->IsConstant()) { in ExtractConstantSubgraph() 319 if (src->IsConstant()) { in EvaluateConstantTensor()
|
D | constant_folding.cc | 222 if (n->IsConstant()) { in IsConstantFoldable() 312 if (!n->IsConstant()) { in ConsiderConstantFoldableNode() 487 if (tensor.first->IsConstant()) { in ReplaceTensorWithConstant()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_query.cc | 104 return instruction->IsConstant() && ShapeUtil::IsScalar(instruction->shape()); in IsScalarConstant()
|
/external/tensorflow/tensorflow/core/graph/ |
D | graph.h | 156 bool IsConstant() const { return class_ == NC_CONSTANT; } in IsConstant() function 751 inline bool IsConstant(const Node* node) { return node->IsConstant(); } in IsConstant() function
|
/external/llvm/include/llvm/IR/ |
D | MDBuilder.h | 159 uint64_t Offset, bool IsConstant = false);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | MDBuilder.cpp | 195 uint64_t Offset, bool IsConstant) { in createTBAAStructTagNode() argument 198 if (IsConstant) { in createTBAAStructTagNode()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | MDBuilder.h | 177 uint64_t Offset, bool IsConstant = false);
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | cudnn_conv_rewriter.cc | 300 (reverse_filter->IsConstant() || is_1x1_filter))) { in MatchBackwardInput() 442 reverse_filter->IsConstant()) { in MatchBackwardInput()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | xla_expression.cc | 121 handle().builder()->IsConstant(handle())); in ResolveConstant()
|
D | functionalize_control_flow_test.cc | 818 ops::internal::Enter::Attrs().IsConstant(true)); in TEST() 821 ops::internal::Enter::Attrs().IsConstant(true)); in TEST() 824 ops::internal::Enter::Attrs().IsConstant(true)); in TEST() 837 ops::internal::Enter::Attrs().IsConstant(true)); in TEST() 840 ops::internal::Enter::Attrs().IsConstant(true)); in TEST()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | clone_constants_for_better_clustering.cc | 61 if (!n->IsConstant()) { in IsSmallHostConstant()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/AsmParser/ |
D | RISCVAsmParser.cpp | 523 bool IsConstant = false; in addExpr() local 525 IsConstant = RE->evaluateAsConstant(Imm); in addExpr() 527 IsConstant = true; in addExpr() 531 if (IsConstant) in addExpr()
|