Searched refs:ConstantType (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | test_utils.cc | 345 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/ |
D | SkSLSPIRVCodeGenerator.h | 60 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;
|
D | SkSLSPIRVCodeGenerator.cpp | 2434 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/ |
D | Overload.h | 232 QualType &ConstantType) const;
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringMIPS32.cpp | 5777 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()
|
D | IceTargetLoweringARM32.cpp | 7256 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/ |
D | SemaInit.cpp | 7749 QualType ConstantType; in DiagnoseNarrowingInInitList() local 7751 ConstantType)) { in DiagnoseNarrowingInInitList() 7776 << ConstantValue.getAsString(S.getASTContext(), ConstantType) in DiagnoseNarrowingInInitList()
|
D | SemaOverload.cpp | 289 QualType &ConstantType) const { in getNarrowingKind() 341 ConstantType = Initializer->getType(); in getNarrowingKind() 372 ConstantType = Initializer->getType(); in getNarrowingKind() 427 ConstantType = Initializer->getType(); in getNarrowingKind()
|