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

1 2 3

  /external/llvm/include/llvm/
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/
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(); }
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...]
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 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> {};
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...]
  /external/clang/include/clang/Analysis/DomainSpecific/
CocoaConventions.h 27 bool isRefType(QualType RetTy, StringRef Prefix,
  /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/llvm/include/llvm/Analysis/
TargetTransformInfo.h 148 virtual unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy,
154 virtual unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy,
337 virtual unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
  /external/clang/lib/CodeGen/
TargetInfo.cpp 365 ABIArgInfo classifyReturnType(QualType RetTy) const;
366 ABIArgInfo classifyArgumentType(QualType RetTy) const;
408 ABIArgInfo DefaultABIInfo::classifyReturnType(QualType RetTy) const {
409 if (RetTy->isVoidType())
412 if (isAggregateTypeForABI(RetTy))
416 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
417 RetTy = EnumTy->getDecl()->getIntegerType();
419 return (RetTy->isPromotableIntegerType() ?
434 ABIArgInfo classifyReturnType(QualType RetTy) const;
435 ABIArgInfo classifyArgumentType(QualType RetTy) const
    [all...]
  /external/llvm/lib/Analysis/
TargetTransformInfo.cpp 78 Intrinsic::ID IID, Type *RetTy, ArrayRef<Type *> ParamTys) const {
79 return PrevTTI->getIntrinsicCost(IID, RetTy, ParamTys);
83 Intrinsic::ID IID, Type *RetTy, ArrayRef<const Value *> Arguments) const {
84 return PrevTTI->getIntrinsicCost(IID, RetTy, Arguments);
204 Type *RetTy,
206 return PrevTTI->getIntrinsicInstrCost(ID, RetTy, Tys);
352 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy,
375 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy,
384 return TopTTI->getIntrinsicCost(IID, RetTy, ParamTys);
560 Type *RetTy,
    [all...]
  /external/llvm/lib/CodeGen/
BasicTargetTransformInfo.cpp 110 virtual unsigned getIntrinsicInstrCost(Intrinsic::ID, Type *RetTy,
414 unsigned BasicTTI::getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy,
422 if (RetTy->isVectorTy()) {
423 ScalarizationCost = getScalarizationOverhead(RetTy, true, false);
424 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements());
429 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements());
461 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(RetTy);
482 if (RetTy->isVectorTy()) {
483 unsigned Num = RetTy->getVectorNumElements();
484 unsigned Cost = TopTTI->getIntrinsicInstrCost(IID, RetTy->getScalarType()
    [all...]
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/lib/IR/
Module.cpp 183 Type *RetTy, ...) {
185 va_start(Args, RetTy);
196 FunctionType::get(RetTy, ArgTys, false),
201 Type *RetTy, ...) {
203 va_start(Args, RetTy);
214 FunctionType::get(RetTy, ArgTys, false),
  /external/llvm/include/llvm/Transforms/Utils/
CodeExtractor.h 54 Type *RetTy;
  /external/llvm/lib/Target/Mips/
Mips16ISelLowering.h 41 (Type* RetTy, ArgListTy &Args, bool &needHelper) const;
Mips16ISelLowering.cpp 369 (Type* RetTy, ArgListTy &Args, bool &needHelper) const {
379 if (RetTy->isFloatTy()) {
382 else if (RetTy ->isDoubleTy()) {
385 else if (RetTy->isStructTy()) {
387 if (RetTy->getNumContainedTypes() == 2) {
388 if ((RetTy->getContainedType(0)->isFloatTy()) &&
389 (RetTy->getContainedType(1)->isFloatTy())) {
392 else if ((RetTy->getContainedType(0)->isDoubleTy()) &&
393 (RetTy->getContainedType(1)->isDoubleTy())) {
463 getMips16HelperFunction(CLI.RetTy, CLI.Args, NeedMips16Helper)
    [all...]
MipsISelLowering.h 262 const Type *RetTy) const;
265 bool IsSoftFloat, const Type *RetTy) const;
318 const SDNode *CallNode, const Type *RetTy) const;
341 const SDNode *CallNode, const Type *RetTy) const;
  /external/llvm/lib/ExecutionEngine/MCJIT/
MCJIT.cpp 232 Type *RetTy = FTy->getReturnType();
242 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
286 switch (RetTy->getTypeID()) {
289 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
  /external/clang/lib/StaticAnalyzer/Checkers/
RetainCountChecker.cpp 754 QualType RetTy,
785 Selector S, QualType RetTy);
788 Optional<RetEffect> getRetEffectFromAnnotations(QualType RetTy,
    [all...]
CallAndMessageChecker.cpp 433 QualType RetTy = Msg.getResultType();
434 CanQualType CanRetTy = Ctx.getCanonicalType(RetTy);
439 SVal V = C.getSValBuilder().makeZeroVal(RetTy);
477 SVal V = C.getSValBuilder().makeZeroVal(RetTy);
  /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/llvm/lib/ExecutionEngine/JIT/
JIT.cpp 396 Type *RetTy = FTy->getReturnType();
406 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
455 switch (RetTy->getTypeID()) {
458 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
497 FunctionType *STy=FunctionType::get(RetTy, false);
  /external/llvm/lib/Transforms/IPO/
DeadArgumentElimination.cpp 756 Type *RetTy = FTy->getReturnType();
783 if (RetTy->isVoidTy() || HasLiveReturnedArg) {
784 NRetTy = RetTy;
786 StructType *STy = dyn_cast<StructType>(RetTy);
803 RetTypes.push_back(RetTy);
    [all...]
  /external/llvm/include/llvm/IR/
Module.h 337 Type *RetTy, ...) END_WITH_NULL;
340 Constant *getOrInsertFunction(StringRef Name, Type *RetTy, ...)

Completed in 250 milliseconds

1 2 3