Searched defs:RetTy (Results 1 - 25 of 45) sorted by path

12

/external/clang/lib/Analysis/
H A DCocoaConventions.cpp25 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 DCGAtomic.cpp618 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 DCGBuiltin.cpp1655 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 DCGCall.cpp72 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 DCGDebugInfo.cpp628 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 DCGObjCGNU.cpp63 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 DCodeGenFunction.cpp522 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 DTargetInfo.cpp353 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 DSemaDeclAttr.cpp1438 QualType RetTy = FD->getReturnType(); local
1439 if (RetTy->isAnyPointerType() || RetTy->isBlockPointerType()) {
H A DSemaExpr.cpp10499 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 DSemaType.cpp2041 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 DTreeTransform.h2739 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 DCallAndMessageChecker.cpp537 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 DRetainCountChecker.cpp732 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 Dllvm_ocaml.c313 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 DCodeExtractor.h54 Type *RetTy; member in class:llvm::CodeExtractor
/external/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp69 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 DBasicTargetTransformInfo.cpp117 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 DIntrinsicLowering.cpp30 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 DJumpInstrTables.cpp204 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 DLegalizeIntegerTypes.cpp2307 Type *RetTy = VT.getTypeForEVT(*DAG.getContext()); local
2350 .setCallee(TLI.getLibcallCallingConv(LC), RetTy, Func, std::move(Args), 0)
H A DLegalizeTypes.cpp1053 Type *RetTy = Node->getValueType(0).getTypeForEVT(*DAG.getContext()); local
1057 .setCallee(TLI.getLibcallCallingConv(LC), RetTy, Callee, std::move(Args), 0)
H A DTargetLowering.cpp105 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 DExternalFunctions.cpp218 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 DJIT.cpp244 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);

Completed in 4259 milliseconds

12