Searched refs:RetTy (Results 1 - 25 of 50) sorted by relevance

12

/external/llvm/include/llvm/Support/
H A DInstVisitor.h77 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 visitUnwindIns
[all...]
/external/clang/include/clang/AST/
H A DTypeLocVisitor.h26 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 DDeclVisitor.h28 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(); }
H A DTypeVisitor.h25 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(); }
H A DStmtVisitor.h30 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/
H A DCFGStmtVisitor.h29 #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_VisitObjCForCollectionStm
[all...]
/external/clang/include/clang/Analysis/DomainSpecific/
H A DCocoaConventions.h37 bool isRefType(QualType RetTy, StringRef Prefix,
/external/clang/lib/Analysis/
H A DCocoaConventions.cpp64 bool cocoa::isRefType(QualType RetTy, StringRef Prefix, argument
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/
H A DTargetInfo.cpp316 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) cons
[all...]
H A DCGCall.cpp65 static CanQualType GetReturnType(QualType RetTy) { argument
66 return RetTy->getCanonicalTypeUnqualified().getUnqualifiedType();
767 QualType RetTy = FI.getReturnType(); local
772 if (RetTy->hasSignedIntegerRepresentation())
774 else if (RetTy->hasUnsignedIntegerRepresentation())
899 QualType RetTy = FD->getResultType().getUnqualifiedType(); local
900 llvm::Type* LLVMTy = CGM.getTypes().ConvertType(RetTy);
1177 QualType RetTy = FI.getReturnType(); local
1182 unsigned Alignment = getContext().getTypeAlignInChars(RetTy).getQuantity();
1183 if (RetTy
1558 QualType RetTy = CallInfo.getReturnType(); local
[all...]
H A DCodeGenFunction.cpp248 void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy, argument
257 FnRetTy = RetTy;
304 getContext().getFunctionType(RetTy, 0, 0,
317 if (RetTy->isVoidType()) {
326 ReturnValue = CreateIRTemp(RetTy, "retval");
333 RetTy->isObjCRetainableType())
H A DCodeGenTypes.h192 const CGFunctionInfo &getFunctionInfo(CanQualType RetTy,
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp129 Type *RetTy = FTy->getReturnType(); local
139 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
183 switch (RetTy->getTypeID()) {
186 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp217 Type *RetTy = FTy->getReturnType(); local
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()) {
H A DInterpreter.h236 void popStackAndReturnValueToCaller(Type *RetTy, GenericValue Result);
/external/llvm/lib/VMCore/
H A DModule.cpp202 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),
200 getOrInsertFunction(StringRef Name, AttrListPtr AttributeList, Type *RetTy, ...) argument
219 getOrInsertFunction(StringRef Name, Type *RetTy, ...) argument
H A DType.cpp361 bool FunctionType::isValidReturnType(Type *RetTy) { argument
362 return !RetTy->isFunctionTy() && !RetTy->isLabelTy() &&
363 !RetTy->isMetadataTy();
/external/llvm/lib/ExecutionEngine/JIT/
H A DJIT.cpp394 Type *RetTy = FTy->getReturnType(); local
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/
H A DDeadArgumentElimination.cpp662 Type *RetTy = FTy->getReturnType(); local
669 if (RetTy->isVoidTy()) {
670 NRetTy = RetTy;
672 StructType *STy = dyn_cast<StructType>(RetTy);
689 RetTypes.push_back(RetTy);
850 assert(RetTy->isStructTy() &&
865 Value *RetVal = UndefValue::get(RetTy);
925 assert (RetTy->isStructTy());
/external/clang/lib/StaticAnalyzer/Checkers/
H A DRetainCountChecker.cpp656 const RetainSummary *getInitMethodSummary(QualType RetTy);
760 QualType RetTy);
766 QualType RetTy);
795 Selector S, QualType RetTy);
930 QualType RetTy = FT->getResultType(); local
942 S = (RetTy->isObjCIdType())
1004 return RetTy == Ctx.VoidTy
1010 if (RetTy->isPointerType()) {
1012 if (cocoa::isRefType(RetTy, "CF", FName)) {
1024 if (cocoa::isRefType(RetTy, "C
1140 getInitMethodSummary(QualType RetTy) argument
1173 QualType RetTy = FD->getResultType(); local
1255 getCommonMethodSummary(const ObjCMethodDecl *MD, Selector S, QualType RetTy) argument
1356 getInstanceMethodSummary(Selector S, IdentifierInfo *ClsName, const ObjCInterfaceDecl *ID, const ObjCMethodDecl *MD, QualType RetTy) argument
1385 getClassMethodSummary(Selector S, IdentifierInfo *ClsName, const ObjCInterfaceDecl *ID, const ObjCMethodDecl *MD, QualType RetTy) argument
2649 QualType RetTy = RetE->getType(); local
[all...]
H A DCallAndMessageChecker.cpp299 QualType RetTy = msg.getType(Ctx); local
301 CanQualType CanRetTy = Ctx.getCanonicalType(RetTy);
/external/llvm/lib/CodeGen/
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
/external/llvm/include/llvm/
H A DModule.h307 Type *RetTy, ...) END_WITH_NULL;
310 Constant *getOrInsertFunction(StringRef Name, Type *RetTy, ...)
/external/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp53 Type *RetTy; member in class:__anon7084::CodeExtractor
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/
H A DExprConstant.cpp374 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 VisitParenExp
[all...]

Completed in 336 milliseconds

12