/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | InstVisitor.h | 79 template<typename SubClass, typename RetTy=void> 113 RetTy visit(Instruction *I) { return visit(*I); } in visit() 117 RetTy visit(Instruction &I) { in visit() 157 RetTy visit##OPCODE(CLASS &I) { \ 168 RetTy visitICmpInst(ICmpInst &I) { DELEGATE(CmpInst);} in visitICmpInst() 169 RetTy visitFCmpInst(FCmpInst &I) { DELEGATE(CmpInst);} in visitFCmpInst() 170 RetTy visitAllocaInst(AllocaInst &I) { DELEGATE(UnaryInstruction);} in visitAllocaInst() 171 RetTy visitLoadInst(LoadInst &I) { DELEGATE(UnaryInstruction);} in visitLoadInst() 172 RetTy visitStoreInst(StoreInst &I) { DELEGATE(Instruction);} in visitStoreInst() 173 RetTy visitAtomicCmpXchgInst(AtomicCmpXchgInst &I) { DELEGATE(Instruction);} in visitAtomicCmpXchgInst() [all …]
|
/external/llvm/include/llvm/IR/ |
D | InstVisitor.h | 80 template<typename SubClass, typename RetTy=void> 114 RetTy visit(Instruction *I) { return visit(*I); } in visit() 118 RetTy visit(Instruction &I) { in visit() 155 RetTy visit##OPCODE(CLASS &I) { \ 166 RetTy visitReturnInst(ReturnInst &I) { DELEGATE(TerminatorInst);} in visitReturnInst() 167 RetTy visitBranchInst(BranchInst &I) { DELEGATE(TerminatorInst);} in visitBranchInst() 168 RetTy visitSwitchInst(SwitchInst &I) { DELEGATE(TerminatorInst);} in visitSwitchInst() 169 RetTy visitIndirectBrInst(IndirectBrInst &I) { DELEGATE(TerminatorInst);} in visitIndirectBrInst() 170 RetTy visitResumeInst(ResumeInst &I) { DELEGATE(TerminatorInst);} in visitResumeInst() 171 RetTy visitUnreachableInst(UnreachableInst &I) { DELEGATE(TerminatorInst);} in visitUnreachableInst() [all …]
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | InstVisitor.h | 78 template<typename SubClass, typename RetTy=void> 112 RetTy visit(Instruction *I) { return visit(*I); } in visit() 116 RetTy visit(Instruction &I) { in visit() 156 RetTy visit##OPCODE(CLASS &I) { \ 167 RetTy visitICmpInst(ICmpInst &I) { DELEGATE(CmpInst);} in visitICmpInst() 168 RetTy visitFCmpInst(FCmpInst &I) { DELEGATE(CmpInst);} in visitFCmpInst() 169 RetTy visitAllocaInst(AllocaInst &I) { DELEGATE(UnaryInstruction);} in visitAllocaInst() 170 RetTy visitLoadInst(LoadInst &I) { DELEGATE(UnaryInstruction);} in visitLoadInst() 171 RetTy visitStoreInst(StoreInst &I) { DELEGATE(Instruction);} in visitStoreInst() 172 RetTy visitAtomicCmpXchgInst(AtomicCmpXchgInst &I) { DELEGATE(Instruction);} in visitAtomicCmpXchgInst() [all …]
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SValVisitor.h | 28 template <typename ImplClass, typename RetTy = void> class SValVisitor { 34 RetTy Visit(SVal V) { in Visit() 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(); } in VisitSVal() 76 template <typename ImplClass, typename RetTy = void> class SymExprVisitor { 82 RetTy Visit(SymbolRef S) { in Visit() 94 #define SYMBOL(Id, Parent) RetTy Visit ## Id(const Id *S) { DISPATCH(Parent); } 99 RetTy VisitSymExpr(SymbolRef S) { return RetTy(); } in VisitSymExpr() [all …]
|
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SValVisitor.h | 27 template <typename ImplClass, typename RetTy = void> class SValVisitor { 33 RetTy Visit(SVal V) { in Visit() 58 RetTy Visit ## Id(Id V) { DISPATCH(Parent, Id); } 62 RetTy VisitLoc ## Id(loc::Id V) { DISPATCH(Parent, Parent); } 64 RetTy VisitNonLoc ## Id(nonloc::Id V) { DISPATCH(Parent, Parent); } 68 RetTy VisitSVal(SVal V) { return RetTy(); } in VisitSVal() 75 template <typename ImplClass, typename RetTy = void> class SymExprVisitor { 81 RetTy Visit(SymbolRef S) { in Visit() 93 #define SYMBOL(Id, Parent) RetTy Visit ## Id(const Id *S) { DISPATCH(Parent); } 98 RetTy VisitSymExpr(SymbolRef S) { return RetTy(); } in VisitSymExpr() [all …]
|
/external/clang/include/clang/AST/ |
D | StmtVisitor.h | 32 template<template <typename> class Ptr, typename ImplClass, typename RetTy=void> 40 RetTy Visit(PTR(Stmt) S) { in Visit() 114 RetTy Visit ## CLASS(PTR(CLASS) S) { DISPATCH(PARENT, PARENT); } 120 RetTy VisitBin ## NAME(PTR(BinaryOperator) S) { \ 140 RetTy VisitBin ## NAME(PTR(CompoundAssignOperator) S) { \ in BINOP_FALLBACK() 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> {}; 186 template<typename ImplClass, typename RetTy=void> [all …]
|
D | CommentVisitor.h | 22 template<template <typename> class Ptr, typename ImplClass, typename RetTy=void> 29 RetTy visit(PTR(Comment) C) { in visit() 31 return RetTy(); in visit() 48 RetTy visit ## CLASS(PTR(CLASS) C) { DISPATCH(PARENT, PARENT); } 53 RetTy visitComment(PTR(Comment) C) { return RetTy(); } in visitComment() 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> {};
|
D | DeclVisitor.h | 30 template<template <typename> class Ptr, typename ImplClass, typename RetTy=void> 38 RetTy Visit(PTR(Decl) D) { in Visit() 51 RetTy Visit##DERIVED##Decl(PTR(DERIVED##Decl) D) { DISPATCH(BASE, BASE); } 54 RetTy VisitDecl(PTR(Decl) D) { return RetTy(); } in VisitDecl() 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> {};
|
D | TypeLocVisitor.h | 26 template<typename ImplClass, typename RetTy=void> 29 RetTy Visit(TypeLoc TyLoc) { in Visit() 39 RetTy Visit(UnqualTypeLoc TyLoc) { in Visit() 50 RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 55 RetTy VisitTypeLoc(TypeLoc TyLoc) { return RetTy(); } in VisitTypeLoc()
|
D | TypeVisitor.h | 64 template<typename ImplClass, typename RetTy=void> 69 RetTy Visit(const Type *T) { in Visit() 81 #define TYPE(CLASS, PARENT) RetTy Visit##CLASS##Type(const CLASS##Type *T) { \ 88 RetTy VisitType(const Type*) { return RetTy(); } in VisitType()
|
/external/llvm-project/clang/include/clang/AST/ |
D | CommentVisitor.h | 19 typename RetTy = void, class... ParamTys> 27 RetTy visit(PTR(Comment) C, ParamTys... P) { in visit() 29 return RetTy(); in visit() 46 RetTy visit##CLASS(PTR(CLASS) C, ParamTys... P) { DISPATCH(PARENT, PARENT); } 51 RetTy visitComment(PTR(Comment) C, ParamTys... P) { return RetTy(); } in visitComment() 57 template <typename ImplClass, typename RetTy = void, class... ParamTys> 59 RetTy, ParamTys...> {}; 61 template <typename ImplClass, typename RetTy = void, class... ParamTys> 63 : public CommentVisitorBase<llvm::make_const_ptr, ImplClass, RetTy,
|
D | DeclVisitor.h | 30 template<template <typename> class Ptr, typename ImplClass, typename RetTy=void> 37 RetTy Visit(PTR(Decl) D) { in Visit() 50 RetTy Visit##DERIVED##Decl(PTR(DERIVED##Decl) D) { DISPATCH(BASE, BASE); } 53 RetTy VisitDecl(PTR(Decl) D) { return RetTy(); } in VisitDecl() 65 template <typename ImplClass, typename RetTy = void> 67 : public declvisitor::Base<std::add_pointer, ImplClass, RetTy> {}; 72 template <typename ImplClass, typename RetTy = void> 74 : public declvisitor::Base<llvm::make_const_ptr, ImplClass, RetTy> {};
|
D | AttrVisitor.h | 24 typename RetTy = void, class... ParamTys> 31 RetTy Visit(PTR(Attr) A) { in Visit() 45 RetTy Visit##NAME##Attr(PTR(NAME##Attr) A) { DISPATCH(Attr); } 48 RetTy VisitAttr(PTR(Attr)) { return RetTy(); } in VisitAttr() 60 template <typename ImplClass, typename RetTy = void, typename... ParamTys> 61 class AttrVisitor : public attrvisitor::Base<std::add_pointer, ImplClass, RetTy, 68 template <typename ImplClass, typename RetTy = void, typename... ParamTys> 70 : public attrvisitor::Base<llvm::make_const_ptr, ImplClass, RetTy,
|
D | TemplateArgumentVisitor.h | 24 typename RetTy = void, typename... ParamTys> 33 RetTy Visit(REF(TemplateArgument) TA, ParamTys... P) { in Visit() 52 RetTy Visit##CATEGORY##TemplateArgument(REF(TemplateArgument) TA, \ 67 RetTy VisitTemplateArgument(REF(TemplateArgument), ParamTys...) { in VisitTemplateArgument() 68 return RetTy(); in VisitTemplateArgument() 82 template <typename ImplClass, typename RetTy = void, typename... ParamTys> 85 RetTy, ParamTys...> {}; 91 template <typename ImplClass, typename RetTy = void, typename... ParamTys> 94 RetTy, ParamTys...> {};
|
D | TypeLocVisitor.h | 24 template<typename ImplClass, typename RetTy=void> 27 RetTy Visit(TypeLoc TyLoc) { in Visit() 37 RetTy Visit(UnqualTypeLoc TyLoc) { in Visit() 48 RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 53 RetTy VisitTypeLoc(TypeLoc TyLoc) { return RetTy(); } in VisitTypeLoc()
|
D | NonTrivialTypeVisitor.h | 21 template <class Derived, class RetTy = void> struct DestructedTypeVisitor { 22 template <class... Ts> RetTy visit(QualType FT, Ts &&... Args) { in visit() 28 RetTy visitWithKind(QualType::DestructionKind DK, QualType FT, in visitWithKind() 49 template <class Derived, class RetTy = void> 51 template <class... Ts> RetTy visit(QualType FT, Ts &&... Args) { in visit() 58 RetTy visitWithKind(QualType::PrimitiveDefaultInitializeKind PDIK, in visitWithKind() 77 template <class Derived, bool IsMove, class RetTy = void> 79 template <class... Ts> RetTy visit(QualType FT, Ts &&... Args) { in visit() 87 RetTy visitWithKind(QualType::PrimitiveCopyKind PCK, QualType FT, in visitWithKind()
|
D | StmtVisitor.h | 34 template<template <typename> class Ptr, typename ImplClass, typename RetTy=void, 43 RetTy Visit(PTR(Stmt) S, ParamTys... P) { in Visit() 117 RetTy Visit ## CLASS(PTR(CLASS) S, ParamTys... P) { DISPATCH(PARENT, PARENT); } 123 RetTy VisitBin ## NAME(PTR(BinaryOperator) S, ParamTys... P) { \ 145 RetTy VisitBin ## NAME(PTR(CompoundAssignOperator) S, ParamTys... P) { \ in BINOP_FALLBACK() 157 RetTy VisitUnary ## NAME(PTR(UnaryOperator) S, ParamTys... P) { \ 171 RetTy VisitStmt(PTR(Stmt) Node, ParamTys... P) { return RetTy(); } 182 template <typename ImplClass, typename RetTy = void, typename... ParamTys> 184 : public StmtVisitorBase<std::add_pointer, ImplClass, RetTy, ParamTys...> { 192 template <typename ImplClass, typename RetTy = void, typename... ParamTys> [all …]
|
D | TypeVisitor.h | 63 template<typename ImplClass, typename RetTy=void> 68 RetTy Visit(const Type *T) { in Visit() 80 #define TYPE(CLASS, PARENT) RetTy Visit##CLASS##Type(const CLASS##Type *T) { \ 87 RetTy VisitType(const Type*) { return RetTy(); } in VisitType()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 306 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument 308 return BaseT::getIntrinsicCost(IID, RetTy, Arguments, U); in getIntrinsicCost() 311 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument 325 return BaseT::getIntrinsicCost(IID, RetTy, ParamTys, U); in getIntrinsicCost() 1071 unsigned getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy, 1074 unsigned RetVF = (RetTy->isVectorTy() ? RetTy->getVectorNumElements() : 1); 1088 if (VF > 1 && !RetTy->isVoidTy()) 1089 RetTy = VectorType::get(RetTy, VF); 1097 if (!RetTy->isVoidTy()) 1098 ScalarizationCost += getScalarizationOverhead(RetTy, true, false); [all …]
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 1206 Type *RetTy = ICA.getReturnType(); in getIntrinsicInstrCost() local 1207 if (isa<ScalableVectorType>(RetTy)) in getIntrinsicInstrCost() 1212 (RetTy->isVectorTy() ? cast<FixedVectorType>(RetTy)->getElementCount() in getIntrinsicInstrCost() 1254 return thisT()->getGatherScatterOpCost(Instruction::Load, RetTy, Args[0], in getIntrinsicInstrCost() 1268 IntrinsicCostAttributes Attrs(IID, RetTy, Args[0]->getType(), FMF, 1, I); in getIntrinsicInstrCost() 1274 IID, RetTy, {Args[0]->getType(), Args[1]->getType()}, FMF, 1, I); in getIntrinsicInstrCost() 1287 OpPropsBW = isPowerOf2_32(RetTy->getScalarSizeInBits()) ? TTI::OP_PowerOf2 in getIntrinsicInstrCost() 1293 thisT()->getArithmeticInstrCost(BinaryOperator::Or, RetTy, CostKind); in getIntrinsicInstrCost() 1295 thisT()->getArithmeticInstrCost(BinaryOperator::Sub, RetTy, CostKind); in getIntrinsicInstrCost() 1297 BinaryOperator::Shl, RetTy, CostKind, OpKindX, OpKindZ, OpPropsX); in getIntrinsicInstrCost() [all …]
|
/external/llvm-project/polly/lib/Transform/ |
D | ScheduleTreeTransform.cpp | 24 template <typename Derived, typename RetTy = void, typename... Args> 31 RetTy visit(const isl::schedule_node &Node, Args... args) { in visit() 63 RetTy visitDomain(const isl::schedule_node &Domain, Args... args) { in visitDomain() 67 RetTy visitBand(const isl::schedule_node &Band, Args... args) { in visitBand() 71 RetTy visitSequence(const isl::schedule_node &Sequence, Args... args) { in visitSequence() 75 RetTy visitSet(const isl::schedule_node &Set, Args... args) { in visitSet() 79 RetTy visitLeaf(const isl::schedule_node &Leaf, Args... args) { in visitLeaf() 83 RetTy visitMark(const isl::schedule_node &Mark, Args... args) { in visitMark() 87 RetTy visitExtension(const isl::schedule_node &Extension, Args... args) { in visitExtension() 92 RetTy visitFilter(const isl::schedule_node &Extension, Args... args) { in visitFilter() [all …]
|
/external/llvm-project/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 694 ABIArgInfo classifyReturnType(QualType RetTy) const; 695 ABIArgInfo classifyArgumentType(QualType RetTy) const; 744 ABIArgInfo DefaultABIInfo::classifyReturnType(QualType RetTy) const { in classifyReturnType() 745 if (RetTy->isVoidType()) in classifyReturnType() 748 if (isAggregateTypeForABI(RetTy)) in classifyReturnType() 749 return getNaturalAlignIndirect(RetTy); in classifyReturnType() 752 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 753 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType() 755 if (const auto *EIT = RetTy->getAs<ExtIntType>()) in classifyReturnType() 760 return getNaturalAlignIndirect(RetTy); in classifyReturnType() [all …]
|
/external/llvm-project/clang/lib/Analysis/ |
D | RetainSummaryManager.cpp | 237 StringRef FName, QualType RetTy) { in getSummaryForOSObject() argument 241 if (RetTy->isPointerType()) { in getSummaryForOSObject() 242 const CXXRecordDecl *PD = RetTy->getPointeeType()->getAsCXXRecordDecl(); in getSummaryForOSObject() 289 QualType RetTy, in getSummaryForObjCOrCFObject() argument 295 std::string RetTyName = RetTy.getAsString(); in getSummaryForObjCOrCFObject() 303 return RetTy->isObjCIdType() ? getUnarySummary(FT, DoNothing) in getSummaryForObjCOrCFObject() 405 if (RetTy->isPointerType()) { in getSummaryForObjCOrCFObject() 408 if (cocoa::isRefType(RetTy, "CF", FName)) { in getSummaryForObjCOrCFObject() 432 if (cocoa::isRefType(RetTy, "CG", FName) || in getSummaryForObjCOrCFObject() 433 cocoa::isRefType(RetTy, "CV", FName)) { in getSummaryForObjCOrCFObject() [all …]
|
/external/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 595 ABIArgInfo classifyReturnType(QualType RetTy) const; 596 ABIArgInfo classifyArgumentType(QualType RetTy) const; 637 ABIArgInfo DefaultABIInfo::classifyReturnType(QualType RetTy) const { in classifyReturnType() 638 if (RetTy->isVoidType()) in classifyReturnType() 641 if (isAggregateTypeForABI(RetTy)) in classifyReturnType() 642 return getNaturalAlignIndirect(RetTy); in classifyReturnType() 645 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 646 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType() 648 return (RetTy->isPromotableIntegerType() ? in classifyReturnType() 664 ABIArgInfo classifyReturnType(QualType RetTy) const; [all …]
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | OrcMCJITReplacement.cpp | 34 Type *RetTy = FTy->getReturnType(); in runFunction() local 44 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction() 87 switch (RetTy->getTypeID()) { in runFunction() 91 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth(); in runFunction()
|