/external/clang/lib/ASTMatchers/Dynamic/ |
D | Marshallers.h | 267 std::vector<ast_type_traits::ASTNodeKind> &RetTypes) { 268 RetTypes.push_back( 270 buildReturnTypeVectorFromTypeList<typename T::tail>(RetTypes); 276 std::vector<ast_type_traits::ASTNodeKind> &RetTypes) {} 280 static void build(std::vector<ast_type_traits::ASTNodeKind> &RetTypes) { 281 buildReturnTypeVectorFromTypeList<typename T::ReturnTypes>(RetTypes); 287 static void build(std::vector<ast_type_traits::ASTNodeKind> &RetTypes) { 288 RetTypes.push_back(ast_type_traits::ASTNodeKind::getFromNodeKind<T>()); 294 static void build(std::vector<ast_type_traits::ASTNodeKind> &RetTypes) { 295 RetTypes.push_back(ast_type_traits::ASTNodeKind::getFromNodeKind<T>()); [all …]
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Marshallers.h | 441 buildReturnTypeVectorFromTypeList(std::vector<ASTNodeKind> &RetTypes) { 442 RetTypes.push_back(ASTNodeKind::getFromNodeKind<typename T::head>()); 443 buildReturnTypeVectorFromTypeList<typename T::tail>(RetTypes); 449 std::vector<ASTNodeKind> &RetTypes) {} 453 static void build(std::vector<ASTNodeKind> &RetTypes) { 454 buildReturnTypeVectorFromTypeList<typename T::ReturnTypes>(RetTypes); 460 static void build(std::vector<ASTNodeKind> &RetTypes) { 461 RetTypes.push_back(ASTNodeKind::getFromNodeKind<T>()); 467 static void build(std::vector<ASTNodeKind> &RetTypes) { 468 RetTypes.push_back(ASTNodeKind::getFromNodeKind<T>()); [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 776 std::vector<Type*> RetTypes; in RemoveDeadStuffFromFunction() local 804 RetTypes.push_back(getRetComponentType(F, i)); in RemoveDeadStuffFromFunction() 805 NewRetIdxs[i] = RetTypes.size() - 1; in RemoveDeadStuffFromFunction() 813 if (RetTypes.size() > 1) { in RemoveDeadStuffFromFunction() 818 NRetTy = StructType::get(STy->getContext(), RetTypes, STy->isPacked()); in RemoveDeadStuffFromFunction() 821 NRetTy = ArrayType::get(RetTypes[0], RetTypes.size()); in RemoveDeadStuffFromFunction() 823 } else if (RetTypes.size() == 1) in RemoveDeadStuffFromFunction() 826 NRetTy = RetTypes.front(); in RemoveDeadStuffFromFunction() 827 else if (RetTypes.empty()) in RemoveDeadStuffFromFunction() 985 if (RetTypes.size() > 1) in RemoveDeadStuffFromFunction() [all …]
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 778 std::vector<Type*> RetTypes; in RemoveDeadStuffFromFunction() local 806 RetTypes.push_back(getRetComponentType(F, Ri)); in RemoveDeadStuffFromFunction() 807 NewRetIdxs[Ri] = RetTypes.size() - 1; in RemoveDeadStuffFromFunction() 815 if (RetTypes.size() > 1) { in RemoveDeadStuffFromFunction() 820 NRetTy = StructType::get(STy->getContext(), RetTypes, STy->isPacked()); in RemoveDeadStuffFromFunction() 823 NRetTy = ArrayType::get(RetTypes[0], RetTypes.size()); in RemoveDeadStuffFromFunction() 825 } else if (RetTypes.size() == 1) in RemoveDeadStuffFromFunction() 828 NRetTy = RetTypes.front(); in RemoveDeadStuffFromFunction() 829 else if (RetTypes.empty()) in RemoveDeadStuffFromFunction() 984 if (RetTypes.size() > 1) in RemoveDeadStuffFromFunction() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 724 std::vector<Type*> RetTypes; in RemoveDeadStuffFromFunction() local 752 RetTypes.push_back(getRetComponentType(F, i)); in RemoveDeadStuffFromFunction() 753 NewRetIdxs[i] = RetTypes.size() - 1; in RemoveDeadStuffFromFunction() 760 if (RetTypes.size() > 1) { in RemoveDeadStuffFromFunction() 765 NRetTy = StructType::get(STy->getContext(), RetTypes, STy->isPacked()); in RemoveDeadStuffFromFunction() 768 NRetTy = ArrayType::get(RetTypes[0], RetTypes.size()); in RemoveDeadStuffFromFunction() 770 } else if (RetTypes.size() == 1) in RemoveDeadStuffFromFunction() 773 NRetTy = RetTypes.front(); in RemoveDeadStuffFromFunction() 774 else if (RetTypes.size() == 0) in RemoveDeadStuffFromFunction() 935 if (RetTypes.size() > 1) in RemoveDeadStuffFromFunction() [all …]
|
/external/llvm-project/llvm/test/TableGen/ |
D | intrinsic-varargs.td | 19 list<LLVMType> RetTypes = [];
|
D | intrinsic-struct.td | 24 list<LLVMType> RetTypes = ret_types;
|
D | intrin-side-effects.td | 29 list<LLVMType> RetTypes = ret_types;
|
D | intrinsic-long-name.td | 24 list<LLVMType> RetTypes = [];
|
D | intrinsic-pointer-to-any.td | 33 list<LLVMType> RetTypes = ret_types;
|
D | searchabletables-intrinsic.td | 26 list<LLVMType> RetTypes = [];
|
/external/llvm/test/TableGen/ |
D | intrinsic-varargs.td | 20 list<LLVMType> RetTypes = [];
|
D | intrinsic-long-name.td | 20 list<LLVMType> RetTypes = [];
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | IntrinsicsAMDGPU.td | 597 list<LLVMType> RetTypes = []; 604 !foldl(0, !listconcat(RetTypes, !foreach(arg, DataArgs, arg.Type)), a, b, 631 let RetTypes = base.RetTypes; 642 let RetTypes = [llvm_any_ty]; 653 let RetTypes = retty; 661 let RetTypes = [llvm_anyint_ty]; 667 let RetTypes = [llvm_anyfloat_ty]; 690 P_.RetTypes, // vdata(VGPR) -- for load/atomic-with-return
|
D | Intrinsics.td | 299 // * RetTypes is a list containing the return types expected for the 312 list<LLVMType> RetTypes = ret_types;
|
/external/llvm-project/llvm/utils/TableGen/ |
D | CodeGenTarget.cpp | 707 ListInit *RetTypes = R->getValueAsListInit("RetTypes"); in CodeGenIntrinsic() local 712 for (ListInit *TypeList : {RetTypes, ParamTypes}) { in CodeGenIntrinsic() 729 ListInit *TypeList = RetTypes; in CodeGenIntrinsic()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | IntrinsicsAMDGPU.td | 614 list<LLVMType> RetTypes = []; 621 !foldl(0, !listconcat(RetTypes, !foreach(arg, DataArgs, arg.Type)), a, b, 648 let RetTypes = base.RetTypes; 659 let RetTypes = [llvm_any_ty]; 670 let RetTypes = retty; 678 let RetTypes = [llvm_anyint_ty]; 684 let RetTypes = [llvm_anyfloat_ty]; 717 P_.RetTypes, // vdata(VGPR) -- for load/atomic-with-return
|
D | Intrinsics.td | 334 // * RetTypes is a list containing the return types expected for the 348 list<LLVMType> RetTypes = ret_types;
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaLookup.cpp | 693 unsigned &GenTypeMaxCnt, SmallVector<QualType, 1> &RetTypes, in GetQualTypesForOpenCLBuiltin() argument 697 OCL2Qual(Context, TypeTable[Sig], RetTypes); in GetQualTypesForOpenCLBuiltin() 698 GenTypeMaxCnt = RetTypes.size(); in GetQualTypesForOpenCLBuiltin() 722 std::vector<QualType> &FunctionList, SmallVector<QualType, 1> &RetTypes, in GetOpenCLBuiltinFctOverloads() argument 742 RetTypes[(RetTypes.size() != 1) ? IGenType : 0], ArgList, PI)); in GetOpenCLBuiltinFctOverloads() 793 SmallVector<QualType, 1> RetTypes; in InsertOCLBuiltinDeclarationsFromTable() local 798 RetTypes, ArgTypes); in InsertOCLBuiltinDeclarationsFromTable() 805 GetOpenCLBuiltinFctOverloads(Context, GenTypeMaxCnt, FunctionList, RetTypes, in InsertOCLBuiltinDeclarationsFromTable()
|
/external/llvm/include/llvm/IR/ |
D | Intrinsics.td | 239 // * RetTypes is a list containing the return types expected for the 252 list<LLVMType> RetTypes = ret_types;
|