/external/clang/lib/Analysis/ |
H A D | CocoaConventions.cpp | 25 bool cocoa::isRefType(QualType RetTy, StringRef Prefix, argument 28 while (const TypedefType *TD = dyn_cast<TypedefType>(RetTy.getTypePtr())) { 35 RetTy = TD->getDecl()->getUnderlyingType(); 42 const PointerType* PT = RetTy->getAs<PointerType>();
|
/external/clang/lib/CodeGen/ |
H A D | CGAtomic.cpp | 618 QualType RetTy; local 633 RetTy = getContext().BoolTy; 657 RetTy = getContext().VoidTy; 714 RetTy = MemTy; 717 RetTy = getContext().VoidTy; 727 CGM.getTypes().arrangeFreeFunctionCall(RetTy, Args, 732 if (!RetTy->isVoidType())
|
H A D | CGBuiltin.cpp | 1655 llvm::Type *RetTy = VoidTy; local 1657 RetTy = ConvertType(BuiltinRetType); 1659 if (RetTy != V->getType()) { 1660 assert(V->getType()->canLosslesslyBitCastTo(RetTy) && 1662 V = Builder.CreateBitCast(V, RetTy);
|
H A D | CGCall.cpp | 72 static CanQualType GetReturnType(QualType RetTy) { argument 73 return RetTy->getCanonicalTypeUnqualified().getUnqualifiedType(); 1157 QualType RetTy = FI.getReturnType(); local 1163 if (RetTy->hasSignedIntegerRepresentation()) 1165 else if (RetTy->hasUnsignedIntegerRepresentation()) 1203 if (RetTy->isReferenceType()) 1345 QualType RetTy = FD->getReturnType().getUnqualifiedType(); local 1346 llvm::Type* LLVMTy = CGM.getTypes().ConvertType(RetTy); 1837 QualType RetTy = FI.getReturnType(); local 1844 assert(hasAggregateEvaluationKind(RetTy)); 2607 QualType RetTy = CallInfo.getReturnType(); local [all...] |
H A D | CGDebugInfo.cpp | 628 llvm::DICompositeType RetTy = DBuilder.createReplaceableForwardDecl( local 630 ReplaceMap.push_back(std::make_pair(Ty, static_cast<llvm::Value *>(RetTy))); 631 return RetTy; 1931 llvm::DIType RetTy = DBuilder.createReplaceableForwardDecl( local 1934 ReplaceMap.push_back(std::make_pair(Ty, static_cast<llvm::Value *>(RetTy))); 1935 return RetTy;
|
H A D | CGObjCGNU.cpp | 63 llvm::Type *RetTy, ...) { 69 va_start(Args, RetTy); 74 ArgTys.push_back(RetTy); 82 llvm::Type *RetTy = ArgTys.back(); 84 llvm::FunctionType *FTy = llvm::FunctionType::get(RetTy, ArgTys, false); 1439 llvm::PointerType *RetTy = cast<llvm::PointerType>(v->getType()); local 1441 CGF.CreateTempAlloca(RetTy->getElementType(), "null"); 1443 llvm::Constant::getNullValue(RetTy->getElementType())); 62 init(CodeGenModule *Mod, const char *name, llvm::Type *RetTy, ...) argument
|
H A D | CodeGenFunction.cpp | 522 QualType RetTy, 533 FnRetTy = RetTy; 600 getContext().getFunctionType(RetTy, ArgTypes, 611 if (RetTy->isVoidType()) { 635 ReturnValue = CreateIRTemp(RetTy, "retval"); 642 RetTy->isObjCRetainableType()) 521 StartFunction(GlobalDecl GD, QualType RetTy, llvm::Function *Fn, const CGFunctionInfo &FnInfo, const FunctionArgList &Args, SourceLocation Loc, SourceLocation StartLoc) argument
|
H A D | TargetInfo.cpp | 353 ABIArgInfo classifyReturnType(QualType RetTy) const; 354 ABIArgInfo classifyArgumentType(QualType RetTy) const; 390 ABIArgInfo DefaultABIInfo::classifyReturnType(QualType RetTy) const { 391 if (RetTy->isVoidType()) 394 if (isAggregateTypeForABI(RetTy)) 398 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) 399 RetTy = EnumTy->getDecl()->getIntegerType(); 401 return (RetTy->isPromotableIntegerType() ? 416 ABIArgInfo classifyReturnType(QualType RetTy) const; 417 ABIArgInfo classifyArgumentType(QualType RetTy) cons 669 classifyReturnType(QualType RetTy, CCState &State) const argument 4440 classifyReturnType(QualType RetTy, bool isVariadic) const argument 5286 returnAggregateInRegs(QualType RetTy, uint64_t Size) const argument [all...] |
/external/clang/lib/Sema/ |
H A D | SemaDeclAttr.cpp | 1438 QualType RetTy = FD->getReturnType(); local 1439 if (RetTy->isAnyPointerType() || RetTy->isBlockPointerType()) {
|
H A D | SemaExpr.cpp | 10499 QualType RetTy = Fn->getReturnType(); local 10509 if (RetTy != Context.DependentTy) { 10510 CurBlock->ReturnType = RetTy; 10595 QualType RetTy = Context.VoidTy; local 10597 RetTy = BSI->ReturnType; 10627 BlockTy = Context.getFunctionType(RetTy, None, EPI); 10631 } else if (FTy->getReturnType() == RetTy && 10641 BlockTy = Context.getFunctionType(RetTy, FPT->getParamTypes(), EPI); 10648 BlockTy = Context.getFunctionType(RetTy, None, EPI); 10665 if (getLangOpts().CPlusPlus && RetTy [all...] |
H A D | SemaType.cpp | 2041 static void diagnoseRedundantReturnTypeQualifiers(Sema &S, QualType RetTy, argument 2048 RetTy.getLocalCVRQualifiers(), 2081 unsigned AtomicQual = RetTy->isAtomicType() ? DeclSpec::TQ_atomic : 0; 2083 RetTy.getCVRQualifiers() | AtomicQual,
|
H A D | TreeTransform.h | 2739 QualType RetTy, 2745 return new (SemaRef.Context) AtomicExpr(BuiltinLoc, SubExprs, RetTy, Op, 9747 QualType RetTy = getDerived().TransformType(E->getType()); local 9760 RetTy, E->getOp(), E->getRParenLoc()); 2737 RebuildAtomicExpr(SourceLocation BuiltinLoc, MultiExprArg SubExprs, QualType RetTy, AtomicExpr::AtomicOp Op, SourceLocation RParenLoc) argument
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CallAndMessageChecker.cpp | 537 QualType RetTy = Msg.getResultType(); local 538 CanQualType CanRetTy = Ctx.getCanonicalType(RetTy); 543 SVal V = C.getSValBuilder().makeZeroVal(RetTy); 581 SVal V = C.getSValBuilder().makeZeroVal(RetTy);
|
H A D | RetainCountChecker.cpp | 732 QualType RetTy, 763 Selector S, QualType RetTy); 766 Optional<RetEffect> getRetEffectFromAnnotations(QualType RetTy, 1033 QualType RetTy = FT->getReturnType(); local 1045 S = (RetTy->isObjCIdType()) 1126 if (RetTy->isPointerType()) { 1128 if (cocoa::isRefType(RetTy, "CF", FName)) { 1147 if (cocoa::isRefType(RetTy, "CG", FName)) { 1157 if (cocoa::isRefType(RetTy, "DADisk") || 1158 cocoa::isRefType(RetTy, "DADissente 1273 getRetEffectFromAnnotations(QualType RetTy, const Decl *D) argument 1316 QualType RetTy = FD->getReturnType(); local 1347 QualType RetTy = MD->getReturnType(); local 1353 getStandardMethodSummary(const ObjCMethodDecl *MD, Selector S, QualType RetTy) argument 1482 getMethodSummary(Selector S, const ObjCInterfaceDecl *ID, const ObjCMethodDecl *MD, QualType RetTy, ObjCMethodSummariesTy &CachedSummaries) argument 2812 QualType RetTy = RetE->getType(); local [all...] |
/external/llvm/bindings/ocaml/llvm/ |
H A D | llvm_ocaml.c | 313 CAMLprim LLVMTypeRef llvm_function_type(LLVMTypeRef RetTy, value ParamTys) { argument 314 return LLVMFunctionType(RetTy, (LLVMTypeRef *) ParamTys, 319 CAMLprim LLVMTypeRef llvm_var_arg_function_type(LLVMTypeRef RetTy, argument 321 return LLVMFunctionType(RetTy, (LLVMTypeRef *) ParamTys,
|
/external/llvm/include/llvm/Transforms/Utils/ |
H A D | CodeExtractor.h | 54 Type *RetTy; member in class:llvm::CodeExtractor
|
/external/llvm/lib/Analysis/ |
H A D | TargetTransformInfo.cpp | 69 Intrinsic::ID IID, Type *RetTy, ArrayRef<Type *> ParamTys) const { 70 return PrevTTI->getIntrinsicCost(IID, RetTy, ParamTys); 74 Intrinsic::ID IID, Type *RetTy, ArrayRef<const Value *> Arguments) const { 75 return PrevTTI->getIntrinsicCost(IID, RetTy, Arguments); 214 Type *RetTy, 216 return PrevTTI->getIntrinsicInstrCost(ID, RetTy, Tys); 379 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 403 getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 412 return TopTTI->getIntrinsicCost(IID, RetTy, ParamTys); 599 unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, 68 getIntrinsicCost( Intrinsic::ID IID, Type *RetTy, ArrayRef<Type *> ParamTys) const argument 73 getIntrinsicCost( Intrinsic::ID IID, Type *RetTy, ArrayRef<const Value *> Arguments) const argument 213 getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<Type *> Tys) const argument [all...] |
/external/llvm/lib/CodeGen/ |
H A D | BasicTargetTransformInfo.cpp | 117 unsigned getIntrinsicInstrCost(Intrinsic::ID, Type *RetTy, 532 unsigned BasicTTI::getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy, argument 540 if (RetTy->isVectorTy()) { 541 ScalarizationCost = getScalarizationOverhead(RetTy, true, false); 542 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements()); 547 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements()); 581 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(RetTy); 602 return TopTTI->getArithmeticInstrCost(BinaryOperator::FMul, RetTy) + 603 TopTTI->getArithmeticInstrCost(BinaryOperator::FAdd, RetTy); 608 if (RetTy [all...] |
H A D | IntrinsicLowering.cpp | 30 Type *RetTy) { 35 M.getOrInsertFunction(Name, FunctionType::get(RetTy, ParamTys, false)); 67 Type *RetTy) { 76 FunctionType::get(RetTy, ParamTys, false)); 28 EnsureFunctionExists(Module &M, const char *Name, ArgIt ArgBegin, ArgIt ArgEnd, Type *RetTy) argument 65 ReplaceCallWith(const char *NewFn, CallInst *CI, ArgIt ArgBegin, ArgIt ArgEnd, Type *RetTy) argument
|
H A D | JumpInstrTables.cpp | 204 Type *RetTy = VoidPtrTy; local 217 return FunctionType::get(RetTy, EmptyParams, false); 226 return FunctionType::get(RetTy, ParamTys, IsVarArg); 244 return FunctionType::get(RetTy, ParamTys, IsVarArg);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeIntegerTypes.cpp | 2307 Type *RetTy = VT.getTypeForEVT(*DAG.getContext()); local 2350 .setCallee(TLI.getLibcallCallingConv(LC), RetTy, Func, std::move(Args), 0)
|
H A D | LegalizeTypes.cpp | 1053 Type *RetTy = Node->getValueType(0).getTypeForEVT(*DAG.getContext()); local 1057 .setCallee(TLI.getLibcallCallingConv(LC), RetTy, Callee, std::move(Args), 0)
|
H A D | TargetLowering.cpp | 105 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); local 108 .setCallee(getLibcallCallingConv(LC), RetTy, Callee, std::move(Args), 0) local
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | ExternalFunctions.cpp | 218 Type *RetTy = FTy->getReturnType(); local 219 ffi_type *rtype = ffiTypeFor(RetTy); 223 if (RetTy->getTypeID() != Type::VoidTyID) 224 ret.resize(TD->getTypeStoreSize(RetTy)); 226 switch (RetTy->getTypeID()) { 228 switch (cast<IntegerType>(RetTy)->getBitWidth()) {
|
/external/llvm/lib/ExecutionEngine/JIT/ |
H A D | JIT.cpp | 244 Type *RetTy = FTy->getReturnType(); local 254 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { 303 switch (RetTy->getTypeID()) { 306 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth(); 345 FunctionType *STy=FunctionType::get(RetTy, false);
|