HomeSort by relevance Sort by last modified time
    Searched refs:RetTy (Results 1 - 25 of 50) sorted by null

1 2

  /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/AST/
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(); }
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(); }
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/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/Analysis/DomainSpecific/
CocoaConventions.h 37 bool isRefType(QualType RetTy, StringRef Prefix,
  /external/clang/lib/Analysis/
CocoaConventions.cpp 64 bool cocoa::isRefType(QualType RetTy, StringRef Prefix,
67 while (const TypedefType *TD = dyn_cast<TypedefType>(RetTy.getTypePtr())) {
72 RetTy = TD->getDecl()->getUnderlyingType();
79 const PointerType* PT = RetTy->getAs<PointerType>();
  /external/clang/lib/CodeGen/
TargetInfo.cpp 316 ABIArgInfo classifyReturnType(QualType RetTy) const;
317 ABIArgInfo classifyArgumentType(QualType RetTy) const;
353 ABIArgInfo DefaultABIInfo::classifyReturnType(QualType RetTy) const {
354 if (RetTy->isVoidType())
357 if (isAggregateTypeForABI(RetTy))
361 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
362 RetTy = EnumTy->getDecl()->getIntegerType();
364 return (RetTy->isPromotableIntegerType() ?
413 ABIArgInfo classifyReturnType(QualType RetTy) const;
414 ABIArgInfo classifyArgumentType(QualType RetTy) const
    [all...]
CGCall.cpp 65 static CanQualType GetReturnType(QualType RetTy) {
66 return RetTy->getCanonicalTypeUnqualified().getUnqualifiedType();
767 QualType RetTy = FI.getReturnType();
772 if (RetTy->hasSignedIntegerRepresentation())
774 else if (RetTy->hasUnsignedIntegerRepresentation())
    [all...]
CodeGenTypes.h 192 const CGFunctionInfo &getFunctionInfo(CanQualType RetTy,
CodeGenFunction.cpp 248 void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy,
257 FnRetTy = RetTy;
304 getContext().getFunctionType(RetTy, 0, 0,
317 if (RetTy->isVoidType()) {
326 ReturnValue = CreateIRTemp(RetTy, "retval");
333 RetTy->isObjCRetainableType())
    [all...]
  /external/llvm/lib/ExecutionEngine/MCJIT/
MCJIT.cpp 129 Type *RetTy = FTy->getReturnType();
139 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
183 switch (RetTy->getTypeID()) {
186 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
  /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()) {
Interpreter.h 236 void popStackAndReturnValueToCaller(Type *RetTy, GenericValue Result);
  /external/llvm/lib/VMCore/
Module.cpp 202 Type *RetTy, ...) {
204 va_start(Args, RetTy);
215 FunctionType::get(RetTy, ArgTys, false),
220 Type *RetTy, ...) {
222 va_start(Args, RetTy);
233 FunctionType::get(RetTy, ArgTys, false),
  /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/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/StaticAnalyzer/Checkers/
RetainCountChecker.cpp 656 const RetainSummary *getInitMethodSummary(QualType RetTy);
760 QualType RetTy);
766 QualType RetTy);
795 Selector S, QualType RetTy);
930 QualType RetTy = FT->getResultType();
942 S = (RetTy->isObjCIdType())
    [all...]
CallAndMessageChecker.cpp 299 QualType RetTy = msg.getType(Ctx);
301 CanQualType CanRetTy = Ctx.getCanonicalType(RetTy);
  /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/llvm/include/llvm/
Module.h 307 Type *RetTy, ...) END_WITH_NULL;
310 Constant *getOrInsertFunction(StringRef Name, Type *RetTy, ...)
DerivedTypes.h 114 static bool isValidReturnType(Type *RetTy);
  /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/clang/lib/AST/
ExprConstant.cpp 374 template <class Derived, typename RetTy=void>
376 : public ConstStmtVisitor<Derived, RetTy> {
378 RetTy DerivedSuccess(const APValue &V, const Expr *E) {
381 RetTy DerivedError(const Expr *E) {
384 RetTy DerivedValueInitialization(const Expr *E) {
390 typedef ConstStmtVisitor<Derived, RetTy> StmtVisitorTy;
393 RetTy ValueInitialization(const Expr *E) { return DerivedError(E); }
398 RetTy VisitStmt(const Stmt *) {
401 RetTy VisitExpr(const Expr *E) {
405 RetTy VisitParenExpr(const ParenExpr *E
    [all...]

Completed in 437 milliseconds

1 2