/external/llvm/include/llvm/ |
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/clang/lib/CodeGen/ |
H A D | TargetInfo.cpp | 365 ABIArgInfo classifyReturnType(QualType RetTy) const; 366 ABIArgInfo classifyArgumentType(QualType RetTy) const; 408 ABIArgInfo DefaultABIInfo::classifyReturnType(QualType RetTy) const { 409 if (RetTy->isVoidType()) 412 if (isAggregateTypeForABI(RetTy)) 416 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) 417 RetTy = EnumTy->getDecl()->getIntegerType(); 419 return (RetTy->isPromotableIntegerType() ? 434 ABIArgInfo classifyReturnType(QualType RetTy) const; 435 ABIArgInfo classifyArgumentType(QualType RetTy) cons 666 classifyReturnType(QualType RetTy, unsigned callingConvention) const argument [all...] |
/external/llvm/lib/Analysis/ |
H A D | TargetTransformInfo.cpp | 78 Intrinsic::ID IID, Type *RetTy, ArrayRef<Type *> ParamTys) const { 79 return PrevTTI->getIntrinsicCost(IID, RetTy, ParamTys); 83 Intrinsic::ID IID, Type *RetTy, ArrayRef<const Value *> Arguments) const { 84 return PrevTTI->getIntrinsicCost(IID, RetTy, Arguments); 204 Type *RetTy, 206 return PrevTTI->getIntrinsicInstrCost(ID, RetTy, Tys); 352 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, argument 375 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, argument 384 return TopTTI->getIntrinsicCost(IID, RetTy, ParamTys); 560 Type *RetTy, 77 getIntrinsicCost( Intrinsic::ID IID, Type *RetTy, ArrayRef<Type *> ParamTys) const argument 82 getIntrinsicCost( Intrinsic::ID IID, Type *RetTy, ArrayRef<const Value *> Arguments) const argument 203 getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<Type *> Tys) const argument 559 getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<Type*> Tys) const argument [all...] |
/external/llvm/lib/CodeGen/ |
H A D | BasicTargetTransformInfo.cpp | 110 virtual unsigned getIntrinsicInstrCost(Intrinsic::ID, Type *RetTy, 414 unsigned BasicTTI::getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy, argument 422 if (RetTy->isVectorTy()) { 423 ScalarizationCost = getScalarizationOverhead(RetTy, true, false); 424 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements()); 429 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements()); 461 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(RetTy); 482 if (RetTy->isVectorTy()) { 483 unsigned Num = RetTy->getVectorNumElements(); 484 unsigned Cost = TopTTI->getIntrinsicInstrCost(IID, 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
|
/external/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfo.h | 148 virtual unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 154 virtual unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 337 virtual unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
|
/external/llvm/lib/IR/ |
H A D | Module.cpp | 183 Type *RetTy, ...) { 185 va_start(Args, RetTy); 196 FunctionType::get(RetTy, ArgTys, false), 201 Type *RetTy, ...) { 203 va_start(Args, RetTy); 214 FunctionType::get(RetTy, ArgTys, false), 181 getOrInsertFunction(StringRef Name, AttributeSet AttributeList, Type *RetTy, ...) argument 200 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 | 41 (Type* RetTy, ArgListTy &Args, bool &needHelper) const;
|
H A D | Mips16ISelLowering.cpp | 369 (Type* RetTy, ArgListTy &Args, bool &needHelper) const { 379 if (RetTy->isFloatTy()) { 382 else if (RetTy ->isDoubleTy()) { 385 else if (RetTy->isStructTy()) { 387 if (RetTy->getNumContainedTypes() == 2) { 388 if ((RetTy->getContainedType(0)->isFloatTy()) && 389 (RetTy->getContainedType(1)->isFloatTy())) { 392 else if ((RetTy->getContainedType(0)->isDoubleTy()) && 393 (RetTy->getContainedType(1)->isDoubleTy())) { 463 getMips16HelperFunction(CLI.RetTy, CL 368 getMips16HelperFunction(Type* RetTy, ArgListTy &Args, bool &needHelper) const argument [all...] |
H A D | MipsISelLowering.h | 262 const Type *RetTy) const; 265 bool IsSoftFloat, const Type *RetTy) const; 318 const SDNode *CallNode, const Type *RetTy) const; 341 const SDNode *CallNode, const Type *RetTy) const;
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
H A D | MCJIT.cpp | 232 Type *RetTy = FTy->getReturnType(); local 242 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { 286 switch (RetTy->getTypeID()) { 289 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | RetainCountChecker.cpp | 754 QualType RetTy, 785 Selector S, QualType RetTy); 788 Optional<RetEffect> getRetEffectFromAnnotations(QualType RetTy, 1051 QualType RetTy = FT->getResultType(); local 1063 S = (RetTy->isObjCIdType()) 1144 if (RetTy->isPointerType()) { 1146 if (cocoa::isRefType(RetTy, "CF", FName)) { 1158 if (cocoa::isRefType(RetTy, "CG", FName)) { 1168 if (cocoa::isRefType(RetTy, "DADisk") || 1169 cocoa::isRefType(RetTy, "DADissente 1283 getRetEffectFromAnnotations(QualType RetTy, const Decl *D) argument 1326 QualType RetTy = FD->getResultType(); local 1357 QualType RetTy = MD->getResultType(); local 1363 getStandardMethodSummary(const ObjCMethodDecl *MD, Selector S, QualType RetTy) argument 1492 getMethodSummary(Selector S, const ObjCInterfaceDecl *ID, const ObjCMethodDecl *MD, QualType RetTy, ObjCMethodSummariesTy &CachedSummaries) argument 2791 QualType RetTy = RetE->getType(); local [all...] |
H A D | CallAndMessageChecker.cpp | 433 QualType RetTy = Msg.getResultType(); local 434 CanQualType CanRetTy = Ctx.getCanonicalType(RetTy); 439 SVal V = C.getSValBuilder().makeZeroVal(RetTy); 477 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 | 396 Type *RetTy = FTy->getReturnType(); local 406 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { 455 switch (RetTy->getTypeID()) { 458 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth(); 497 FunctionType *STy=FunctionType::get(RetTy, false);
|
/external/llvm/lib/Transforms/IPO/ |
H A D | DeadArgumentElimination.cpp | 756 Type *RetTy = FTy->getReturnType(); local 783 if (RetTy->isVoidTy() || HasLiveReturnedArg) { 784 NRetTy = RetTy; 786 StructType *STy = dyn_cast<StructType>(RetTy); 803 RetTypes.push_back(RetTy); 918 if (NRetTy != RetTy && B.contains(Attribute::Returned)) 970 assert(RetTy->isStructTy() && 985 Value *RetVal = UndefValue::get(RetTy); 1045 assert (RetTy->isStructTy());
|
/external/llvm/include/llvm/IR/ |
H A D | Module.h | 337 Type *RetTy, ...) END_WITH_NULL; 340 Constant *getOrInsertFunction(StringRef Name, Type *RetTy, ...)
|