/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | ExternalFunctions.cpp | 199 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke() local 200 args[ArgNo] = ffiTypeFor(ArgTy); in ffiInvoke() 201 ArgBytes += TD.getTypeStoreSize(ArgTy); in ffiInvoke() 211 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke() local 212 values[ArgNo] = ffiValueFor(ArgTy, ArgVals[ArgNo], ArgDataPtr); in ffiInvoke() 213 ArgDataPtr += TD.getTypeStoreSize(ArgTy); in ffiInvoke()
|
/external/llvm/lib/IR/ |
D | Module.cpp | 159 while (Type *ArgTy = va_arg(Args, Type*)) in getOrInsertFunction() local 160 ArgTys.push_back(ArgTy); in getOrInsertFunction() 177 while (Type *ArgTy = va_arg(Args, Type*)) in getOrInsertFunction() local 178 ArgTys.push_back(ArgTy); in getOrInsertFunction()
|
D | Type.cpp | 388 bool FunctionType::isValidArgumentType(Type *ArgTy) { in isValidArgumentType() argument 389 return ArgTy->isFirstClassType(); in isValidArgumentType()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | GenericTaintChecker.cpp | 437 const PointerType *ArgTy = in getPointedToSymbol() local 440 ArgTy ? ArgTy->getPointeeType(): QualType()); in getPointedToSymbol() 489 const Type *ArgTy = Arg->getType().getTypePtr(); in process() local 490 QualType PType = ArgTy->getPointeeType(); in process() 492 || (ArgTy->isReferenceType() && !Arg->getType().isConstQualified())) in process()
|
D | BasicObjCFoundationChecks.cpp | 781 QualType ArgTy = msg.getArgExpr(I)->getType(); in checkPreObjCMessage() local 782 if (ArgTy->isObjCObjectPointerType()) in checkPreObjCMessage() 786 if (ArgTy->isBlockPointerType()) in checkPreObjCMessage() 794 if (C.getASTContext().isObjCNSObjectType(ArgTy)) in checkPreObjCMessage() 798 if (coreFoundation::isCFObjectRef(ArgTy)) in checkPreObjCMessage() 819 ArgTy.print(os, C.getLangOpts()); in checkPreObjCMessage()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 3511 QualType ArgTy) { in CheckUnaryTypeTraitTypeCompleteness() argument 3572 if (const auto *RD = ArgTy->getAsCXXRecordDecl()) in CheckUnaryTypeTraitTypeCompleteness() 3575 Loc, ArgTy, diag::err_incomplete_type_used_in_type_trait_expr); in CheckUnaryTypeTraitTypeCompleteness() 3582 if (ArgTy->getAsCXXRecordDecl()) in CheckUnaryTypeTraitTypeCompleteness() 3584 Loc, ArgTy, diag::err_incomplete_type_used_in_type_trait_expr); in CheckUnaryTypeTraitTypeCompleteness() 3616 QualType ElTy = ArgTy; in CheckUnaryTypeTraitTypeCompleteness() 3617 if (ArgTy->isIncompleteArrayType()) in CheckUnaryTypeTraitTypeCompleteness() 3618 ElTy = S.Context.getAsArrayType(ArgTy)->getElementType(); in CheckUnaryTypeTraitTypeCompleteness() 4100 QualType ArgTy = TSI->getType(); in evaluateTypeTrait() local 4101 if (ArgTy->isVoidType() || ArgTy->isIncompleteArrayType()) in evaluateTypeTrait() [all …]
|
D | SemaTemplateDeduction.cpp | 4175 QualType ArgTy = Context.getTypeDeclType(Method->getParent()); in AddImplicitObjectParameterType() local 4176 ArgTy = Context.getQualifiedType(ArgTy, in AddImplicitObjectParameterType() 4179 ArgTy = Context.getRValueReferenceType(ArgTy); in AddImplicitObjectParameterType() 4181 ArgTy = Context.getLValueReferenceType(ArgTy); in AddImplicitObjectParameterType() 4182 ArgTypes.push_back(ArgTy); in AddImplicitObjectParameterType()
|
D | SemaExpr.cpp | 1514 QualType ArgTy[2]; in BuildCookedLiteralOperatorCall() local 1516 ArgTy[ArgIdx] = Args[ArgIdx]->getType(); in BuildCookedLiteralOperatorCall() 1517 if (ArgTy[ArgIdx]->isArrayType()) in BuildCookedLiteralOperatorCall() 1518 ArgTy[ArgIdx] = S.Context.getArrayDecayedType(ArgTy[ArgIdx]); in BuildCookedLiteralOperatorCall() 1527 if (S.LookupLiteralOperator(Scope, R, llvm::makeArrayRef(ArgTy, Args.size()), in BuildCookedLiteralOperatorCall() 1614 QualType ArgTy[] = { in ActOnStringLiteral() local 1619 switch (LookupLiteralOperator(UDLScope, R, ArgTy, in ActOnStringLiteral() 11169 QualType ArgTy = TInfo->getType(); in BuildBuiltinOffsetOf() local 11170 bool Dependent = ArgTy->isDependentType(); in BuildBuiltinOffsetOf() 11176 if (!Dependent && !ArgTy->isRecordType()) in BuildBuiltinOffsetOf() [all …]
|
D | SemaDeclAttr.cpp | 529 QualType ArgTy = ArgExp->getType(); in checkAttrArgsAreCapabilityObjs() local 537 ArgTy = DRE->getDecl()->getType(); in checkAttrArgsAreCapabilityObjs() 540 const RecordType *RT = getRecordType(ArgTy); in checkAttrArgsAreCapabilityObjs() 556 ArgTy = FD->getParamDecl(ParamIdxFromZero)->getType(); in checkAttrArgsAreCapabilityObjs() 564 if (!typeHasCapability(S, ArgTy) && !isCapabilityExpr(S, ArgExp)) in checkAttrArgsAreCapabilityObjs() 566 << Attr.getName() << ArgTy; in checkAttrArgsAreCapabilityObjs()
|
/external/llvm/lib/Target/ARM/ |
D | ARMFastISel.cpp | 2221 Type *ArgTy = Op->getType(); in ARMEmitLibcall() local 2223 if (!isTypeLegal(ArgTy, ArgVT)) return false; in ARMEmitLibcall() 2226 unsigned OriginalAlignment = DL.getABITypeAlignment(ArgTy); in ARMEmitLibcall() 2349 Type *ArgTy = (*i)->getType(); in SelectCall() local 2351 if (!isTypeLegal(ArgTy, ArgVT) && ArgVT != MVT::i16 && ArgVT != MVT::i8 && in SelectCall() 2359 unsigned OriginalAlignment = DL.getABITypeAlignment(ArgTy); in SelectCall() 3022 Type *ArgTy = I->getType(); in fastLowerArguments() local 3023 if (ArgTy->isStructTy() || ArgTy->isArrayTy() || ArgTy->isVectorTy()) in fastLowerArguments() 3026 EVT ArgVT = TLI.getValueType(DL, ArgTy); in fastLowerArguments()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 1940 Type *ArgTy = nullptr; in ParseParameterList() local 1943 if (ParseType(ArgTy, ArgLoc)) in ParseParameterList() 1946 if (ArgTy->isMetadataTy()) { in ParseParameterList() 1951 if (ParseOptionalParamAttrs(ArgAttrs) || ParseValue(ArgTy, V, PFS)) in ParseParameterList() 2043 Type *ArgTy = nullptr; in ParseArgumentList() local 2047 if (ParseType(ArgTy) || in ParseArgumentList() 2050 if (ArgTy->isVoidTy()) in ParseArgumentList() 2058 if (!FunctionType::isValidArgumentType(ArgTy)) in ParseArgumentList() 2062 ArgList.emplace_back(TypeLoc, ArgTy, AttributeSet::get(ArgTy->getContext(), in ParseArgumentList() 2075 if (ParseType(ArgTy) || ParseOptionalParamAttrs(Attrs)) return true; in ParseArgumentList() [all …]
|
/external/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 118 static bool isValidArgumentType(Type *ArgTy);
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 825 QualType ArgTy = Arg->getType(); in rewriteToNumberLiteral() local 829 if (Ctx.hasSameType(ArgTy, CallTy)) { in rewriteToNumberLiteral() 840 bool LitIsFloat = ArgTy->isFloatingType(); in rewriteToNumberLiteral()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 1586 Type *ArgTy = Arg->getType(); in insertSinCosCall() local 1598 ? static_cast<Type *>(VectorType::get(ArgTy, 2)) in insertSinCosCall() 1599 : static_cast<Type *>(StructType::get(ArgTy, ArgTy, nullptr)); in insertSinCosCall() 1602 ResTy = StructType::get(ArgTy, ArgTy, nullptr); in insertSinCosCall() 1607 ResTy, ArgTy, nullptr); in insertSinCosCall()
|
D | InlineFunction.cpp | 853 PointerType *ArgTy = cast<PointerType>(Arg->getType()); in HandleByValArgument() local 854 Type *AggTy = ArgTy->getElementType(); in HandleByValArgument()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCOpts.cpp | 1484 Type *ArgTy = Arg->getType(); in MoveCalls() local 1485 Type *ParamTy = PointerType::getUnqual(Type::getInt8Ty(ArgTy->getContext())); in MoveCalls() 1491 Value *MyArg = ArgTy == ParamTy ? Arg : in MoveCalls() 1502 Value *MyArg = ArgTy == ParamTy ? Arg : in MoveCalls()
|
/external/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 5550 ABIArgInfo classifyArgumentType(QualType ArgTy) const; 5676 llvm::Type *ArgTy = CGF.ConvertTypeForMem(Ty); in EmitVAArg() local 5677 llvm::Type *DirectTy = ArgTy; in EmitVAArg() 5689 ArgTy = AI.getCoerceToType(); in EmitVAArg() 5690 InFPRs = ArgTy->isFloatTy() || ArgTy->isDoubleTy(); in EmitVAArg() 5691 IsVector = ArgTy->isVectorTy(); in EmitVAArg() 6723 llvm::Type *ArgTy = CGT.ConvertType(Ty); in EmitVAArg() local 6725 AI.setCoerceToType(ArgTy); in EmitVAArg() 6731 llvm::Type *ArgPtrTy = llvm::PointerType::getUnqual(ArgTy); in EmitVAArg() 6958 llvm::Type *ArgTy = CGT.ConvertType(Ty); in EmitVAArg() local [all …]
|
D | CGExprCXX.cpp | 1499 QualType ArgTy = DeleteFTy->getParamType(0); in EmitDeleteCall() local 1500 llvm::Value *DeletePtr = Builder.CreateBitCast(Ptr, ConvertType(ArgTy)); in EmitDeleteCall() 1501 DeleteArgs.add(RValue::get(DeletePtr), ArgTy); in EmitDeleteCall()
|
D | CGExprScalar.cpp | 3370 llvm::Type *ArgTy = ConvertType(VE->getType()); in VisitVAArgExpr() local 3374 return Builder.CreateVAArg(ArgValue.getPointer(), ArgTy); in VisitVAArgExpr() 3380 if (ArgTy != Val->getType()) { in VisitVAArgExpr() 3381 if (ArgTy->isPointerTy() && !Val->getType()->isPointerTy()) in VisitVAArgExpr() 3382 Val = Builder.CreateIntToPtr(Val, ArgTy); in VisitVAArgExpr() 3384 Val = Builder.CreateTrunc(Val, ArgTy); in VisitVAArgExpr()
|
D | CGBuiltin.cpp | 2895 llvm::Type *ArgTy = CGF.ConvertType(Arg->getType()); in EmitCommonNeonSISDBuiltinExpr() local 2896 Function *F = CGF.LookupNeonLLVMIntrinsic(Int, Modifier, ArgTy, E); in EmitCommonNeonSISDBuiltinExpr() 2902 llvm::Type *ArgTy = ai->getType(); in EmitCommonNeonSISDBuiltinExpr() local 2904 ArgTy->getPrimitiveSizeInBits()) in EmitCommonNeonSISDBuiltinExpr() 2907 assert(ArgTy->isVectorTy() && !Ops[j]->getType()->isVectorTy()); in EmitCommonNeonSISDBuiltinExpr() 2911 CGF.Builder.CreateTruncOrBitCast(Ops[j], ArgTy->getVectorElementType()); in EmitCommonNeonSISDBuiltinExpr() 2913 CGF.Builder.CreateInsertElement(UndefValue::get(ArgTy), Ops[j], C0); in EmitCommonNeonSISDBuiltinExpr() 5197 llvm::Type *ArgTy = llvm::VectorType::get( in EmitAArch64BuiltinExpr() local 5199 llvm::Type* Tys[2] = { VTy, ArgTy }; in EmitAArch64BuiltinExpr() 6444 QualType ArgTy = E->getArg(1)->getType(); in EmitX86BuiltinExpr() local [all …]
|
D | CGDecl.cpp | 506 QualType ArgTy = FnInfo.arg_begin()->type; in Emit() local 508 CGF.Builder.CreateBitCast(Addr, CGF.ConvertType(ArgTy)); in Emit()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 6208 QualType ArgTy = E->getArg(0)->getType(); in EvaluateBuiltinClassifyType() local 6209 if (ArgTy->isVoidType()) in EvaluateBuiltinClassifyType() 6211 else if (ArgTy->isEnumeralType()) in EvaluateBuiltinClassifyType() 6213 else if (ArgTy->isBooleanType()) in EvaluateBuiltinClassifyType() 6215 else if (ArgTy->isCharType()) in EvaluateBuiltinClassifyType() 6217 else if (ArgTy->isIntegerType()) in EvaluateBuiltinClassifyType() 6219 else if (ArgTy->isPointerType()) in EvaluateBuiltinClassifyType() 6221 else if (ArgTy->isReferenceType()) in EvaluateBuiltinClassifyType() 6223 else if (ArgTy->isRealType()) in EvaluateBuiltinClassifyType() 6225 else if (ArgTy->isComplexType()) in EvaluateBuiltinClassifyType() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.cpp | 1095 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandChainLibCall() local 1097 Entry.Ty = ArgTy; in ExpandChainLibCall()
|
D | LegalizeDAG.cpp | 2201 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandLibCall() local 2203 Entry.Ty = ArgTy; in ExpandLibCall() 2283 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandChainLibCall() local 2285 Entry.Ty = ArgTy; in ExpandChainLibCall() 2370 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandDivRemLibCall() local 2372 Entry.Ty = ArgTy; in ExpandDivRemLibCall()
|
/external/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 2746 Type *ArgTy = Arg.getType(); in fastLowerArguments() local 2747 if (ArgTy->isStructTy() || ArgTy->isArrayTy() || ArgTy->isVectorTy()) in fastLowerArguments() 2750 EVT ArgVT = TLI.getValueType(DL, ArgTy); in fastLowerArguments()
|