Home
last modified time | relevance | path

Searched refs:BoolTy (Results 1 – 25 of 34) sorted by relevance

12

/external/clang/test/CodeGen/
Dparameter-passing.c13 typedef _Bool BoolTy; typedef
21 static BoolTy bool_id(BoolTy a) { return a; } in bool_id()
27 static void bool_mul(BoolTy a) { result *= a; } in bool_mul()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp1231 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(E->getType()); in EmitConstantInit() local
1232 C = llvm::ConstantExpr::getZExt(C, BoolTy); in EmitConstantInit()
1256 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(E->getType()); in EmitConstantExpr() local
1257 C = llvm::ConstantExpr::getZExt(C, BoolTy); in EmitConstantExpr()
1477 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(DestType); in EmitConstantValueForMemory() local
1478 C = llvm::ConstantExpr::getZExt(C, BoolTy); in EmitConstantValueForMemory()
DCGObjCGNU.cpp153 llvm::Type *BoolTy; member in __anon13748a720111::CGObjCGNU
949 BoolTy = CGM.getTypes().ConvertType(CGM.getContext().BoolTy); in CGObjCGNU()
1005 PtrDiffTy, BoolTy, nullptr); in CGObjCGNU()
1008 PtrDiffTy, IdTy, BoolTy, BoolTy, nullptr); in CGObjCGNU()
1011 PtrDiffTy, BoolTy, BoolTy, nullptr); in CGObjCGNU()
1014 PtrDiffTy, BoolTy, BoolTy, nullptr); in CGObjCGNU()
DCGObjC.cpp589 args.add(RValue::get(CGF.Builder.getInt1(isAtomic)), Context.BoolTy); in emitStructGetterCall()
590 args.add(RValue::get(CGF.Builder.getInt1(hasStrong)), Context.BoolTy); in emitStructGetterCall()
951 getContext().BoolTy); in generateObjCGetterBody()
1065 args.add(RValue::get(CGF.Builder.getTrue()), CGF.getContext().BoolTy); in emitStructSetterCall()
1069 args.add(RValue::get(CGF.Builder.getFalse()), CGF.getContext().BoolTy); in emitStructSetterCall()
1245 getContext().BoolTy); in generateObjCSetterBody()
1247 getContext().BoolTy); in generateObjCSetterBody()
DCGAtomic.cpp861 RetTy = getContext().BoolTy; in EmitAtomicExpr()
1452 CGF.getContext().BoolTy, Args); in EmitAtomicCompareExchangeLibcall()
DCGExpr.cpp117 QualType BoolTy = getContext().BoolTy; in EvaluateExprAsBool() local
120 return EmitScalarConversion(EmitScalarExpr(E), E->getType(), BoolTy, Loc); in EvaluateExprAsBool()
122 return EmitComplexToScalarConversion(EmitComplexExpr(E), E->getType(), BoolTy, in EvaluateExprAsBool()
DCGObjCMac.cpp243 Ctx.getPointerDiffType()->getCanonicalTypeUnqualified(), Ctx.BoolTy}; in getGetPropertyFn()
261 Ctx.BoolTy, in getSetPropertyFn()
262 Ctx.BoolTy}; in getSetPropertyFn()
312 Params.push_back(Ctx.BoolTy); in getCopyStructFn()
313 Params.push_back(Ctx.BoolTy); in getCopyStructFn()
DCGExprScalar.cpp2904 return EmitScalarConversion(Result, CGF.getContext().BoolTy, E->getType(), in EmitCompare()
2967 return EmitScalarConversion(Result, CGF.getContext().BoolTy, E->getType(), in EmitCompare()
DCGOpenMPRuntime.cpp2603 CGF.getContext().BoolTy, Loc); in emitForNext()
3892 C.getIntTypeForBitwidth(C.getTypeSize(C.BoolTy), /*Signed=*/false); in emitTaskCall()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValBuilder.h132 return Context.getLangOpts().CPlusPlus ? Context.BoolTy : Context.IntTy; in getConditionType()
/external/clang/lib/StaticAnalyzer/Core/
DSimpleConstraintManager.cpp81 Cond = SVB.evalCast(*LV, SVB.getContext().BoolTy, T).castAs<DefinedSVal>(); in assume()
DSimpleSValBuilder.cpp708 QualType boolType = getContext().BoolTy; in evalBinOpLL()
/external/spirv-llvm/lib/SPIRV/
DSPIRVWriter.cpp1618 Type *BoolTy = IntegerType::getInt1Ty(M->getContext()); in transBuiltinToInstWithoutDecoration() local
1621 BoolTy = VectorType::get(BoolTy, ResultTy->getVectorNumElements()); in transBuiltinToInstWithoutDecoration()
1622 auto BBT = transType(BoolTy); in transBuiltinToInstWithoutDecoration()
/external/clang/lib/Analysis/
DBodyFarm.cpp141 return ImplicitCastExpr::Create(C, C.BoolTy, CK_IntegralToBoolean, in makeIntegralCastToBoolean()
/external/clang/include/clang/AST/
DBuiltinTypes.def64 UNSIGNED_TYPE(Bool, BoolTy)
DASTContext.h894 CanQualType BoolTy; variable
1545 return getLangOpts().CPlusPlus ? BoolTy : IntTy; in getLogicalOperationType()
/external/clang/lib/Sema/
DSemaOverload.cpp1660 FromType = S.Context.BoolTy; in IsStandardConversion()
2734 if (Context.hasSameUnqualifiedType(From->getType(), Context.BoolTy)) in CheckPointerConversion()
5036 return TryImplicitConversion(S, From, S.Context.BoolTy, in TryContextuallyConvertToBool()
5053 return PerformImplicitConversion(From, Context.BoolTy, ICS, AA_Converting); in PerformContextuallyConvertToBool()
5055 if (!DiagnoseMultipleUserDefinedConversion(From, Context.BoolTy)) in PerformContextuallyConvertToBool()
6797 assert(ParamTys[ArgIdx] == Context.BoolTy && in AddBuiltinCandidate()
7229 &ASTContext::BoolTy, in getArithmeticType()
7557 S.AddBuiltinCandidate(S.Context.BoolTy, ParamTypes, Args, CandidateSet); in addEqualEqualOrNotEqualMemberPointerOverloads()
7632 S.AddBuiltinCandidate(S.Context.BoolTy, ParamTypes, Args, CandidateSet); in addRelationalPointerOrEnumeralOverloads()
7648 S.AddBuiltinCandidate(S.Context.BoolTy, ParamTypes, Args, CandidateSet); in addRelationalPointerOrEnumeralOverloads()
[all …]
DSemaExprCXX.cpp632 CXXBoolLiteralExpr(Kind == tok::kw_true, Context.BoolTy, OpLoc); in ActOnCXXBoolLiteral()
3130 ? CheckConvertedConstantExpression(CondExpr, Context.BoolTy, Value, in CheckCXXBooleanCondition()
3597 From = ImpCastExprToType(From, Context.BoolTy, in PerformImplicitConversion()
4781 ExpressionTraitExpr(KWLoc, ET, Queried, Value, RParen, Context.BoolTy); in BuildExpressionTrait()
6423 CXXNoexceptExpr(Context.BoolTy, Operand, CanThrow, KeyLoc, RParen); in BuildCXXNoexceptExpr()
DSemaExpr.cpp5340 Context.BoolTy, VK_RValue, in BuildResolvedCallExpr()
5343 TheCall = new (Context) CallExpr(Context, Fn, Args, Context.BoolTy, in BuildResolvedCallExpr()
7562 if (LHSType == Context.BoolTy) { in CheckAssignmentConstraints()
7579 if (LHSType == Context.BoolTy) { in CheckAssignmentConstraints()
9638 return Context.BoolTy; in CheckLogicalOperands()
11416 Input = ImpCastExprToType(Input.get(), Context.BoolTy, in CreateBuiltinUnaryOp()
DSemaChecking.cpp2493 ResultType = Context.BoolTy; in SemaAtomicOpsOverloaded()
2539 Ty = Context.BoolTy; in SemaAtomicOpsOverloaded()
2892 ResultType = Context.BoolTy; in SemaBuiltinAtomicOverloaded()
8465 CheckImplicitConversion(S, E->IgnoreParenImpCasts(), S.Context.BoolTy, CC); in CheckBoolLikeConversion()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp454 MVT BoolTy = MVT::getVectorVT(MVT::i1, HwLen); in createHvxPrefixPred() local
455 SDValue Q = getInstr(Hexagon::V6_pred_scalar2, dl, BoolTy, in createHvxPrefixPred()
917 MVT BoolTy = MVT::getVectorVT(MVT::i1, HwLen); in insertHvxSubvectorPred() local
918 SDValue Q = getInstr(Hexagon::V6_pred_scalar2, dl, BoolTy, in insertHvxSubvectorPred()
DHexagonISelDAGToDAGHVX.cpp1197 MVT BoolTy = MVT::getVectorVT(MVT::i1, 8*HwLen); // XXX in vmuxs() local
1201 Results.push(Hexagon::V6_veqb, BoolTy, {OpRef(B), OpRef::res(-1)}); in vmuxs()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp68 IntegerType *BoolTy = Type::getInt1Ty(V->getContext()); in getNegativeIsTrueBoolVec() local
76 BoolVec.push_back(ConstantInt::get(BoolTy, Sign)); in getNegativeIsTrueBoolVec()
/external/clang/lib/AST/
DASTContext.cpp999 InitBuiltinType(BoolTy, BuiltinType::Bool); in InitBuiltinTypes()
1110 SignedCharTy : BoolTy); in InitBuiltinTypes()
4695 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank()
8194 Type = Context.BoolTy; in DecodeTypeFromStr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp96 IntegerType *BoolTy = Type::getInt1Ty(V->getContext()); in getNegativeIsTrueBoolVec() local
104 BoolVec.push_back(ConstantInt::get(BoolTy, Sign)); in getNegativeIsTrueBoolVec()

12