/external/llvm/include/llvm/Support/ |
InstVisitor.h | 77 template<typename SubClass, typename RetTy=void> 111 RetTy visit(Instruction *I) { return visit(*I); } 115 RetTy visit(Instruction &I) { 154 RetTy visit##OPCODE(CLASS &I) { DELEGATE(CLASS); } 160 RetTy visitReturnInst(ReturnInst &I) { DELEGATE(TerminatorInst);} 161 RetTy visitBranchInst(BranchInst &I) { DELEGATE(TerminatorInst);} 162 RetTy visitSwitchInst(SwitchInst &I) { DELEGATE(TerminatorInst);} 163 RetTy visitIndirectBrInst(IndirectBrInst &I) { DELEGATE(TerminatorInst);} 164 RetTy visitInvokeInst(InvokeInst &I) { DELEGATE(TerminatorInst);} 165 RetTy visitUnwindInst(UnwindInst &I) { DELEGATE(TerminatorInst); [all...] |
/external/clang/include/clang/Analysis/Visitors/ |
CFGStmtVisitor.h | 29 #define DEFAULT_BLOCKSTMT_VISIT(CLASS) RetTy BlockStmt_Visit ## CLASS(CLASS *S)\ 34 template <typename ImplClass, typename RetTy=void> 35 class CFGStmtVisitor : public StmtVisitor<ImplClass,RetTy> { 50 RetTy Visit(Stmt* S) { 53 return StmtVisitor<ImplClass,RetTy>::Visit(S); 55 return RetTy(); 61 RetTy VisitConditionVariableInit(Stmt *S) { 62 return RetTy(); 70 RetTy BlockStmt_Visit(Stmt* S) { 109 RetTy BlockStmt_VisitObjCForCollectionStmt(ObjCForCollectionStmt* S) [all...] |
/external/clang/include/clang/AST/ |
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(); }
|
DeclVisitor.h | 28 template<typename ImplClass, typename RetTy=void> 31 RetTy Visit(Decl *D) { 44 RetTy Visit##DERIVED##Decl(DERIVED##Decl *D) { DISPATCH(BASE, BASE); } 47 RetTy VisitDecl(Decl *D) { return RetTy(); }
|
TypeVisitor.h | 25 template<typename ImplClass, typename RetTy=void> 28 RetTy Visit(const Type *T) { 40 #define TYPE(CLASS, PARENT) RetTy Visit##CLASS##Type(const CLASS##Type *T) { \ 46 RetTy VisitType(const Type*) { return RetTy(); }
|
StmtVisitor.h | 30 template<template <typename> class Ptr, typename ImplClass, typename RetTy=void> 38 RetTy Visit(PTR(Stmt) S) { 113 RetTy Visit ## CLASS(PTR(CLASS) S) { DISPATCH(PARENT, PARENT); } 119 RetTy VisitBin ## NAME(PTR(BinaryOperator) S) { \ 139 RetTy VisitBin ## NAME(PTR(CompoundAssignOperator) S) { \ 151 RetTy VisitUnary ## NAME(PTR(UnaryOperator) S) { \ 165 RetTy VisitStmt(PTR(Stmt) Node) { return RetTy(); } 176 template<typename ImplClass, typename RetTy=void> 178 : public StmtVisitorBase<make_ptr, ImplClass, RetTy> {}; [all...] |
/external/clang/lib/CodeGen/ |
TargetInfo.cpp | 297 ABIArgInfo classifyReturnType(QualType RetTy) const; 298 ABIArgInfo classifyArgumentType(QualType RetTy) const; 334 ABIArgInfo DefaultABIInfo::classifyReturnType(QualType RetTy) const { 335 if (RetTy->isVoidType()) 338 if (isAggregateTypeForABI(RetTy)) 342 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) 343 RetTy = EnumTy->getDecl()->getIntegerType(); 345 return (RetTy->isPromotableIntegerType() ? 394 ABIArgInfo classifyReturnType(QualType RetTy) const; 395 ABIArgInfo classifyArgumentType(QualType RetTy) const [all...] |
CGCall.cpp | 65 static CanQualType GetReturnType(QualType RetTy) { 66 return RetTy->getCanonicalTypeUnqualified().getUnqualifiedType(); 742 QualType RetTy = FI.getReturnType(); 747 if (RetTy->hasSignedIntegerRepresentation()) 749 else if (RetTy->hasUnsignedIntegerRepresentation()) 874 QualType RetTy = FD->getResultType().getUnqualifiedType(); 875 llvm::Type* LLVMTy = CGM.getTypes().ConvertType(RetTy); [all...] |
CodeGenFunction.cpp | 242 void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy, 251 FnRetTy = RetTy; 298 getContext().getFunctionType(RetTy, 0, 0, 311 if (RetTy->isVoidType()) { 320 ReturnValue = CreateIRTemp(RetTy, "retval"); 327 RetTy->isObjCRetainableType()) [all...] |
/external/clang/lib/Analysis/ |
CocoaConventions.cpp | 66 bool cocoa::isRefType(QualType RetTy, llvm::StringRef Prefix, 69 while (const TypedefType *TD = dyn_cast<TypedefType>(RetTy.getTypePtr())) { 74 RetTy = TD->getDecl()->getUnderlyingType(); 81 const PointerType* PT = RetTy->getAs<PointerType>();
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
MCJIT.cpp | 128 Type *RetTy = FTy->getReturnType(); 138 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { 182 switch (RetTy->getTypeID()) { 185 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
|
/external/clang/include/clang/Analysis/DomainSpecific/ |
CocoaConventions.h | 36 bool isRefType(QualType RetTy, llvm::StringRef Prefix,
|
/external/clang/test/SemaTemplate/ |
instantiate-init.cpp | 19 Ret f1(Ret *retty, T t, U u) {
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
ExternalFunctions.cpp | 217 Type *RetTy = FTy->getReturnType(); 218 ffi_type *rtype = ffiTypeFor(RetTy); 222 if (RetTy->getTypeID() != Type::VoidTyID) 223 ret.resize(TD->getTypeStoreSize(RetTy)); 225 switch (RetTy->getTypeID()) { 227 switch (cast<IntegerType>(RetTy)->getBitWidth()) {
|
/external/llvm/lib/VMCore/ |
Module.cpp | 214 Type *RetTy, ...) { 216 va_start(Args, RetTy); 227 FunctionType::get(RetTy, ArgTys, false), 232 Type *RetTy, ...) { 234 va_start(Args, RetTy); 245 FunctionType::get(RetTy, ArgTys, false),
|
AsmWriter.cpp | [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
CFRefCount.cpp | 723 RetainSummary *getInitMethodSummary(QualType RetTy); 839 QualType RetTy); 844 QualType RetTy); 877 Selector S, QualType RetTy); 972 QualType RetTy = FT->getResultType(); 984 S = (RetTy->isObjCIdType()) [all...] |
/external/clang/utils/ABITest/ |
TypeGen.py | 398 retTy = self.typeGen.get(retIndex) 400 retTy = None 403 return FunctionType(N, retTy, args)
|
/external/llvm/lib/ExecutionEngine/JIT/ |
JIT.cpp | 394 Type *RetTy = FTy->getReturnType(); 404 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { 448 switch (RetTy->getTypeID()) { 451 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth(); 491 FunctionType *STy=FunctionType::get(RetTy, false);
|
/external/llvm/lib/Transforms/Utils/ |
CodeExtractor.cpp | 53 Type *RetTy; 256 case 1: RetTy = Type::getVoidTy(header->getContext()); break; 257 case 2: RetTy = Type::getInt1Ty(header->getContext()); break; 258 default: RetTy = Type::getInt16Ty(header->getContext()); break; 281 DEBUG(dbgs() << "Function type: " << *RetTy << " f("); 294 FunctionType::get(RetTy, paramTy, false);
|
/external/llvm/lib/Transforms/IPO/ |
DeadArgumentElimination.cpp | 662 Type *RetTy = FTy->getReturnType(); 669 if (RetTy->isVoidTy()) { 670 NRetTy = RetTy; 672 StructType *STy = dyn_cast<StructType>(RetTy); 689 RetTypes.push_back(RetTy); 850 assert(RetTy->isStructTy() && [all...] |
/external/clang/lib/AST/ |
ExprConstant.cpp | 371 template <class Derived, typename RetTy=void> 373 : public ConstStmtVisitor<Derived, RetTy> { 375 RetTy DerivedSuccess(const APValue &V, const Expr *E) { 378 RetTy DerivedError(const Expr *E) { 384 typedef ConstStmtVisitor<Derived, RetTy> StmtVisitorTy; 390 RetTy VisitStmt(const Stmt *) { 394 RetTy VisitExpr(const Expr *E) { 398 RetTy VisitParenExpr(const ParenExpr *E) 400 RetTy VisitUnaryExtension(const UnaryOperator *E) 402 RetTy VisitUnaryPlus(const UnaryOperator *E [all...] |
/external/llvm/lib/CodeGen/ |
IntrinsicLowering.cpp | 30 Type *RetTy) { 35 M.getOrInsertFunction(Name, FunctionType::get(RetTy, ParamTys, false)); 67 Type *RetTy) { 76 FunctionType::get(RetTy, ParamTys, false));
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
CallAndMessageChecker.cpp | 297 QualType RetTy = msg.getType(Ctx); 299 CanQualType CanRetTy = Ctx.getCanonicalType(RetTy);
|
/external/iproute2/tc/ |
tc.c | 218 " OPTIONS := { -s[tatistics] | -d[etails] | -r[aw] | -p[retty] | -b[atch] [filename] }\n");
|