/external/clang/test/CodeGen/ |
D | parameter-passing.c | 13 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/ |
D | MicrosoftCXXABI.cpp | 174 ArgTys.push_back(CGM.getContext().BoolTy); in BuildDestructorSignature() 209 Context.BoolTy); in BuildInstanceFunctionParams() 285 ImplicitParam, Context.BoolTy, 0, 0); in EmitVirtualDestructorCall()
|
D | CGExprConstant.cpp | 1044 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(E->getType()); in EmitConstantInit() local 1045 C = llvm::ConstantExpr::getZExt(C, BoolTy); in EmitConstantInit() 1069 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(E->getType()); in EmitConstantExpr() local 1070 C = llvm::ConstantExpr::getZExt(C, BoolTy); in EmitConstantExpr() 1252 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(DestType); in EmitConstantValueForMemory() local 1253 C = llvm::ConstantExpr::getZExt(C, BoolTy); in EmitConstantValueForMemory()
|
D | CGObjCGNU.cpp | 159 llvm::Type *BoolTy; member in __anoneae344580111::CGObjCGNU 903 BoolTy = CGM.getTypes().ConvertType(CGM.getContext().BoolTy); in CGObjCGNU() 959 PtrDiffTy, BoolTy, NULL); in CGObjCGNU() 962 PtrDiffTy, IdTy, BoolTy, BoolTy, NULL); in CGObjCGNU() 965 PtrDiffTy, BoolTy, BoolTy, NULL); in CGObjCGNU() 968 PtrDiffTy, BoolTy, BoolTy, NULL); in CGObjCGNU()
|
D | CGObjC.cpp | 506 args.add(RValue::get(CGF.Builder.getInt1(isAtomic)), Context.BoolTy); in emitStructGetterCall() 507 args.add(RValue::get(CGF.Builder.getInt1(hasStrong)), Context.BoolTy); in emitStructGetterCall() 865 getContext().BoolTy); in generateObjCGetterBody() 973 args.add(RValue::get(CGF.Builder.getTrue()), CGF.getContext().BoolTy); in emitStructSetterCall() 977 args.add(RValue::get(CGF.Builder.getFalse()), CGF.getContext().BoolTy); in emitStructSetterCall() 1162 getContext().BoolTy); in generateObjCSetterBody() 1164 getContext().BoolTy); in generateObjCSetterBody()
|
D | CGRTTI.cpp | 1012 Context.BoolTy, Context.WCharTy, in EmitFundamentalRTTIDescriptors()
|
D | CGExpr.cpp | 93 QualType BoolTy = getContext().BoolTy; in EvaluateExprAsBool() local 95 return EmitScalarConversion(EmitScalarExpr(E), E->getType(), BoolTy); in EvaluateExprAsBool() 97 return EmitComplexToScalarConversion(EmitComplexExpr(E), E->getType(),BoolTy); in EvaluateExprAsBool()
|
D | CGAtomic.cpp | 450 RetTy = getContext().BoolTy; in EmitAtomicExpr()
|
D | CGObjCMac.cpp | 243 Params.push_back(Ctx.BoolTy); in getGetPropertyFn() 262 Params.push_back(Ctx.BoolTy); in getSetPropertyFn() 263 Params.push_back(Ctx.BoolTy); in getSetPropertyFn() 315 Params.push_back(Ctx.BoolTy); in getCopyStructFn() 316 Params.push_back(Ctx.BoolTy); in getCopyStructFn()
|
D | CGExprScalar.cpp | 2671 return EmitScalarConversion(Result, CGF.getContext().BoolTy, E->getType()); in EmitCompare() 2722 return EmitScalarConversion(Result, CGF.getContext().BoolTy, E->getType()); in EmitCompare()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SValBuilder.h | 126 return Context.getLangOpts().CPlusPlus ? Context.BoolTy : Context.IntTy; in getConditionType()
|
/external/clang/lib/Analysis/ |
D | BodyFarm.cpp | 141 return ImplicitCastExpr::Create(C, C.BoolTy, CK_IntegralToBoolean, in makeIntegralCastToBoolean()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 486 Context.BoolTy, OpLoc)); in ActOnCXXBoolLiteral() 2687 From = ImpCastExprToType(From, Context.BoolTy, in PerformImplicitConversion() 3297 RParen, Context.BoolTy)); in BuildUnaryTypeTrait() 3439 return TypeTraitExpr::Create(Context, Context.BoolTy, KWLoc, Kind, in BuildTypeTrait() 3647 case BTT_IsBaseOf: ResultType = Context.BoolTy; break; in BuildBinaryTypeTrait() 3648 case BTT_IsConvertible: ResultType = Context.BoolTy; break; in BuildBinaryTypeTrait() 3649 case BTT_IsSame: ResultType = Context.BoolTy; break; in BuildBinaryTypeTrait() 3651 case BTT_IsConvertibleTo: ResultType = Context.BoolTy; break; in BuildBinaryTypeTrait() 3652 case BTT_IsTriviallyAssignable: ResultType = Context.BoolTy; in BuildBinaryTypeTrait() 3786 RParen, Context.BoolTy)); in BuildExpressionTrait() [all …]
|
D | SemaOverload.cpp | 1582 FromType = S.Context.BoolTy; in IsStandardConversion() 2660 if (Context.hasSameUnqualifiedType(From->getType(), Context.BoolTy)) in CheckPointerConversion() 4845 return TryImplicitConversion(S, From, S.Context.BoolTy, in TryContextuallyConvertToBool() 4862 return PerformImplicitConversion(From, Context.BoolTy, ICS, AA_Converting); in PerformContextuallyConvertToBool() 4864 if (!DiagnoseMultipleUserDefinedConversion(From, Context.BoolTy)) in PerformContextuallyConvertToBool() 6075 assert(ParamTys[ArgIdx] == Context.BoolTy && in AddBuiltinCandidate() 6514 &ASTContext::BoolTy, in getArithmeticType() 6843 S.AddBuiltinCandidate(S.Context.BoolTy, ParamTypes, Args, 2, in addEqualEqualOrNotEqualMemberPointerOverloads() 6919 S.AddBuiltinCandidate(S.Context.BoolTy, ParamTypes, Args, 2, in addRelationalPointerOrEnumeralOverloads() 6936 S.AddBuiltinCandidate(S.Context.BoolTy, ParamTypes, Args, 2, in addRelationalPointerOrEnumeralOverloads() [all …]
|
D | SemaExpr.cpp | 4105 Context.BoolTy, in BuildResolvedCallExpr() 4111 Context.BoolTy, in BuildResolvedCallExpr() 5913 if (LHSType == Context.BoolTy) { in CheckAssignmentConstraints() 5930 if (LHSType == Context.BoolTy) { in CheckAssignmentConstraints() 7598 return Context.BoolTy; in CheckLogicalOperands() 8936 Input = ImpCastExprToType(Input.take(), Context.BoolTy, in CreateBuiltinUnaryOp()
|
D | SemaChecking.cpp | 821 ResultType = Context.BoolTy; in SemaAtomicOpsOverloaded() 858 Ty = Context.BoolTy; in SemaAtomicOpsOverloaded() 1171 ResultType = Context.BoolTy; in SemaBuiltinAtomicOverloaded()
|
D | SemaExprObjC.cpp | 317 Inner = ImpCastExprToType(Inner.get(), Context.BoolTy, in ActOnObjCBoolLiteral()
|
D | SemaType.cpp | 875 case DeclSpec::TST_bool: Result = Context.BoolTy; break; // _Bool or bool in ConvertDeclSpecToType()
|
D | SemaDeclCXX.cpp | 8318 BO_NE, S.Context.BoolTy, in buildSingleCopyAssignRecursively() 11851 Context.BoolTy) && in checkExceptionSpecification()
|
/external/clang/include/clang/AST/ |
D | BuiltinTypes.def | 64 UNSIGNED_TYPE(Bool, BoolTy)
|
D | ASTContext.h | 741 CanQualType BoolTy; variable 1292 return getLangOpts().CPlusPlus ? BoolTy : IntTy; in getLogicalOperationType()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 817 InitBuiltinType(BoolTy, BuiltinType::Bool); in InitBuiltinTypes() 915 SignedCharTy : BoolTy); in InitBuiltinTypes() 4161 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank() 7368 Type = Context.BoolTy; in DecodeTypeFromStr()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 4913 case PREDEF_TYPE_BOOL_ID: T = Context.BoolTy; break; in GetType()
|