/external/llvm/include/llvm/IR/ |
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 visitUnreachableInst(UnreachableInst &I) { DELEGATE(TerminatorInst); [all...] |
/external/clang/include/clang/AST/ |
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...] |
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...] |
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> {};
|
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(); }
|
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(); }
|
/external/llvm/lib/ExecutionEngine/Orc/ |
OrcMCJITReplacement.cpp | 34 Type *RetTy = FTy->getReturnType(); 44 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { 87 switch (RetTy->getTypeID()) { 91 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
|
/external/llvm/lib/Analysis/ |
TargetTransformInfo.cpp | 66 TargetTransformInfo::getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 68 return TTIImpl->getIntrinsicCost(IID, RetTy, Arguments); 239 TargetTransformInfo::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, 241 return TTIImpl->getIntrinsicInstrCost(ID, RetTy, Tys); 244 unsigned TargetTransformInfo::getCallInstrCost(Function *F, Type *RetTy, 246 return TTIImpl->getCallInstrCost(F, RetTy, Tys);
|
/external/llvm/include/llvm/CodeGen/ |
BasicTTIImpl.h | 160 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 162 return BaseT::getIntrinsicCost(IID, RetTy, Arguments); 165 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 179 return BaseT::getIntrinsicCost(IID, RetTy, ParamTys); 525 unsigned getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy, 533 Type *ScalarRetTy = RetTy; 534 if (RetTy->isVectorTy()) { 535 ScalarizationCost = getScalarizationOverhead(RetTy, true, false); 536 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements()); 537 ScalarRetTy = RetTy->getScalarType() [all...] |
FastISel.h | 57 Type *RetTy; 88 : RetTy(nullptr), RetSExt(false), RetZExt(false), IsVarArg(false), 97 RetTy = ResultTy; 120 RetTy = ResultTy; 143 RetTy = ResultTy; 154 RetTy = ResultTy;
|
/external/clang/lib/Analysis/ |
CocoaConventions.cpp | 25 bool cocoa::isRefType(QualType RetTy, StringRef Prefix, 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/ |
TargetInfo.cpp | 383 ABIArgInfo classifyReturnType(QualType RetTy) const; 384 ABIArgInfo classifyArgumentType(QualType RetTy) const; 420 ABIArgInfo DefaultABIInfo::classifyReturnType(QualType RetTy) const { 421 if (RetTy->isVoidType()) 424 if (isAggregateTypeForABI(RetTy)) 428 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) 429 RetTy = EnumTy->getDecl()->getIntegerType(); 431 return (RetTy->isPromotableIntegerType() ? 446 ABIArgInfo classifyReturnType(QualType RetTy) const; 447 ABIArgInfo classifyArgumentType(QualType RetTy) const [all...] |
/external/clang/include/clang/Analysis/DomainSpecific/ |
CocoaConventions.h | 27 bool isRefType(QualType RetTy, StringRef Prefix,
|
/external/llvm/include/llvm/Analysis/ |
TargetTransformInfo.h | 167 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 173 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 464 unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, 468 unsigned getCallInstrCost(Function *F, Type *RetTy, 529 virtual unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 531 virtual unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 587 virtual unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, 589 virtual unsigned getCallInstrCost(Function *F, Type *RetTy, 625 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 627 return Impl.getIntrinsicCost(IID, RetTy, ParamTys) [all...] |
TargetTransformInfoImpl.h | 135 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 303 unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, 308 unsigned getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys) { 391 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 400 return static_cast<T *>(this)->getIntrinsicCost(IID, RetTy, ParamTys);
|
/external/llvm/lib/Transforms/IPO/ |
DeadArgumentElimination.cpp | 390 Type *RetTy = F->getReturnType(); 391 if (RetTy->isVoidTy()) 393 else if (StructType *STy = dyn_cast<StructType>(RetTy)) 395 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy)) 405 Type *RetTy = F->getReturnType(); 406 assert(!RetTy->isVoidTy() && "void type has no subtype"); 408 if (StructType *STy = dyn_cast<StructType>(RetTy)) 410 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy)) 413 return RetTy; 781 Type *RetTy = FTy->getReturnType() [all...] |
/external/llvm/lib/Target/Mips/ |
Mips16ISelLowering.h | 44 (Type* RetTy, ArgListTy &Args, bool &needHelper) const;
|
MipsCCState.cpp | 85 originalTypeIsF128(CLI.RetTy, CLI.Callee.getNode())); 86 OriginalArgWasFloat.push_back(CLI.RetTy->isFloatingPointTy());
|
Mips16ISelLowering.cpp | 376 (Type* RetTy, ArgListTy &Args, bool &needHelper) const { 386 if (RetTy->isFloatTy()) { 389 else if (RetTy ->isDoubleTy()) { 392 else if (RetTy->isStructTy()) { 394 if (RetTy->getNumContainedTypes() == 2) { 395 if ((RetTy->getContainedType(0)->isFloatTy()) && 396 (RetTy->getContainedType(1)->isFloatTy())) { 399 else if ((RetTy->getContainedType(0)->isDoubleTy()) && 400 (RetTy->getContainedType(1)->isDoubleTy())) { 494 getMips16HelperFunction(CLI.RetTy, CLI.getArgs(), NeedMips16Helper) [all...] |
/external/clang/test/SemaTemplate/ |
instantiate-init.cpp | 19 Ret f1(Ret *retty, T t, U u) {
|
/external/llvm/lib/IR/ |
DIBuilder.cpp | 505 auto *RetTy = MDCompositeType::get( 511 retainType(RetTy); 512 trackIfUnresolved(RetTy); 513 return RetTy; 520 auto *RetTy = MDCompositeType::getTemporary( 526 retainType(RetTy); 527 trackIfUnresolved(RetTy); 528 return RetTy; [all...] |
Module.cpp | 150 Type *RetTy, ...) { 152 va_start(Args, RetTy); 163 FunctionType::get(RetTy, ArgTys, false), 168 Type *RetTy, ...) { 170 va_start(Args, RetTy); 181 FunctionType::get(RetTy, ArgTys, false),
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
ExternalFunctions.cpp | 218 Type *RetTy = FTy->getReturnType(); 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/clang/lib/StaticAnalyzer/Checkers/ |
RetainCountChecker.cpp | 757 QualType RetTy, 788 Selector S, QualType RetTy); 791 Optional<RetEffect> getRetEffectFromAnnotations(QualType RetTy, [all...] |
/external/llvm/lib/ExecutionEngine/MCJIT/ |
MCJIT.cpp | 451 Type *RetTy = FTy->getReturnType(); 461 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { 505 switch (RetTy->getTypeID()) { 508 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
|