Lines Matching refs:PT_Bool
907 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()
3806 assert(classifyPrim(E->getType()) == PT_Bool); in VisitRequiresExpr()
3815 assert(classifyPrim(E->getType()) == PT_Bool); in VisitConceptSpecializationExpr()
4153 if (T == PT_Bool) in visitBool()
4165 return this->emitCast(*T, PT_Bool, E); in visitBool()
4175 case PT_Bool: in visitZeroInitializer()
4348 case PT_Bool: in emitConst()
6254 if (PrimType ET = classifyPrim(E->getType()); ET != PT_Bool) in VisitUnaryOperator()
6255 return this->emitCast(PT_Bool, ET, E); in VisitUnaryOperator()
6380 if (PrimType ET = classifyPrim(E->getType()); ET != PT_Bool) in VisitComplexUnaryOperator()
6381 return this->emitCast(PT_Bool, ET, E); in VisitComplexUnaryOperator()
6493 if (!this->emitPrimCast(ElemT, PT_Bool, Ctx.getASTContext().BoolTy, E)) in VisitVectorUnaryOperator()
6497 if (!this->emitPrimCast(PT_Bool, ElemT, VecTy->getElementType(), E)) in VisitVectorUnaryOperator()
6513 if (ElemT == PT_Bool) { in VisitVectorUnaryOperator()
6732 if (isIntegralType(ToT) || ToT == PT_Bool) in emitPrimCast()
6736 if (isIntegralType(FromT) || FromT == PT_Bool) { in emitPrimCast()
6743 if (isIntegralType(ToT) || ToT == PT_Bool) in emitPrimCast()
6786 if (!this->emitCastFloatingIntegral(PT_Bool, getFPOptions(E), E)) in emitComplexBoolCast()
6789 if (!this->emitCast(ElemT, PT_Bool, E)) in emitComplexBoolCast()
6801 if (!this->emitCastFloatingIntegral(PT_Bool, getFPOptions(E), E)) in emitComplexBoolCast()
6804 if (!this->emitCast(ElemT, PT_Bool, E)) in emitComplexBoolCast()
6911 if (PrimType ResT = classifyPrim(E->getType()); ResT != PT_Bool) in emitComplexComparison()
6912 return this->emitCast(PT_Bool, ResT, E); in emitComplexComparison()