Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DPrimType.h45 PT_Bool = 10, enumerator
122 template <> struct PrimConv<PT_Bool> {
175 TYPE_SWITCH_CASE(PT_Bool, B) \
195 TYPE_SWITCH_CASE(PT_Bool, B) \
H A DInterpBuiltinBitCast.cpp55 TYPE_SWITCH_CASE(PT_Bool, B) \
72 TYPE_SWITCH_CASE(PT_Bool, B) \
277 else if (T == PT_Bool && PackedBools) in readPointerToBuffer()
417 else if (T == PT_Bool && PackedBools) in DoBitCastPtr()
H A DCompiler.cpp907 if (T != PT_Bool) in VisitBinaryOperator()
908 return this->emitCast(PT_Bool, *T, BO); in VisitBinaryOperator()
1120 if (T != PT_Bool) in VisitLogicalBinOp()
1121 return this->emitCast(PT_Bool, *T, E); in VisitLogicalBinOp()
1402 bool NeedIntPromot = ElemT == PT_Bool && (E->isBitwiseOp() || E->isShiftOp()); in VisitVectorBinOp()
1414 if (!this->emitPrimCast(ElemT, PT_Bool, Ctx.getASTContext().BoolTy, E)) in VisitVectorBinOp()
1416 if (!this->emitPrimCast(PT_Bool, ResultElemT, VecTy->getElementType(), E)) in VisitVectorBinOp()
1519 if (!this->emitPrimCast(PT_Bool, ResultElemT, VecTy->getElementType(), E)) in VisitVectorBinOp()
1588 if (T != PT_Bool) in VisitFixedPointBinOp()
1589 return this->emitCast(PT_Bool, T, E); in VisitFixedPointBinOp()
[all …]
H A DInterpStack.h159 return PT_Bool; in toPrimType()
H A DContext.cpp264 return PT_Bool; in classify()
H A DDisasm.cpp275 case PT_Bool: in primTypeToString()
H A DInterp.h1029 using BoolT = PrimConv<PT_Bool>::T; in CmpHelper()
1043 using BoolT = PrimConv<PT_Bool>::T;
1097 using BoolT = PrimConv<PT_Bool>::T;
H A DInterpBuiltin.cpp1150 assert(*S.Ctx.classify(Call->getType()) == PT_Bool); in interp__builtin_is_aligned_up_down()