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

12345

/external/llvm/include/llvm/IR/
H A DInstVisitor.h80 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/swiftshader/third_party/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 DCommentVisitor.h22 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 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.h30 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 DTypeVisitor.h29 /// \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 DStmtVisitor.h32 template<template <typename> class Ptr, typename ImplClass, typename RetTy=void>
40 RetTy Visit(PTR(Stmt) S) {
114 RetTy Visit ## CLASS(PTR(CLASS) S) { DISPATCH(PARENT, PARENT); }
120 RetTy VisitBin ## NAME(PTR(BinaryOperator) S) { \
140 RetTy VisitBin ## NAME(PTR(CompoundAssignOperator) S) { \
152 RetTy VisitUnary ## NAME(PTR(UnaryOperator) S) { \
166 RetTy VisitStmt(PTR(Stmt) Node) { return RetTy(); }
177 template<typename ImplClass, typename RetTy=void>
179 : public StmtVisitorBase<make_ptr, ImplClass, RetTy> {};
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSValVisitor.h28 template <typename ImplClass, typename RetTy = void> class SValVisitor {
34 RetTy Visit(SVal V) {
59 RetTy Visit ## Id(Id V) { DISPATCH(Parent, Id); }
63 RetTy VisitLoc ## Id(loc::Id V) { DISPATCH(Parent, Parent); }
65 RetTy VisitNonLoc ## Id(nonloc::Id V) { DISPATCH(Parent, Parent); }
69 RetTy VisitSVal(SVal V) { return RetTy(); }
76 template <typename ImplClass, typename RetTy = void> class SymExprVisitor {
82 RetTy Visit(SymbolRef S) {
94 #define SYMBOL(Id, Parent) RetTy Visi
[all...]
/external/clang/include/clang/Analysis/DomainSpecific/
H A DCocoaConventions.h27 bool isRefType(QualType RetTy, StringRef Prefix,
/external/clang/lib/Analysis/
H A DCocoaConventions.cpp25 bool cocoa::isRefType(QualType RetTy, StringRef Prefix, argument
28 while (const TypedefType *TD = RetTy->getAs<TypedefType>()) {
35 RetTy = TD->getDecl()->getUnderlyingType();
42 const PointerType* PT = RetTy->getAs<PointerType>();
/external/llvm/lib/ExecutionEngine/Orc/
H A DOrcMCJITReplacement.cpp34 Type *RetTy = FTy->getReturnType(); local
44 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
87 switch (RetTy->getTypeID()) {
91 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
/external/clang/lib/CodeGen/
H A DTargetInfo.cpp595 ABIArgInfo classifyReturnType(QualType RetTy) const;
596 ABIArgInfo classifyArgumentType(QualType RetTy) const;
637 ABIArgInfo DefaultABIInfo::classifyReturnType(QualType RetTy) const {
638 if (RetTy->isVoidType())
641 if (isAggregateTypeForABI(RetTy))
642 return getNaturalAlignIndirect(RetTy);
645 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
646 RetTy = EnumTy->getDecl()->getIntegerType();
648 return (RetTy->isPromotableIntegerType() ?
664 ABIArgInfo classifyReturnType(QualType RetTy) cons
1216 getIndirectReturnResult(QualType RetTy, CCState &State) const argument
1227 classifyReturnType(QualType RetTy, CCState &State) const argument
[all...]
/external/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h165 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, argument
167 return BaseT::getIntrinsicCost(IID, RetTy, Arguments);
170 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, argument
184 return BaseT::getIntrinsicCost(IID, RetTy, ParamTys);
673 unsigned getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy,
680 return static_cast<T *>(this)->getIntrinsicInstrCost(IID, RetTy, Types,
699 RetTy, Args[0], VarMask,
706 unsigned getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy, argument
715 Type *ScalarRetTy = RetTy;
716 if (RetTy
909 getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys) argument
[all...]
H A DFastISel.h61 Type *RetTy; member in struct:llvm::FastISel::CallLoweringInfo
92 : RetTy(nullptr), RetSExt(false), RetZExt(false), IsVarArg(false),
101 RetTy = ResultTy;
124 RetTy = ResultTy;
147 RetTy = ResultTy;
163 RetTy = ResultTy;
/external/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h180 int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy,
186 int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy,
566 int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
570 int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
574 int getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys) const;
640 virtual int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy,
642 virtual int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy,
723 virtual int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
726 virtual int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
729 virtual int getCallInstrCost(Function *F, Type *RetTy,
[all...]
H A DTargetTransformInfoImpl.h133 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, argument
347 unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, argument
351 unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, argument
356 unsigned getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys) { argument
491 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, argument
500 return static_cast<T *>(this)->getIntrinsicCost(IID, RetTy, ParamTys);
/external/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp305 Type *RetTy = F->getReturnType(); local
306 if (RetTy->isVoidTy())
308 else if (StructType *STy = dyn_cast<StructType>(RetTy))
310 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy))
320 Type *RetTy = F->getReturnType(); local
321 assert(!RetTy->isVoidTy() && "void type has no subtype");
323 if (StructType *STy = dyn_cast<StructType>(RetTy))
325 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy))
328 return RetTy;
718 Type *RetTy local
[all...]
/external/swiftshader/third_party/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/Analysis/
H A DTargetTransformInfo.cpp80 Intrinsic::ID IID, Type *RetTy, ArrayRef<const Value *> Arguments) const {
81 int Cost = TTIImpl->getIntrinsicCost(IID, RetTy, Arguments);
359 int TargetTransformInfo::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, argument
362 int Cost = TTIImpl->getIntrinsicInstrCost(ID, RetTy, Tys, FMF);
367 int TargetTransformInfo::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, argument
370 int Cost = TTIImpl->getIntrinsicInstrCost(ID, RetTy, Args, FMF);
375 int TargetTransformInfo::getCallInstrCost(Function *F, Type *RetTy, argument
377 int Cost = TTIImpl->getCallInstrCost(F, RetTy, Tys);
79 getIntrinsicCost( Intrinsic::ID IID, Type *RetTy, ArrayRef<const Value *> Arguments) const argument
/external/llvm/include/llvm/Transforms/Utils/
H A DCodeExtractor.h54 Type *RetTy; member in class:llvm::CodeExtractor
/external/llvm/lib/Target/Mips/
H A DMips16ISelLowering.h44 (Type* RetTy, ArgListTy &Args, bool &needHelper) const;
/external/clang/lib/StaticAnalyzer/Checkers/
H A DRetainCountChecker.cpp759 QualType RetTy,
790 Selector S, QualType RetTy);
793 Optional<RetEffect> getRetEffectFromAnnotations(QualType RetTy,
1061 QualType RetTy = FT->getReturnType(); local
1073 S = (RetTy->isObjCIdType())
1154 if (RetTy->isPointerType()) {
1156 if (cocoa::isRefType(RetTy, "CF", FName)) {
1175 if (cocoa::isRefType(RetTy, "CG", FName)) {
1185 if (cocoa::isRefType(RetTy, "DADisk") ||
1186 cocoa::isRefType(RetTy, "DADissente
1301 getRetEffectFromAnnotations(QualType RetTy, const Decl *D) argument
1355 QualType RetTy = FD->getReturnType(); local
1396 QualType RetTy = MD->getReturnType(); local
1402 getStandardMethodSummary(const ObjCMethodDecl *MD, Selector S, QualType RetTy) argument
1532 getMethodSummary(Selector S, const ObjCInterfaceDecl *ID, const ObjCMethodDecl *MD, QualType RetTy, ObjCMethodSummariesTy &CachedSummaries) argument
2909 QualType RetTy = RetE->getType(); local
[all...]
/external/llvm/lib/IR/
H A DModule.cpp156 Type *RetTy, ...) {
158 va_start(Args, RetTy);
169 FunctionType::get(RetTy, ArgTys, false),
174 Type *RetTy, ...) {
176 va_start(Args, RetTy);
187 FunctionType::get(RetTy, ArgTys, false),
154 getOrInsertFunction(StringRef Name, AttributeSet AttributeList, Type *RetTy, ...) argument
173 getOrInsertFunction(StringRef Name, Type *RetTy, ...) argument
/external/swiftshader/third_party/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()) {
/external/swiftshader/third_party/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

Completed in 2096 milliseconds

12345