/external/llvm/include/llvm/IR/ |
H A D | InstVisitor.h | 80 template<typename SubClass, typename RetTy=void> 114 RetTy visit(Instruction *I) { return visit(*I); } 118 RetTy visit(Instruction &I) { 155 RetTy visit##OPCODE(CLASS &I) { \ 166 RetTy visitReturnInst(ReturnInst &I) { DELEGATE(TerminatorInst);} 167 RetTy visitBranchInst(BranchInst &I) { DELEGATE(TerminatorInst);} 168 RetTy visitSwitchInst(SwitchInst &I) { DELEGATE(TerminatorInst);} 169 RetTy visitIndirectBrInst(IndirectBrInst &I) { DELEGATE(TerminatorInst);} 170 RetTy visitResumeInst(ResumeInst &I) { DELEGATE(TerminatorInst);} 171 RetTy visitUnreachableIns [all...] |
/external/clang/include/clang/AST/ |
H A D | CommentVisitor.h | 22 template<template <typename> class Ptr, typename ImplClass, typename RetTy=void> 29 RetTy visit(PTR(Comment) C) { 31 return RetTy(); 48 RetTy visit ## CLASS(PTR(CLASS) C) { DISPATCH(PARENT, PARENT); } 53 RetTy visitComment(PTR(Comment) C) { return RetTy(); } 59 template<typename ImplClass, typename RetTy=void> 61 public CommentVisitorBase<make_ptr, ImplClass, RetTy> {}; 63 template<typename ImplClass, typename RetTy=void> 65 public CommentVisitorBase<make_const_ptr, ImplClass, RetTy> {}; [all...] |
H A D | TypeLocVisitor.h | 26 template<typename ImplClass, typename RetTy=void> 29 RetTy Visit(TypeLoc TyLoc) { 39 RetTy Visit(UnqualTypeLoc TyLoc) { 50 RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 55 RetTy VisitTypeLoc(TypeLoc TyLoc) { return RetTy(); }
|
H A D | DeclVisitor.h | 30 template<template <typename> class Ptr, typename ImplClass, typename RetTy=void> 38 RetTy Visit(PTR(Decl) D) { 51 RetTy Visit##DERIVED##Decl(PTR(DERIVED##Decl) D) { DISPATCH(BASE, BASE); } 54 RetTy VisitDecl(PTR(Decl) D) { return RetTy(); } 66 template<typename ImplClass, typename RetTy=void> 68 : public declvisitor::Base<declvisitor::make_ptr, ImplClass, RetTy> {}; 73 template<typename ImplClass, typename RetTy=void> 75 : public declvisitor::Base<declvisitor::make_const_ptr, ImplClass, RetTy> {};
|
H A D | TypeVisitor.h | 29 /// \tparam RetTy %Type of result produced by the operation. 64 template<typename ImplClass, typename RetTy=void> 69 RetTy Visit(const Type *T) { 81 #define TYPE(CLASS, PARENT) RetTy Visit##CLASS##Type(const CLASS##Type *T) { \ 88 RetTy VisitType(const Type*) { return RetTy(); }
|
H A D | StmtVisitor.h | 31 template<template <typename> class Ptr, typename ImplClass, typename RetTy=void> 39 RetTy Visit(PTR(Stmt) S) { 112 RetTy Visit ## CLASS(PTR(CLASS) S) { DISPATCH(PARENT, PARENT); } 118 RetTy VisitBin ## NAME(PTR(BinaryOperator) S) { \ 138 RetTy VisitBin ## NAME(PTR(CompoundAssignOperator) S) { \ 150 RetTy VisitUnary ## NAME(PTR(UnaryOperator) S) { \ 164 RetTy VisitStmt(PTR(Stmt) Node) { return RetTy(); } 175 template<typename ImplClass, typename RetTy=void> 177 : public StmtVisitorBase<make_ptr, ImplClass, RetTy> {}; [all...] |
/external/clang/include/clang/Analysis/DomainSpecific/ |
H A D | CocoaConventions.h | 27 bool isRefType(QualType RetTy, StringRef Prefix,
|
/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/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfo.h | 144 virtual unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 150 virtual unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 402 virtual unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
|
/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 | 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);
|
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
|
/external/clang/lib/CodeGen/ |
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...] |
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...] |
/external/llvm/lib/IR/ |
H A D | Module.cpp | 132 Type *RetTy, ...) { 134 va_start(Args, RetTy); 145 FunctionType::get(RetTy, ArgTys, false), 150 Type *RetTy, ...) { 152 va_start(Args, RetTy); 163 FunctionType::get(RetTy, ArgTys, false), 130 getOrInsertFunction(StringRef Name, AttributeSet AttributeList, Type *RetTy, ...) argument 149 getOrInsertFunction(StringRef Name, Type *RetTy, ...) argument
|
/external/llvm/include/llvm/Transforms/Utils/ |
H A D | CodeExtractor.h | 54 Type *RetTy; member in class:llvm::CodeExtractor
|
/external/llvm/lib/Target/Mips/ |
H A D | Mips16ISelLowering.h | 42 (Type* RetTy, ArgListTy &Args, bool &needHelper) const;
|
H A D | Mips16ISelLowering.cpp | 373 (Type* RetTy, ArgListTy &Args, bool &needHelper) const { 383 if (RetTy->isFloatTy()) { 386 else if (RetTy ->isDoubleTy()) { 389 else if (RetTy->isStructTy()) { 391 if (RetTy->getNumContainedTypes() == 2) { 392 if ((RetTy->getContainedType(0)->isFloatTy()) && 393 (RetTy->getContainedType(1)->isFloatTy())) { 396 else if ((RetTy->getContainedType(0)->isDoubleTy()) && 397 (RetTy->getContainedType(1)->isDoubleTy())) { 490 getMips16HelperFunction(CLI.RetTy, CL 372 getMips16HelperFunction(Type* RetTy, ArgListTy &Args, bool &needHelper) const argument [all...] |
/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/clang/lib/StaticAnalyzer/Checkers/ |
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...] |
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);
|
/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);
|
/external/llvm/lib/Transforms/IPO/ |
H A D | DeadArgumentElimination.cpp | 737 Type *RetTy = FTy->getReturnType(); local 764 if (RetTy->isVoidTy() || HasLiveReturnedArg) { 765 NRetTy = RetTy; 767 StructType *STy = dyn_cast<StructType>(RetTy); 784 RetTypes.push_back(RetTy); 899 if (NRetTy != RetTy && B.contains(Attribute::Returned)) 951 assert(RetTy->isStructTy() && 966 Value *RetVal = UndefValue::get(RetTy); 1026 assert (RetTy->isStructTy());
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
H A D | MCJIT.cpp | 439 Type *RetTy = FTy->getReturnType(); local 449 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { 493 switch (RetTy->getTypeID()) { 496 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
|