Home
last modified time | relevance | path

Searched refs:ConstantType (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/tests/
Dtest_utils.cc345 enum class ConstantType { kUnknown, kZero, kOne }; enum
348 ConstantType GetInitValue(const HloComputation& computation) { in GetInitValue()
355 return ConstantType::kUnknown; in GetInitValue()
360 return ConstantType::kZero; in GetInitValue()
362 return ConstantType::kOne; in GetInitValue()
364 return ConstantType::kUnknown; in GetInitValue()
444 ConstantType constant_type = ConstantType::kUnknown; in CreateLiteralForConstrainedUses()
516 case ConstantType::kZero: in CreateLiteralForConstrainedUses()
518 case ConstantType::kOne: in CreateLiteralForConstrainedUses()
520 case ConstantType::kUnknown: in CreateLiteralForConstrainedUses()
/external/skia/src/sksl/
DSkSLSPIRVCodeGenerator.h60 enum class ConstantType { enum
73 struct hash<std::pair<ConstantValue, ConstantType>> {
74 size_t operator()(const std::pair<ConstantValue, ConstantType>& key) const {
387 std::unordered_map<std::pair<ConstantValue, ConstantType>, SpvId> fNumberConstants;
DSkSLSPIRVCodeGenerator.cpp2434 ConstantType type; in writeIntLiteral()
2436 type = ConstantType::kInt; in writeIntLiteral()
2438 type = ConstantType::kUInt; in writeIntLiteral()
2440 type = ConstantType::kShort; in writeIntLiteral()
2442 type = ConstantType::kUShort; in writeIntLiteral()
2444 std::pair<ConstantValue, ConstantType> key(i.fValue, type); in writeIntLiteral()
2458 ConstantType type; in writeFloatLiteral()
2460 type = ConstantType::kHalf; in writeFloatLiteral()
2462 type = ConstantType::kFloat; in writeFloatLiteral()
2465 std::pair<ConstantValue, ConstantType> key(f.fValue, type); in writeFloatLiteral()
[all …]
/external/clang/include/clang/Sema/
DOverload.h232 QualType &ConstantType) const;
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringMIPS32.cpp5777 using ConstantType = ConstantFloat; typedef
5794 using ConstantType = ConstantDouble; typedef
5810 const typename ConstantPoolEmitterTraits<T>::ConstantType *Const) { in emitConstant()
5841 emitConstant<T>(Str, llvm::dyn_cast<typename Traits::ConstantType>(C)); in emitConstantPool()
DIceTargetLoweringARM32.cpp7256 using ConstantType = ConstantFloat; typedef
7273 using ConstantType = ConstantDouble; typedef
7289 const typename ConstantPoolEmitterTraits<T>::ConstantType *Const) { in emitConstant()
7324 emitConstant<T>(Str, llvm::dyn_cast<typename Traits::ConstantType>(C)); in emitConstantPool()
/external/clang/lib/Sema/
DSemaInit.cpp7749 QualType ConstantType; in DiagnoseNarrowingInInitList() local
7751 ConstantType)) { in DiagnoseNarrowingInInitList()
7776 << ConstantValue.getAsString(S.getASTContext(), ConstantType) in DiagnoseNarrowingInInitList()
DSemaOverload.cpp289 QualType &ConstantType) const { in getNarrowingKind()
341 ConstantType = Initializer->getType(); in getNarrowingKind()
372 ConstantType = Initializer->getType(); in getNarrowingKind()
427 ConstantType = Initializer->getType(); in getNarrowingKind()