Home
last modified time | relevance | path

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

/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/
DMicrosoftCXXABI.cpp174 ArgTys.push_back(CGM.getContext().BoolTy); in BuildDestructorSignature()
209 Context.BoolTy); in BuildInstanceFunctionParams()
285 ImplicitParam, Context.BoolTy, 0, 0); in EmitVirtualDestructorCall()
DCGExprConstant.cpp1044 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()
DCGObjCGNU.cpp159 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()
DCGObjC.cpp506 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()
DCGRTTI.cpp1012 Context.BoolTy, Context.WCharTy, in EmitFundamentalRTTIDescriptors()
DCGExpr.cpp93 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()
DCGAtomic.cpp450 RetTy = getContext().BoolTy; in EmitAtomicExpr()
DCGObjCMac.cpp243 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()
DCGExprScalar.cpp2671 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/
DSValBuilder.h126 return Context.getLangOpts().CPlusPlus ? Context.BoolTy : Context.IntTy; in getConditionType()
/external/clang/lib/Analysis/
DBodyFarm.cpp141 return ImplicitCastExpr::Create(C, C.BoolTy, CK_IntegralToBoolean, in makeIntegralCastToBoolean()
/external/clang/lib/Sema/
DSemaExprCXX.cpp486 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 …]
DSemaOverload.cpp1582 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 …]
DSemaExpr.cpp4105 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()
DSemaChecking.cpp821 ResultType = Context.BoolTy; in SemaAtomicOpsOverloaded()
858 Ty = Context.BoolTy; in SemaAtomicOpsOverloaded()
1171 ResultType = Context.BoolTy; in SemaBuiltinAtomicOverloaded()
DSemaExprObjC.cpp317 Inner = ImpCastExprToType(Inner.get(), Context.BoolTy, in ActOnObjCBoolLiteral()
DSemaType.cpp875 case DeclSpec::TST_bool: Result = Context.BoolTy; break; // _Bool or bool in ConvertDeclSpecToType()
DSemaDeclCXX.cpp8318 BO_NE, S.Context.BoolTy, in buildSingleCopyAssignRecursively()
11851 Context.BoolTy) && in checkExceptionSpecification()
/external/clang/include/clang/AST/
DBuiltinTypes.def64 UNSIGNED_TYPE(Bool, BoolTy)
DASTContext.h741 CanQualType BoolTy; variable
1292 return getLangOpts().CPlusPlus ? BoolTy : IntTy; in getLogicalOperationType()
/external/clang/lib/AST/
DASTContext.cpp817 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/
DASTReader.cpp4913 case PREDEF_TYPE_BOOL_ID: T = Context.BoolTy; break; in GetType()