/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 | 1231 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()
|
D | CGObjCGNU.cpp | 153 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()
|
D | CGObjC.cpp | 589 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()
|
D | CGAtomic.cpp | 861 RetTy = getContext().BoolTy; in EmitAtomicExpr() 1452 CGF.getContext().BoolTy, Args); in EmitAtomicCompareExchangeLibcall()
|
D | CGExpr.cpp | 117 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()
|
D | CGObjCMac.cpp | 243 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()
|
D | CGExprScalar.cpp | 2904 return EmitScalarConversion(Result, CGF.getContext().BoolTy, E->getType(), in EmitCompare() 2967 return EmitScalarConversion(Result, CGF.getContext().BoolTy, E->getType(), in EmitCompare()
|
D | CGOpenMPRuntime.cpp | 2603 CGF.getContext().BoolTy, Loc); in emitForNext() 3892 C.getIntTypeForBitwidth(C.getTypeSize(C.BoolTy), /*Signed=*/false); in emitTaskCall()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SValBuilder.h | 132 return Context.getLangOpts().CPlusPlus ? Context.BoolTy : Context.IntTy; in getConditionType()
|
/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/spirv-llvm/lib/SPIRV/ |
D | SPIRVWriter.cpp | 1618 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/ |
D | BodyFarm.cpp | 141 return ImplicitCastExpr::Create(C, C.BoolTy, CK_IntegralToBoolean, in makeIntegralCastToBoolean()
|
/external/clang/include/clang/AST/ |
D | BuiltinTypes.def | 64 UNSIGNED_TYPE(Bool, BoolTy)
|
D | ASTContext.h | 894 CanQualType BoolTy; variable 1545 return getLangOpts().CPlusPlus ? BoolTy : IntTy; in getLogicalOperationType()
|
/external/clang/lib/Sema/ |
D | SemaOverload.cpp | 1660 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 …]
|
D | SemaExprCXX.cpp | 632 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()
|
D | SemaExpr.cpp | 5340 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()
|
D | SemaChecking.cpp | 2493 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/ |
D | HexagonISelLoweringHVX.cpp | 454 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()
|
D | HexagonISelDAGToDAGHVX.cpp | 1197 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/ |
D | InstCombineCalls.cpp | 68 IntegerType *BoolTy = Type::getInt1Ty(V->getContext()); in getNegativeIsTrueBoolVec() local 76 BoolVec.push_back(ConstantInt::get(BoolTy, Sign)); in getNegativeIsTrueBoolVec()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 999 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/ |
D | InstCombineCalls.cpp | 96 IntegerType *BoolTy = Type::getInt1Ty(V->getContext()); in getNegativeIsTrueBoolVec() local 104 BoolVec.push_back(ConstantInt::get(BoolTy, Sign)); in getNegativeIsTrueBoolVec()
|