/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 | CGExprConstant.cpp | 1041 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(E->getType()); in EmitConstantInit() local 1042 C = llvm::ConstantExpr::getZExt(C, BoolTy); in EmitConstantInit() 1066 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(E->getType()); in EmitConstantExpr() local 1067 C = llvm::ConstantExpr::getZExt(C, BoolTy); in EmitConstantExpr() 1279 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(DestType); in EmitConstantValueForMemory() local 1280 C = llvm::ConstantExpr::getZExt(C, BoolTy); in EmitConstantValueForMemory()
|
D | CGObjCGNU.cpp | 160 llvm::Type *BoolTy; member in __anonbf5e84120111::CGObjCGNU 909 BoolTy = CGM.getTypes().ConvertType(CGM.getContext().BoolTy); in CGObjCGNU() 965 PtrDiffTy, BoolTy, nullptr); in CGObjCGNU() 968 PtrDiffTy, IdTy, BoolTy, BoolTy, nullptr); in CGObjCGNU() 971 PtrDiffTy, BoolTy, BoolTy, nullptr); in CGObjCGNU() 974 PtrDiffTy, BoolTy, BoolTy, nullptr); in CGObjCGNU()
|
D | CGObjC.cpp | 528 args.add(RValue::get(CGF.Builder.getInt1(isAtomic)), Context.BoolTy); in emitStructGetterCall() 529 args.add(RValue::get(CGF.Builder.getInt1(hasStrong)), Context.BoolTy); in emitStructGetterCall() 887 getContext().BoolTy); in generateObjCGetterBody() 1000 args.add(RValue::get(CGF.Builder.getTrue()), CGF.getContext().BoolTy); in emitStructSetterCall() 1004 args.add(RValue::get(CGF.Builder.getFalse()), CGF.getContext().BoolTy); in emitStructSetterCall() 1187 getContext().BoolTy); in generateObjCSetterBody() 1189 getContext().BoolTy); in generateObjCSetterBody()
|
D | CGException.cpp | 1308 QualType ArgTys[2] = {Context.BoolTy, Context.VoidPtrTy}; in Emit() 1535 &getContext().Idents.get("abnormal_termination"), getContext().BoolTy)); in GenerateSEHFinallyFunction()
|
D | CGAtomic.cpp | 808 RetTy = getContext().BoolTy; in EmitAtomicExpr() 1361 CGF.getContext().BoolTy, Args); in EmitAtomicCompareExchangeLibcall()
|
D | CGExpr.cpp | 97 QualType BoolTy = getContext().BoolTy; in EvaluateExprAsBool() local 99 return EmitScalarConversion(EmitScalarExpr(E), E->getType(), BoolTy); in EvaluateExprAsBool() 101 return EmitComplexToScalarConversion(EmitComplexExpr(E), E->getType(),BoolTy); in EvaluateExprAsBool()
|
D | CGOpenMPRuntime.cpp | 1067 CGF.getContext().BoolTy); in emitIfStmt() 1414 CGF.getContext().BoolTy); in emitForNext()
|
D | CGObjCMac.cpp | 245 Params.push_back(Ctx.BoolTy); in getGetPropertyFn() 264 Params.push_back(Ctx.BoolTy); in getSetPropertyFn() 265 Params.push_back(Ctx.BoolTy); in getSetPropertyFn() 317 Params.push_back(Ctx.BoolTy); in getCopyStructFn() 318 Params.push_back(Ctx.BoolTy); in getCopyStructFn()
|
D | CGStmtOpenMP.cpp | 1135 BinaryOperator Cond(&IVRefExpr, &UBRefExpr, BO_LE, C.BoolTy, VK_RValue, in emitSections()
|
D | CGExprScalar.cpp | 2910 return EmitScalarConversion(Result, CGF.getContext().BoolTy, E->getType()); in EmitCompare() 2979 return EmitScalarConversion(Result, CGF.getContext().BoolTy, E->getType()); in EmitCompare()
|
D | ItaniumCXXABI.cpp | 3127 getContext().BoolTy, getContext().WCharTy, in EmitFundamentalRTTIDescriptors()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleConstraintManager.cpp | 81 Cond = SVB.evalCast(*LV, SVB.getContext().BoolTy, T).castAs<DefinedSVal>(); in assume()
|
D | SimpleSValBuilder.cpp | 708 QualType boolType = getContext().BoolTy; in evalBinOpLL()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SValBuilder.h | 127 return Context.getLangOpts().CPlusPlus ? Context.BoolTy : Context.IntTy; in getConditionType()
|
/external/clang/lib/Analysis/ |
D | BodyFarm.cpp | 144 return ImplicitCastExpr::Create(C, C.BoolTy, CK_IntegralToBoolean, in makeIntegralCastToBoolean()
|
/external/clang/lib/Sema/ |
D | SemaOverload.cpp | 1566 FromType = S.Context.BoolTy; in IsStandardConversion() 2614 if (Context.hasSameUnqualifiedType(From->getType(), Context.BoolTy)) in CheckPointerConversion() 4916 return TryImplicitConversion(S, From, S.Context.BoolTy, in TryContextuallyConvertToBool() 4933 return PerformImplicitConversion(From, Context.BoolTy, ICS, AA_Converting); in PerformContextuallyConvertToBool() 4935 if (!DiagnoseMultipleUserDefinedConversion(From, Context.BoolTy)) in PerformContextuallyConvertToBool() 6659 assert(ParamTys[ArgIdx] == Context.BoolTy && in AddBuiltinCandidate() 7089 &ASTContext::BoolTy, in getArithmeticType() 7417 S.AddBuiltinCandidate(S.Context.BoolTy, ParamTypes, Args, CandidateSet); in addEqualEqualOrNotEqualMemberPointerOverloads() 7492 S.AddBuiltinCandidate(S.Context.BoolTy, ParamTypes, Args, CandidateSet); in addRelationalPointerOrEnumeralOverloads() 7508 S.AddBuiltinCandidate(S.Context.BoolTy, ParamTypes, Args, CandidateSet); in addRelationalPointerOrEnumeralOverloads() [all …]
|
D | SemaExprCXX.cpp | 592 CXXBoolLiteralExpr(Kind == tok::kw_true, Context.BoolTy, OpLoc); in ActOnCXXBoolLiteral() 3061 From = ImpCastExprToType(From, Context.BoolTy, in PerformImplicitConversion() 4193 ExpressionTraitExpr(KWLoc, ET, Queried, Value, RParen, Context.BoolTy); in BuildExpressionTrait() 5803 CXXNoexceptExpr(Context.BoolTy, Operand, CanThrow, KeyLoc, RParen); in BuildCXXNoexceptExpr()
|
D | SemaChecking.cpp | 1563 ResultType = Context.BoolTy; in SemaAtomicOpsOverloaded() 1600 Ty = Context.BoolTy; in SemaAtomicOpsOverloaded() 1953 ResultType = Context.BoolTy; in SemaBuiltinAtomicOverloaded() 6861 CheckImplicitConversion(S, E->IgnoreParenImpCasts(), S.Context.BoolTy, CC); in CheckBoolLikeConversion()
|
D | SemaExpr.cpp | 4899 Context.BoolTy, VK_RValue, in BuildResolvedCallExpr() 4902 TheCall = new (Context) CallExpr(Context, Fn, Args, Context.BoolTy, in BuildResolvedCallExpr() 6973 if (LHSType == Context.BoolTy) { in CheckAssignmentConstraints() 6990 if (LHSType == Context.BoolTy) { in CheckAssignmentConstraints() 8940 return Context.BoolTy; in CheckLogicalOperands() 10584 Input = ImpCastExprToType(Input.get(), Context.BoolTy, in CreateBuiltinUnaryOp()
|
/external/lldb/source/Symbol/ |
D | ClangASTContext.cpp | 764 clang_type = ast->BoolTy.getAsOpaquePtr(); in GetBasicType() 828 if (QualTypeMatchesBitSize (bit_size, ast, ast->BoolTy)) in GetBuiltinTypeForDWARFEncodingAndBitSize() 829 return ClangASTType (ast, ast->BoolTy.getAsOpaquePtr()); in GetBuiltinTypeForDWARFEncodingAndBitSize()
|
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
D | AppleObjCTypeVendor.cpp | 474 return ast_ctx.BoolTy; in BuildType()
|
/external/clang/include/clang/AST/ |
D | BuiltinTypes.def | 64 UNSIGNED_TYPE(Bool, BoolTy)
|
D | ASTContext.h | 790 CanQualType BoolTy; variable 1390 return getLangOpts().CPlusPlus ? BoolTy : IntTy; in getLogicalOperationType()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 943 InitBuiltinType(BoolTy, BuiltinType::Bool); in InitBuiltinTypes() 1045 SignedCharTy : BoolTy); in InitBuiltinTypes() 4479 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank() 7661 Type = Context.BoolTy; in DecodeTypeFromStr()
|