Home
last modified time | relevance | path

Searched refs:BoolTy (Results 1 – 25 of 29) 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.cpp1041 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()
DCGObjCGNU.cpp160 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()
DCGObjC.cpp528 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()
DCGException.cpp1308 QualType ArgTys[2] = {Context.BoolTy, Context.VoidPtrTy}; in Emit()
1535 &getContext().Idents.get("abnormal_termination"), getContext().BoolTy)); in GenerateSEHFinallyFunction()
DCGAtomic.cpp808 RetTy = getContext().BoolTy; in EmitAtomicExpr()
1361 CGF.getContext().BoolTy, Args); in EmitAtomicCompareExchangeLibcall()
DCGExpr.cpp97 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()
DCGOpenMPRuntime.cpp1067 CGF.getContext().BoolTy); in emitIfStmt()
1414 CGF.getContext().BoolTy); in emitForNext()
DCGObjCMac.cpp245 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()
DCGStmtOpenMP.cpp1135 BinaryOperator Cond(&IVRefExpr, &UBRefExpr, BO_LE, C.BoolTy, VK_RValue, in emitSections()
DCGExprScalar.cpp2910 return EmitScalarConversion(Result, CGF.getContext().BoolTy, E->getType()); in EmitCompare()
2979 return EmitScalarConversion(Result, CGF.getContext().BoolTy, E->getType()); in EmitCompare()
DItaniumCXXABI.cpp3127 getContext().BoolTy, getContext().WCharTy, in EmitFundamentalRTTIDescriptors()
/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/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValBuilder.h127 return Context.getLangOpts().CPlusPlus ? Context.BoolTy : Context.IntTy; in getConditionType()
/external/clang/lib/Analysis/
DBodyFarm.cpp144 return ImplicitCastExpr::Create(C, C.BoolTy, CK_IntegralToBoolean, in makeIntegralCastToBoolean()
/external/clang/lib/Sema/
DSemaOverload.cpp1566 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 …]
DSemaExprCXX.cpp592 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()
DSemaChecking.cpp1563 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()
DSemaExpr.cpp4899 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/
DClangASTContext.cpp764 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/
DAppleObjCTypeVendor.cpp474 return ast_ctx.BoolTy; in BuildType()
/external/clang/include/clang/AST/
DBuiltinTypes.def64 UNSIGNED_TYPE(Bool, BoolTy)
DASTContext.h790 CanQualType BoolTy; variable
1390 return getLangOpts().CPlusPlus ? BoolTy : IntTy; in getLogicalOperationType()
/external/clang/lib/AST/
DASTContext.cpp943 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()

12