Searched refs:ConstantType (Results 1 – 9 of 9) sorted by relevance
454 enum class ConstantType { kUnknown, kZero, kOne }; enum457 ConstantType GetInitValue(const HloComputation& computation) { in GetInitValue()464 return ConstantType::kUnknown; in GetInitValue()469 return ConstantType::kZero; in GetInitValue()471 return ConstantType::kOne; in GetInitValue()473 return ConstantType::kUnknown; in GetInitValue()555 ConstantType constant_type = ConstantType::kUnknown; in CreateLiteralForConstrainedUses()634 case ConstantType::kZero: in CreateLiteralForConstrainedUses()636 case ConstantType::kOne: in CreateLiteralForConstrainedUses()638 case ConstantType::kUnknown: in CreateLiteralForConstrainedUses()
232 QualType &ConstantType) const;
363 APValue &ConstantValue, QualType &ConstantType,
5745 using ConstantType = ConstantFloat; typedef5762 using ConstantType = ConstantDouble; typedef5778 const typename ConstantPoolEmitterTraits<T>::ConstantType *Const) { in emitConstant()5805 emitConstant<T>(Str, llvm::dyn_cast<typename Traits::ConstantType>(C)); in emitConstantPool()
7236 using ConstantType = ConstantFloat; typedef7253 using ConstantType = ConstantDouble; typedef7269 const typename ConstantPoolEmitterTraits<T>::ConstantType *Const) { in emitConstant()7299 emitConstant<T>(Str, llvm::dyn_cast<typename Traits::ConstantType>(C)); in emitConstantPool()
7749 QualType ConstantType; in DiagnoseNarrowingInInitList() local7751 ConstantType)) { in DiagnoseNarrowingInInitList()7776 << ConstantValue.getAsString(S.getASTContext(), ConstantType) in DiagnoseNarrowingInInitList()
289 QualType &ConstantType) const { in getNarrowingKind()341 ConstantType = Initializer->getType(); in getNarrowingKind()372 ConstantType = Initializer->getType(); in getNarrowingKind()427 ConstantType = Initializer->getType(); in getNarrowingKind()
9723 QualType ConstantType; in DiagnoseNarrowingInInitList() local9725 ConstantType)) { in DiagnoseNarrowingInInitList()9750 << ConstantValue.getAsString(S.getASTContext(), ConstantType) in DiagnoseNarrowingInInitList()
313 QualType &ConstantType, bool IgnoreFloatToIntegralConversion) const { in getNarrowingKind() argument372 ConstantType = Initializer->getType(); in getNarrowingKind()408 ConstantType = Initializer->getType(); in getNarrowingKind()469 ConstantType = Initializer->getType(); in getNarrowingKind()