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 810 RetTypes.push_back(getRetComponentType(F, Ri)); in removeDeadStuffFromFunction() 811 NewRetIdxs[Ri] = RetTypes.size() - 1; in removeDeadStuffFromFunction() 824 if (RetTypes.size() > 1) { in removeDeadStuffFromFunction() 829 NRetTy = StructType::get(STy->getContext(), RetTypes, STy->isPacked()); in removeDeadStuffFromFunction() 832 NRetTy = ArrayType::get(RetTypes[0], RetTypes.size()); in removeDeadStuffFromFunction() 834 } else if (RetTypes.size() == 1) in removeDeadStuffFromFunction() 837 NRetTy = RetTypes.front(); in removeDeadStuffFromFunction() 838 else if (RetTypes.empty()) in removeDeadStuffFromFunction() 994 if (RetTypes.size() > 1) in removeDeadStuffFromFunction() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 748 SmallVector<QualType, 1> &RetTypes, in GetQualTypesForOpenCLBuiltin() argument 752 OCL2Qual(S, TypeTable[Sig], RetTypes); in GetQualTypesForOpenCLBuiltin() 753 GenTypeMaxCnt = RetTypes.size(); in GetQualTypesForOpenCLBuiltin() 777 std::vector<QualType> &FunctionList, SmallVector<QualType, 1> &RetTypes, in GetOpenCLBuiltinFctOverloads() argument 785 if (RetTypes.size() == 0) in GetOpenCLBuiltinFctOverloads() 807 RetTypes[(RetTypes.size() != 1) ? IGenType : 0], ArgList, PI)); in GetOpenCLBuiltinFctOverloads() 861 SmallVector<QualType, 1> RetTypes; in InsertOCLBuiltinDeclarationsFromTable() local 865 GetQualTypesForOpenCLBuiltin(S, OpenCLBuiltin, GenTypeMaxCnt, RetTypes, in InsertOCLBuiltinDeclarationsFromTable() 873 GetOpenCLBuiltinFctOverloads(Context, GenTypeMaxCnt, FunctionList, RetTypes, in InsertOCLBuiltinDeclarationsFromTable()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Intrinsics.td | 639 list<LLVMType> RetTypes, 641 list<LLVMType> AllTypes = !listconcat(RetTypes, ParamTypes); 666 [IIT_RetNumbers[!size(RetTypes)]], 685 // * RetTypes is a list containing the return types expected for the 699 list<LLVMType> RetTypes = ret_types; 708 TypeInfoGen TypeInfo = TypeInfoGen<RetTypes, ParamTypes>;
|
| H A D | IntrinsicsAMDGPU.td | 949 list<LLVMType> RetTypes = []; 959 !foldl(0, !listconcat(RetTypes, !foreach(arg, DataArgs, arg.Type)), a, b, 986 let RetTypes = base.RetTypes; 1001 let RetTypes = !if(has_return, [llvm_any_ty], []); 1021 let RetTypes = retty; 1030 let RetTypes = [rettype]; 1037 let RetTypes = [llvm_anyfloat_ty]; 1076 P_.RetTypes, // vdata(VGPR) -- for load/atomic-with-return
|