/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | ExternalFunctions.cpp | 201 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke() local 202 args[ArgNo] = ffiTypeFor(ArgTy); in ffiInvoke() 203 ArgBytes += TD->getTypeStoreSize(ArgTy); in ffiInvoke() 213 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke() local 214 values[ArgNo] = ffiValueFor(ArgTy, ArgVals[ArgNo], ArgDataPtr); in ffiInvoke() 215 ArgDataPtr += TD->getTypeStoreSize(ArgTy); in ffiInvoke()
|
/external/llvm/lib/IR/ |
D | Module.cpp | 156 while (Type *ArgTy = va_arg(Args, Type*)) in getOrInsertFunction() local 157 ArgTys.push_back(ArgTy); in getOrInsertFunction() 174 while (Type *ArgTy = va_arg(Args, Type*)) in getOrInsertFunction() local 175 ArgTys.push_back(ArgTy); in getOrInsertFunction()
|
D | Type.cpp | 392 bool FunctionType::isValidArgumentType(Type *ArgTy) { in isValidArgumentType() argument 393 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/llvm/lib/Target/ARM/ |
D | ARMFastISel.cpp | 2223 Type *ArgTy = Op->getType(); in ARMEmitLibcall() local 2225 if (!isTypeLegal(ArgTy, ArgVT)) return false; in ARMEmitLibcall() 2228 unsigned OriginalAlignment = DL.getABITypeAlignment(ArgTy); in ARMEmitLibcall() 2351 Type *ArgTy = (*i)->getType(); in SelectCall() local 2353 if (!isTypeLegal(ArgTy, ArgVT) && ArgVT != MVT::i16 && ArgVT != MVT::i8 && in SelectCall() 2361 unsigned OriginalAlignment = DL.getABITypeAlignment(ArgTy); in SelectCall() 3021 Type *ArgTy = I->getType(); in fastLowerArguments() local 3022 if (ArgTy->isStructTy() || ArgTy->isArrayTy() || ArgTy->isVectorTy()) in fastLowerArguments() 3025 EVT ArgVT = TLI.getValueType(ArgTy); in fastLowerArguments()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 1364 Type *ArgTy = Arg->getType(); in insertSinCosCall() local 1376 ? static_cast<Type *>(VectorType::get(ArgTy, 2)) in insertSinCosCall() 1377 : static_cast<Type *>(StructType::get(ArgTy, ArgTy, nullptr)); in insertSinCosCall() 1380 ResTy = StructType::get(ArgTy, ArgTy, nullptr); in insertSinCosCall() 1385 ResTy, ArgTy, nullptr); in insertSinCosCall()
|
D | InlineFunction.cpp | 750 PointerType *ArgTy = cast<PointerType>(Arg->getType()); in HandleByValArgument() local 751 Type *AggTy = ArgTy->getElementType(); in HandleByValArgument()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 1816 Type *ArgTy = nullptr; in ParseParameterList() local 1819 if (ParseType(ArgTy, ArgLoc)) in ParseParameterList() 1822 if (ArgTy->isMetadataTy()) { in ParseParameterList() 1827 if (ParseOptionalParamAttrs(ArgAttrs) || ParseValue(ArgTy, V, PFS)) in ParseParameterList() 1867 Type *ArgTy = nullptr; in ParseArgumentList() local 1871 if (ParseType(ArgTy) || in ParseArgumentList() 1874 if (ArgTy->isVoidTy()) in ParseArgumentList() 1882 if (!FunctionType::isValidArgumentType(ArgTy)) in ParseArgumentList() 1886 ArgList.push_back(ArgInfo(TypeLoc, ArgTy, in ParseArgumentList() 1887 AttributeSet::get(ArgTy->getContext(), in ParseArgumentList() [all …]
|
/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/include/llvm/IR/ |
D | DerivedTypes.h | 118 static bool isValidArgumentType(Type *ArgTy);
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCOpts.cpp | 1482 Type *ArgTy = Arg->getType(); in MoveCalls() local 1483 Type *ParamTy = PointerType::getUnqual(Type::getInt8Ty(ArgTy->getContext())); in MoveCalls() 1489 Value *MyArg = ArgTy == ParamTy ? Arg : in MoveCalls() 1500 Value *MyArg = ArgTy == ParamTy ? Arg : in MoveCalls()
|
/external/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 4096 QualType ArgTy = Context.getTypeDeclType(Method->getParent()); in AddImplicitObjectParameterType() local 4097 ArgTy = Context.getQualifiedType(ArgTy, in AddImplicitObjectParameterType() 4100 ArgTy = Context.getRValueReferenceType(ArgTy); in AddImplicitObjectParameterType() 4102 ArgTy = Context.getLValueReferenceType(ArgTy); in AddImplicitObjectParameterType() 4103 ArgTypes.push_back(ArgTy); in AddImplicitObjectParameterType()
|
D | SemaExprCXX.cpp | 3235 QualType ArgTy) { in CheckUnaryTypeTraitTypeCompleteness() argument 3324 QualType ElTy = ArgTy; in CheckUnaryTypeTraitTypeCompleteness() 3325 if (ArgTy->isIncompleteArrayType()) in CheckUnaryTypeTraitTypeCompleteness() 3326 ElTy = S.Context.getAsArrayType(ArgTy)->getElementType(); in CheckUnaryTypeTraitTypeCompleteness() 3776 QualType ArgTy = Args[I]->getType(); in evaluateTypeTrait() local 3777 if (ArgTy->isVoidType() || ArgTy->isIncompleteArrayType()) in evaluateTypeTrait() 3780 if (S.RequireCompleteType(KWLoc, ArgTy, in evaluateTypeTrait()
|
D | SemaExpr.cpp | 1480 QualType ArgTy[2]; in BuildCookedLiteralOperatorCall() local 1482 ArgTy[ArgIdx] = Args[ArgIdx]->getType(); in BuildCookedLiteralOperatorCall() 1483 if (ArgTy[ArgIdx]->isArrayType()) in BuildCookedLiteralOperatorCall() 1484 ArgTy[ArgIdx] = S.Context.getArrayDecayedType(ArgTy[ArgIdx]); in BuildCookedLiteralOperatorCall() 1493 if (S.LookupLiteralOperator(Scope, R, llvm::makeArrayRef(ArgTy, Args.size()), in BuildCookedLiteralOperatorCall() 1580 QualType ArgTy[] = { in ActOnStringLiteral() local 1585 switch (LookupLiteralOperator(UDLScope, R, ArgTy, in ActOnStringLiteral() 10871 QualType ArgTy = TInfo->getType(); in BuildBuiltinOffsetOf() local 10872 bool Dependent = ArgTy->isDependentType(); in BuildBuiltinOffsetOf() 10878 if (!Dependent && !ArgTy->isRecordType()) in BuildBuiltinOffsetOf() [all …]
|
D | SemaDeclAttr.cpp | 528 QualType ArgTy = ArgExp->getType(); in checkAttrArgsAreCapabilityObjs() local 536 ArgTy = DRE->getDecl()->getType(); in checkAttrArgsAreCapabilityObjs() 539 const RecordType *RT = getRecordType(ArgTy); in checkAttrArgsAreCapabilityObjs() 555 ArgTy = FD->getParamDecl(ParamIdxFromZero)->getType(); in checkAttrArgsAreCapabilityObjs() 563 if (!typeHasCapability(S, ArgTy) && !isCapabilityExpr(S, ArgExp)) in checkAttrArgsAreCapabilityObjs() 565 << Attr.getName() << ArgTy; in checkAttrArgsAreCapabilityObjs()
|
/external/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 5147 ABIArgInfo classifyArgumentType(QualType ArgTy) const; 5264 llvm::Type *ArgTy = CGF.ConvertTypeForMem(Ty); in EmitVAArg() local 5265 llvm::Type *APTy = llvm::PointerType::getUnqual(ArgTy); in EmitVAArg() 5275 ArgTy = AI.getCoerceToType(); in EmitVAArg() 5276 InFPRs = ArgTy->isFloatTy() || ArgTy->isDoubleTy(); in EmitVAArg() 6244 llvm::Type *ArgTy = CGT.ConvertType(Ty); in EmitVAArg() local 6246 AI.setCoerceToType(ArgTy); in EmitVAArg() 6252 llvm::Type *ArgPtrTy = llvm::PointerType::getUnqual(ArgTy); in EmitVAArg() 6264 .CreateConstGEP1_32(Addr, 8 - getDataLayout().getTypeAllocSize(ArgTy), in EmitVAArg() 6475 llvm::Type *ArgTy = CGT.ConvertType(Ty); in EmitVAArg() local [all …]
|
D | CGExprCXX.cpp | 1393 QualType ArgTy = DeleteFTy->getParamType(0); in EmitDeleteCall() local 1394 llvm::Value *DeletePtr = Builder.CreateBitCast(Ptr, ConvertType(ArgTy)); in EmitDeleteCall() 1395 DeleteArgs.add(RValue::get(DeletePtr), ArgTy); in EmitDeleteCall()
|
D | CGExprScalar.cpp | 3369 llvm::Type *ArgTy = ConvertType(VE->getType()); in VisitVAArgExpr() local 3373 return Builder.CreateVAArg(ArgValue, ArgTy); in VisitVAArgExpr() 3379 if (ArgTy != Val->getType()) { in VisitVAArgExpr() 3380 if (ArgTy->isPointerTy() && !Val->getType()->isPointerTy()) in VisitVAArgExpr() 3381 Val = Builder.CreateIntToPtr(Val, ArgTy); in VisitVAArgExpr() 3383 Val = Builder.CreateTrunc(Val, ArgTy); in VisitVAArgExpr()
|
D | CGBuiltin.cpp | 2699 llvm::Type *ArgTy = CGF.ConvertType(Arg->getType()); in EmitCommonNeonSISDBuiltinExpr() local 2700 Function *F = CGF.LookupNeonLLVMIntrinsic(Int, Modifier, ArgTy, E); in EmitCommonNeonSISDBuiltinExpr() 2706 llvm::Type *ArgTy = ai->getType(); in EmitCommonNeonSISDBuiltinExpr() local 2708 ArgTy->getPrimitiveSizeInBits()) in EmitCommonNeonSISDBuiltinExpr() 2711 assert(ArgTy->isVectorTy() && !Ops[j]->getType()->isVectorTy()); in EmitCommonNeonSISDBuiltinExpr() 2715 CGF.Builder.CreateTruncOrBitCast(Ops[j], ArgTy->getVectorElementType()); in EmitCommonNeonSISDBuiltinExpr() 2717 CGF.Builder.CreateInsertElement(UndefValue::get(ArgTy), Ops[j], C0); in EmitCommonNeonSISDBuiltinExpr() 4884 llvm::Type *ArgTy = llvm::VectorType::get( in EmitAArch64BuiltinExpr() local 4886 llvm::Type* Tys[2] = { VTy, ArgTy }; in EmitAArch64BuiltinExpr() 6072 QualType ArgTy = E->getArg(1)->getType(); in EmitX86BuiltinExpr() local [all …]
|
D | CGDecl.cpp | 499 QualType ArgTy = FnInfo.arg_begin()->type; in Emit() local 501 CGF.Builder.CreateBitCast(Addr, CGF.ConvertType(ArgTy)); in Emit()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 6080 QualType ArgTy = E->getArg(0)->getType(); in EvaluateBuiltinClassifyType() local 6081 if (ArgTy->isVoidType()) in EvaluateBuiltinClassifyType() 6083 else if (ArgTy->isEnumeralType()) in EvaluateBuiltinClassifyType() 6085 else if (ArgTy->isBooleanType()) in EvaluateBuiltinClassifyType() 6087 else if (ArgTy->isCharType()) in EvaluateBuiltinClassifyType() 6089 else if (ArgTy->isIntegerType()) in EvaluateBuiltinClassifyType() 6091 else if (ArgTy->isPointerType()) in EvaluateBuiltinClassifyType() 6093 else if (ArgTy->isReferenceType()) in EvaluateBuiltinClassifyType() 6095 else if (ArgTy->isRealType()) in EvaluateBuiltinClassifyType() 6097 else if (ArgTy->isComplexType()) in EvaluateBuiltinClassifyType() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.cpp | 1073 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandChainLibCall() local 1075 Entry.Ty = ArgTy; in ExpandChainLibCall()
|
D | LegalizeDAG.cpp | 2053 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandLibCall() local 2054 Entry.Node = Node->getOperand(i); Entry.Ty = ArgTy; in ExpandLibCall() 2134 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandChainLibCall() local 2136 Entry.Ty = ArgTy; in ExpandChainLibCall() 2262 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandDivRemLibCall() local 2263 Entry.Node = Node->getOperand(i); Entry.Ty = ArgTy; in ExpandDivRemLibCall()
|
/external/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 2713 Type *ArgTy = Arg.getType(); in fastLowerArguments() local 2714 if (ArgTy->isStructTy() || ArgTy->isArrayTy() || ArgTy->isVectorTy()) in fastLowerArguments() 2717 EVT ArgVT = TLI.getValueType(ArgTy); in fastLowerArguments()
|