Searched refs:RetTypes (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
H A D | Marshallers.h | 458 buildReturnTypeVectorFromTypeList(std::vector<ASTNodeKind> &RetTypes) { 459 RetTypes.push_back(ASTNodeKind::getFromNodeKind<typename T::head>()); 460 buildReturnTypeVectorFromTypeList<typename T::tail>(RetTypes); 466 std::vector<ASTNodeKind> &RetTypes) {} 470 static void build(std::vector<ASTNodeKind> &RetTypes) { 471 buildReturnTypeVectorFromTypeList<typename T::ReturnTypes>(RetTypes); 477 static void build(std::vector<ASTNodeKind> &RetTypes) { 478 RetTypes.push_back(ASTNodeKind::getFromNodeKind<T>()); 484 static void build(std::vector<ASTNodeKind> &RetTypes) { 485 RetTypes.push_back(ASTNodeKind::getFromNodeKind<T>()); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | DeadArgumentElimination.cpp | 781 std::vector<Type *> RetTypes; in removeDeadStuffFromFunction() local 809 RetTypes.push_back(getRetComponentType(F, Ri)); in removeDeadStuffFromFunction() 810 NewRetIdxs[Ri] = RetTypes.size() - 1; in removeDeadStuffFromFunction() 818 if (RetTypes.size() > 1) { in removeDeadStuffFromFunction() 823 NRetTy = StructType::get(STy->getContext(), RetTypes, STy->isPacked()); in removeDeadStuffFromFunction() 826 NRetTy = ArrayType::get(RetTypes[0], RetTypes.size()); in removeDeadStuffFromFunction() 828 } else if (RetTypes.size() == 1) in removeDeadStuffFromFunction() 831 NRetTy = RetTypes.front(); in removeDeadStuffFromFunction() 832 else if (RetTypes.empty()) in removeDeadStuffFromFunction() 988 if (RetTypes.size() > 1) in removeDeadStuffFromFunction() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaLookup.cpp | 745 SmallVector<QualType, 1> &RetTypes, in GetQualTypesForOpenCLBuiltin() argument 749 OCL2Qual(S, TypeTable[Sig], RetTypes); in GetQualTypesForOpenCLBuiltin() 750 GenTypeMaxCnt = RetTypes.size(); in GetQualTypesForOpenCLBuiltin() 774 std::vector<QualType> &FunctionList, SmallVector<QualType, 1> &RetTypes, in GetOpenCLBuiltinFctOverloads() argument 782 if (RetTypes.size() == 0) in GetOpenCLBuiltinFctOverloads() 804 RetTypes[(RetTypes.size() != 1) ? IGenType : 0], ArgList, PI)); in GetOpenCLBuiltinFctOverloads() 858 SmallVector<QualType, 1> RetTypes; in InsertOCLBuiltinDeclarationsFromTable() local 862 GetQualTypesForOpenCLBuiltin(S, OpenCLBuiltin, GenTypeMaxCnt, RetTypes, in InsertOCLBuiltinDeclarationsFromTable() 870 GetOpenCLBuiltinFctOverloads(Context, GenTypeMaxCnt, FunctionList, RetTypes, in InsertOCLBuiltinDeclarationsFromTable()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IntrinsicsAMDGPU.td | 723 list<LLVMType> RetTypes = []; 733 !foldl(0, !listconcat(RetTypes, !foreach(arg, DataArgs, arg.Type)), a, b, 760 let RetTypes = base.RetTypes; 775 let RetTypes = !if(has_return, [llvm_any_ty], []); 795 let RetTypes = retty; 803 let RetTypes = [llvm_anyint_ty]; 811 let RetTypes = [llvm_anyfloat_ty]; 816 let RetTypes = [llvm_anyfloat_ty]; 855 P_.RetTypes, // vdata(VGPR) -- for load/atomic-with-return
|
H A D | Intrinsics.td | 603 list<LLVMType> RetTypes, 605 list<LLVMType> AllTypes = !listconcat(RetTypes, ParamTypes); 630 [IIT_RetNumbers[!size(RetTypes)]], 649 // * RetTypes is a list containing the return types expected for the 663 list<LLVMType> RetTypes = ret_types; 674 TypeInfoGen TypeInfo = TypeInfoGen<RetTypes, ParamTypes>;
|