Home
last modified time | relevance | path

Searched refs:PT_Bool (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DPrimType.h43 PT_Bool, enumerator
62 constexpr bool isIntegralType(PrimType T) { return T <= PT_Bool; } in isIntegralType()
81 template <> struct PrimConv<PT_Bool> { using T = Boolean; };
123 TYPE_SWITCH_CASE(PT_Bool, B) \
142 TYPE_SWITCH_CASE(PT_Bool, B) \
H A DByteCodeExprGen.cpp252 if (!this->emitCast(*ElemT, PT_Bool, CE)) in VisitCastExpr()
271 if (!this->emitCast(*ElemT, PT_Bool, CE)) in VisitCastExpr()
419 if (T != PT_Bool) in VisitBinaryOperator()
420 return this->emitCast(PT_Bool, *T, BO); in VisitBinaryOperator()
593 if (T != PT_Bool) in VisitLogicalBinOp()
594 return this->emitCast(PT_Bool, *T, E); in VisitLogicalBinOp()
1915 if (T == PT_Bool) in visitBool()
1930 return this->emitCast(*T, PT_Bool, E); in visitBool()
1937 case PT_Bool: in visitZeroInitializer()
2205 case PT_Bool: in emitConst()
[all …]
H A DInterpStack.h158 return PT_Bool; in toPrimType()
H A DContext.cpp137 return PT_Bool; in classify()
H A DInterp.h464 using BoolT = PrimConv<PT_Bool>::T; in Inv()
695 using BoolT = PrimConv<PT_Bool>::T; in CmpHelper()
732 using BoolT = PrimConv<PT_Bool>::T;
752 using BoolT = PrimConv<PT_Bool>::T;
H A DInterpBuiltin.cpp170 RET_CASE(PT_Bool); in retPrimValue()