Home
last modified time | relevance | path

Searched refs:IsConstant (Results 1 – 25 of 103) 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::__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/
Dconst_op_test.cc29 EXPECT_TRUE(n->IsConstant()); in ExpectNodeEqual()
40 EXPECT_TRUE(n->IsConstant()); in ExpectTypeAndShape()
/external/llvm/lib/IR/
DMDBuilder.cpp167 uint64_t Offset, bool IsConstant) { in createTBAAStructTagNode() argument
170 if (IsConstant) { in createTBAAStructTagNode()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dccp_pass.cpp144 assert(folded_inst->IsConstant() && "CCP is only interested in constant."); in VisitAssignment()
309 if (inst.IsConstant()) { in Initialize()
Dinstruction.h407 inline bool IsConstant() const;
727 bool Instruction::IsConstant() const { in IsConstant() function
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dccp_pass.cpp144 assert(folded_inst->IsConstant() && "CCP is only interested in constant."); in VisitAssignment()
309 if (inst.IsConstant()) { in Initialize()
Dinstruction.h407 inline bool IsConstant() const;
727 bool Instruction::IsConstant() const { in IsConstant() function
/external/v8/src/compiler/
Dregister-allocator-verifier.cc40 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()
Dconstant-folding-reducer.cc26 if (!NodeProperties::IsConstant(node) && NodeProperties::IsTyped(node) && in Reduce()
Dnode-properties.h71 static bool IsConstant(Node* node) { in IsConstant() function
/external/swiftshader/third_party/subzero/src/
DIceGlobalInits.h422 bool getIsConstant() const { return IsConstant; } in getIsConstant()
423 void setIsConstant(bool NewValue) { IsConstant = NewValue; } in setIsConstant()
496 bool IsConstant = false; variable
DIceGlobalInits.cpp164 Stream << " " << (IsConstant ? "constant" : "global") << " "; in dump()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dloop_optimizer.cc267 } 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/
Deval_const_tensor.cc225 if (!current_node->IsConstant()) { in ExtractConstantSubgraph()
319 if (src->IsConstant()) { in EvaluateConstantTensor()
Dconstant_folding.cc222 if (n->IsConstant()) { in IsConstantFoldable()
312 if (!n->IsConstant()) { in ConsiderConstantFoldableNode()
487 if (tensor.first->IsConstant()) { in ReplaceTensorWithConstant()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_query.cc104 return instruction->IsConstant() && ShapeUtil::IsScalar(instruction->shape()); in IsScalarConstant()
/external/tensorflow/tensorflow/core/graph/
Dgraph.h156 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/
DMDBuilder.h159 uint64_t Offset, bool IsConstant = false);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DMDBuilder.cpp195 uint64_t Offset, bool IsConstant) { in createTBAAStructTagNode() argument
198 if (IsConstant) { in createTBAAStructTagNode()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DMDBuilder.h177 uint64_t Offset, bool IsConstant = false);
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_conv_rewriter.cc300 (reverse_filter->IsConstant() || is_1x1_filter))) { in MatchBackwardInput()
442 reverse_filter->IsConstant()) { in MatchBackwardInput()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_expression.cc121 handle().builder()->IsConstant(handle())); in ResolveConstant()
Dfunctionalize_control_flow_test.cc818 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/
Dclone_constants_for_better_clustering.cc61 if (!n->IsConstant()) { in IsSmallHostConstant()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/AsmParser/
DRISCVAsmParser.cpp523 bool IsConstant = false; in addExpr() local
525 IsConstant = RE->evaluateAsConstant(Imm); in addExpr()
527 IsConstant = true; in addExpr()
531 if (IsConstant) in addExpr()

12345