/external/swiftshader/third_party/llvm-7.0/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() 158 RetTy visit##OPCODE(CLASS &I) { \ 169 RetTy visitReturnInst(ReturnInst &I) { DELEGATE(TerminatorInst);} in visitReturnInst() 170 RetTy visitBranchInst(BranchInst &I) { DELEGATE(TerminatorInst);} in visitBranchInst() 171 RetTy visitSwitchInst(SwitchInst &I) { DELEGATE(TerminatorInst);} in visitSwitchInst() 172 RetTy visitIndirectBrInst(IndirectBrInst &I) { DELEGATE(TerminatorInst);} in visitIndirectBrInst() 173 RetTy visitResumeInst(ResumeInst &I) { DELEGATE(TerminatorInst);} in visitResumeInst() 174 RetTy visitUnreachableInst(UnreachableInst &I) { DELEGATE(TerminatorInst);} in visitUnreachableInst() [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/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | InstVisitor.h | 77 template<typename SubClass, typename RetTy=void> 111 RetTy visit(Instruction *I) { return visit(*I); } in visit() 115 RetTy visit(Instruction &I) { in visit() 154 RetTy visit##OPCODE(CLASS &I) { DELEGATE(CLASS); } 160 RetTy visitReturnInst(ReturnInst &I) { DELEGATE(TerminatorInst);} in visitReturnInst() 161 RetTy visitBranchInst(BranchInst &I) { DELEGATE(TerminatorInst);} in visitBranchInst() 162 RetTy visitSwitchInst(SwitchInst &I) { DELEGATE(TerminatorInst);} in visitSwitchInst() 163 RetTy visitIndirectBrInst(IndirectBrInst &I) { DELEGATE(TerminatorInst);} in visitIndirectBrInst() 164 RetTy visitInvokeInst(InvokeInst &I) { DELEGATE(TerminatorInst);} in visitInvokeInst() 165 RetTy visitUnwindInst(UnwindInst &I) { DELEGATE(TerminatorInst);} in visitUnwindInst() [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/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/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 234 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument 236 return BaseT::getIntrinsicCost(IID, RetTy, Arguments); in getIntrinsicCost() 239 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument 253 return BaseT::getIntrinsicCost(IID, RetTy, ParamTys); in getIntrinsicCost() 899 unsigned getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy, 902 unsigned RetVF = (RetTy->isVectorTy() ? RetTy->getVectorNumElements() : 1); 915 if (VF > 1 && !RetTy->isVoidTy()) 916 RetTy = VectorType::get(RetTy, VF); 924 if (!RetTy->isVoidTy()) 925 ScalarizationCost += getScalarizationOverhead(RetTy, true, false); [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 165 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument 167 return BaseT::getIntrinsicCost(IID, RetTy, Arguments); in getIntrinsicCost() 170 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument 184 return BaseT::getIntrinsicCost(IID, RetTy, ParamTys); in getIntrinsicCost() 673 unsigned getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicInstrCost() argument 680 return static_cast<T *>(this)->getIntrinsicInstrCost(IID, RetTy, Types, in getIntrinsicInstrCost() 699 RetTy, Args[0], VarMask, in getIntrinsicInstrCost() 706 unsigned getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicInstrCost() argument 715 Type *ScalarRetTy = RetTy; in getIntrinsicInstrCost() 716 if (RetTy->isVectorTy()) { in getIntrinsicInstrCost() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 305 Type *RetTy = F->getReturnType(); in NumRetVals() local 306 if (RetTy->isVoidTy()) in NumRetVals() 308 else if (StructType *STy = dyn_cast<StructType>(RetTy)) in NumRetVals() 310 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy)) in NumRetVals() 320 Type *RetTy = F->getReturnType(); in getRetComponentType() local 321 assert(!RetTy->isVoidTy() && "void type has no subtype"); in getRetComponentType() 323 if (StructType *STy = dyn_cast<StructType>(RetTy)) in getRetComponentType() 325 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy)) in getRetComponentType() 328 return RetTy; in getRetComponentType() 718 Type *RetTy = FTy->getReturnType(); in RemoveDeadStuffFromFunction() local [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | TargetTransformInfo.h | 180 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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 325 Type *RetTy = F->getReturnType(); in NumRetVals() local 326 if (RetTy->isVoidTy()) in NumRetVals() 328 else if (StructType *STy = dyn_cast<StructType>(RetTy)) in NumRetVals() 330 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy)) in NumRetVals() 340 Type *RetTy = F->getReturnType(); in getRetComponentType() local 341 assert(!RetTy->isVoidTy() && "void type has no subtype"); in getRetComponentType() 343 if (StructType *STy = dyn_cast<StructType>(RetTy)) in getRetComponentType() 345 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy)) in getRetComponentType() 348 return RetTy; in getRetComponentType() 766 Type *RetTy = FTy->getReturnType(); in RemoveDeadStuffFromFunction() local [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()
|
/external/swiftshader/third_party/llvm-7.0/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUUnifyDivergentExitNodes.cpp | 189 Type *RetTy = F.getReturnType(); in runOnFunction() local 190 Value *RetVal = RetTy->isVoidTy() ? nullptr : UndefValue::get(RetTy); in runOnFunction() 236 Type *RetTy = F.getReturnType(); in runOnFunction() local 237 Value *RetVal = RetTy->isVoidTy() ? nullptr : UndefValue::get(RetTy); in runOnFunction()
|
/external/clang/lib/Analysis/ |
D | CocoaConventions.cpp | 25 bool cocoa::isRefType(QualType RetTy, StringRef Prefix, in isRefType() argument 28 while (const TypedefType *TD = RetTy->getAs<TypedefType>()) { in isRefType() 35 RetTy = TD->getDecl()->getUnderlyingType(); in isRefType() 42 const PointerType* PT = RetTy->getAs<PointerType>(); in isRefType()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsCCState.h | 34 const Type *RetTy, const char * Func); 54 const Type *RetTy); 121 CCAssignFn Fn, const Type *RetTy, in AnalyzeCallResult() argument 123 PreAnalyzeCallResultForF128(Ins, RetTy, Func); in AnalyzeCallResult() 124 PreAnalyzeCallResultForVectorFloat(Ins, RetTy); in AnalyzeCallResult()
|
D | MipsCCState.cpp | 89 const Type *RetTy, const char *Call) { in PreAnalyzeCallResultForF128() argument 92 originalTypeIsF128(RetTy, Call)); in PreAnalyzeCallResultForF128() 93 OriginalArgWasFloat.push_back(RetTy->isFloatingPointTy()); in PreAnalyzeCallResultForF128() 113 const SmallVectorImpl<ISD::InputArg> &Ins, const Type *RetTy) { in PreAnalyzeCallResultForVectorFloat() argument 115 OriginalRetWasFloatVector.push_back(originalTypeIsVectorFloat(RetTy)); in PreAnalyzeCallResultForVectorFloat()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 129 Type *RetTy = FTy->getReturnType(); in runFunction() local 139 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction() 183 switch (RetTy->getTypeID()) { in runFunction() 186 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth(); in runFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonTargetTransformInfo.cpp | 127 unsigned HexagonTTIImpl::getCallInstrCost(Function *F, Type *RetTy, in getCallInstrCost() argument 129 return BaseT::getCallInstrCost(F, RetTy, Tys); in getCallInstrCost() 132 unsigned HexagonTTIImpl::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, in getIntrinsicInstrCost() argument 134 return BaseT::getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF); in getIntrinsicInstrCost() 137 unsigned HexagonTTIImpl::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, in getIntrinsicInstrCost() argument 141 std::pair<int, MVT> LT = TLI.getTypeLegalizationCost(DL, RetTy); in getIntrinsicInstrCost() 144 return BaseT::getIntrinsicInstrCost(ID, RetTy, Tys, FMF, in getIntrinsicInstrCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | TargetTransformInfo.h | 236 int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 242 int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 845 int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, 852 int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, 857 int getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys) const; 1016 virtual int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 1018 virtual int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 1136 virtual int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, 1139 virtual int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, 1141 virtual int getCallInstrCost(Function *F, Type *RetTy, [all …]
|
/external/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 80 Intrinsic::ID IID, Type *RetTy, ArrayRef<const Value *> Arguments) const { in getIntrinsicCost() argument 81 int Cost = TTIImpl->getIntrinsicCost(IID, RetTy, Arguments); in getIntrinsicCost() 359 int TargetTransformInfo::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, in getIntrinsicInstrCost() argument 362 int Cost = TTIImpl->getIntrinsicInstrCost(ID, RetTy, Tys, FMF); in getIntrinsicInstrCost() 367 int TargetTransformInfo::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, in getIntrinsicInstrCost() argument 370 int Cost = TTIImpl->getIntrinsicInstrCost(ID, RetTy, Args, FMF); in getIntrinsicInstrCost() 375 int TargetTransformInfo::getCallInstrCost(Function *F, Type *RetTy, in getCallInstrCost() argument 377 int Cost = TTIImpl->getCallInstrCost(F, RetTy, Tys); in getCallInstrCost()
|