Home
last modified time | relevance | path

Searched refs:ArgTys (Results 1 – 25 of 70) sorted by relevance

123

/external/llvm-project/llvm/unittests/Transforms/Utils/
DIntegerDivisionTest.cpp27 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() local
29 ArgTys, false), in TEST()
57 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() local
59 ArgTys, false), in TEST()
87 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() local
89 ArgTys, false), in TEST()
117 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() local
119 ArgTys, false), in TEST()
148 SmallVector<Type*, 2> ArgTys(2, Builder.getInt64Ty()); in TEST() local
150 ArgTys, false), in TEST()
[all …]
/external/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp28 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() local
30 ArgTys, false), in TEST()
58 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() local
60 ArgTys, false), in TEST()
88 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() local
90 ArgTys, false), in TEST()
118 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() local
120 ArgTys, false), in TEST()
149 SmallVector<Type*, 2> ArgTys(2, Builder.getInt64Ty()); in TEST() local
151 ArgTys, false), in TEST()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DFunction.cpp1076 SmallVector<Type*, 8> ArgTys; in getType() local
1078 ArgTys.push_back(DecodeFixedType(TableRef, Tys, Context)); in getType()
1082 if (!ArgTys.empty() && ArgTys.back()->isVoidTy()) { in getType()
1083 ArgTys.pop_back(); in getType()
1084 return FunctionType::get(ResultTy, ArgTys, true); in getType()
1086 return FunctionType::get(ResultTy, ArgTys, false); in getType()
1136 SmallVectorImpl<Type *> &ArgTys, in matchIntrinsicType() argument
1168 matchIntrinsicType(VT->getElementType(), Infos, ArgTys, in matchIntrinsicType()
1174 matchIntrinsicType(PT->getElementType(), Infos, ArgTys, in matchIntrinsicType()
1184 if (matchIntrinsicType(ST->getElementType(i), Infos, ArgTys, in matchIntrinsicType()
[all …]
/external/llvm/lib/IR/
DFunction.cpp869 SmallVector<Type*, 8> ArgTys; in getType() local
871 ArgTys.push_back(DecodeFixedType(TableRef, Tys, Context)); in getType()
875 if (!ArgTys.empty() && ArgTys.back()->isVoidTy()) { in getType()
876 ArgTys.pop_back(); in getType()
877 return FunctionType::get(ResultTy, ArgTys, true); in getType()
879 return FunctionType::get(ResultTy, ArgTys, false); in getType()
924 SmallVectorImpl<Type*> &ArgTys) { in matchIntrinsicType() argument
945 matchIntrinsicType(VT->getElementType(), Infos, ArgTys); in matchIntrinsicType()
950 matchIntrinsicType(PT->getElementType(), Infos, ArgTys); in matchIntrinsicType()
959 if (matchIntrinsicType(ST->getElementType(i), Infos, ArgTys)) in matchIntrinsicType()
[all …]
DModule.cpp161 std::vector<Type*> ArgTys; in getOrInsertFunction() local
163 ArgTys.push_back(ArgTy); in getOrInsertFunction()
169 FunctionType::get(RetTy, ArgTys, false), in getOrInsertFunction()
179 std::vector<Type*> ArgTys; in getOrInsertFunction() local
181 ArgTys.push_back(ArgTy); in getOrInsertFunction()
187 FunctionType::get(RetTy, ArgTys, false), in getOrInsertFunction()
/external/llvm-project/llvm/lib/IR/
DFunction.cpp1208 SmallVector<Type*, 8> ArgTys; in getType() local
1210 ArgTys.push_back(DecodeFixedType(TableRef, Tys, Context)); in getType()
1214 if (!ArgTys.empty() && ArgTys.back()->isVoidTy()) { in getType()
1215 ArgTys.pop_back(); in getType()
1216 return FunctionType::get(ResultTy, ArgTys, true); in getType()
1218 return FunctionType::get(ResultTy, ArgTys, false); in getType()
1268 SmallVectorImpl<Type *> &ArgTys, in matchIntrinsicType() argument
1301 matchIntrinsicType(VT->getElementType(), Infos, ArgTys, in matchIntrinsicType()
1307 matchIntrinsicType(PT->getElementType(), Infos, ArgTys, in matchIntrinsicType()
1317 if (matchIntrinsicType(ST->getElementType(i), Infos, ArgTys, in matchIntrinsicType()
[all …]
/external/llvm-project/llvm/unittests/IR/
DIRBuilderTest.cpp143 SmallVector<Value*, 3> ArgTys; in TEST_F() local
144 ArgTys.push_back(UndefValue::get(DstVecTy)); in TEST_F()
145 ArgTys.push_back(UndefValue::get(PredTy)); in TEST_F()
146 ArgTys.push_back(UndefValue::get(SrcVecTy)); in TEST_F()
149 ArgTys, nullptr, "aarch64.sve.fcvtzs.i32f16"); in TEST_F()
152 for (unsigned i = 0; i != ArgTys.size(); ++i) in TEST_F()
153 EXPECT_EQ(FTy->getParamType(i), ArgTys[i]->getType()); in TEST_F()
162 ArgTys.clear(); in TEST_F()
163 ArgTys.push_back(UndefValue::get(PtrToVecTy)); in TEST_F()
164 ArgTys.push_back(UndefValue::get(Builder.getInt32Ty())); in TEST_F()
[all …]
/external/llvm-project/llvm/include/llvm/IR/
DIntrinsics.h215 SmallVectorImpl<Type *> &ArgTys);
228 bool getIntrinsicSignature(Function *F, SmallVectorImpl<Type *> &ArgTys);
DModule.h364 SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...}; in getOrInsertFunction()
366 FunctionType::get(RetTy, ArgTys, false), in getOrInsertFunction()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp2231 SmallVector<QualType, 16> ArgTys; in SynthSelGetUidFunctionDecl() local
2232 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2234 getSimpleFunctionType(Context->getObjCSelType(), ArgTys); in SynthSelGetUidFunctionDecl()
2323 SmallVector<QualType, 16> ArgTys; in SynthSuperConstructorFunctionDecl() local
2326 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl()
2327 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl()
2329 ArgTys); in SynthSuperConstructorFunctionDecl()
2340 SmallVector<QualType, 16> ArgTys; in SynthMsgSendFunctionDecl() local
2343 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl()
2346 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl()
[all …]
DRewriteModernObjC.cpp2317 SmallVector<QualType, 16> ArgTys; in SynthSelGetUidFunctionDecl() local
2318 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2320 getSimpleFunctionType(Context->getObjCSelType(), ArgTys); in SynthSelGetUidFunctionDecl()
2412 SmallVector<QualType, 16> ArgTys; in SynthSuperConstructorFunctionDecl() local
2415 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl()
2416 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl()
2418 ArgTys); in SynthSuperConstructorFunctionDecl()
2429 SmallVector<QualType, 16> ArgTys; in SynthMsgSendFunctionDecl() local
2432 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl()
2435 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl()
[all …]
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp2222 SmallVector<QualType, 16> ArgTys; in SynthSelGetUidFunctionDecl() local
2223 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2225 getSimpleFunctionType(Context->getObjCSelType(), ArgTys); in SynthSelGetUidFunctionDecl()
2314 SmallVector<QualType, 16> ArgTys; in SynthSuperConstructorFunctionDecl() local
2317 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl()
2318 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl()
2320 ArgTys); in SynthSuperConstructorFunctionDecl()
2331 SmallVector<QualType, 16> ArgTys; in SynthMsgSendFunctionDecl() local
2334 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl()
2337 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl()
[all …]
DRewriteModernObjC.cpp2311 SmallVector<QualType, 16> ArgTys; in SynthSelGetUidFunctionDecl() local
2312 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2314 getSimpleFunctionType(Context->getObjCSelType(), ArgTys); in SynthSelGetUidFunctionDecl()
2406 SmallVector<QualType, 16> ArgTys; in SynthSuperConstructorFunctionDecl() local
2409 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl()
2410 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl()
2412 ArgTys); in SynthSuperConstructorFunctionDecl()
2423 SmallVector<QualType, 16> ArgTys; in SynthMsgSendFunctionDecl() local
2426 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl()
2429 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGBlocks.cpp1950 SmallVector<QualType, 2> ArgTys; in GenerateCopyHelperFunction() local
1951 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction()
1952 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction()
1953 QualType FunctionTy = C.getFunctionType(ReturnTy, ArgTys, {}); in GenerateCopyHelperFunction()
2145 SmallVector<QualType, 1> ArgTys; in GenerateDestroyHelperFunction() local
2146 ArgTys.push_back(C.VoidPtrTy); in GenerateDestroyHelperFunction()
2147 QualType FunctionTy = C.getFunctionType(ReturnTy, ArgTys, {}); in GenerateDestroyHelperFunction()
2398 SmallVector<QualType, 2> ArgTys; in generateByrefCopyHelper() local
2399 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper()
2400 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper()
[all …]
/external/llvm/include/llvm/IR/
DIntrinsics.h145 SmallVectorImpl<Type*> &ArgTys);
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DIntrinsics.h154 SmallVectorImpl<Type*> &ArgTys);
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUInstCombineIntrinsic.cpp139 SmallVector<Type *, 4> ArgTys; in simplifyAMDGCNImageIntrinsic() local
140 if (!Intrinsic::getIntrinsicSignature(II.getCalledFunction(), ArgTys)) in simplifyAMDGCNImageIntrinsic()
143 ArgTys[ImageDimIntr->GradientTyArg] = CoordType; in simplifyAMDGCNImageIntrinsic()
145 ArgTys[ImageDimIntr->CoordTyArg] = CoordType; in simplifyAMDGCNImageIntrinsic()
147 Intrinsic::getDeclaration(II.getModule(), II.getIntrinsicID(), ArgTys); in simplifyAMDGCNImageIntrinsic()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp449 SmallVector<Type *, 16> ArgTys; in getInvokeWrapper() local
464 ArgTys.push_back(PointerType::getUnqual(CalleeFTy)); in getInvokeWrapper()
466 ArgTys.append(CalleeFTy->param_begin(), CalleeFTy->param_end()); in getInvokeWrapper()
468 FunctionType *FTy = FunctionType::get(CalleeFTy->getReturnType(), ArgTys, in getInvokeWrapper()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIntrinsics.h188 SmallVectorImpl<Type *> &ArgTys);
DModule.h360 SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...}; in getOrInsertFunction()
362 FunctionType::get(RetTy, ArgTys, false), in getOrInsertFunction()
/external/llvm-project/llvm/lib/Target/X86/
DX86WinEHState.cpp389 Type *ArgTys[5] = {Int8PtrType, Int8PtrType, Int8PtrType, Int8PtrType, in generateLSDAInEAXThunk() local
392 FunctionType::get(Int32Ty, makeArrayRef(&ArgTys[0], 4), in generateLSDAInEAXThunk()
395 FunctionType::get(Int32Ty, makeArrayRef(&ArgTys[0], 5), in generateLSDAInEAXThunk()
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp391 Type *ArgTys[5] = {Int8PtrType, Int8PtrType, Int8PtrType, Int8PtrType, in generateLSDAInEAXThunk() local
394 FunctionType::get(Int32Ty, makeArrayRef(&ArgTys[0], 4), in generateLSDAInEAXThunk()
397 FunctionType::get(Int32Ty, makeArrayRef(&ArgTys[0], 5), in generateLSDAInEAXThunk()
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp470 SmallVector<Type *, 16> ArgTys; in getInvokeWrapper() local
478 ArgTys.push_back(PointerType::getUnqual(CalleeFTy)); in getInvokeWrapper()
480 ArgTys.append(CalleeFTy->param_begin(), CalleeFTy->param_end()); in getInvokeWrapper()
482 FunctionType *FTy = FunctionType::get(CalleeFTy->getReturnType(), ArgTys, in getInvokeWrapper()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86WinEHState.cpp389 Type *ArgTys[5] = {Int8PtrType, Int8PtrType, Int8PtrType, Int8PtrType, in generateLSDAInEAXThunk() local
392 FunctionType::get(Int32Ty, makeArrayRef(&ArgTys[0], 4), in generateLSDAInEAXThunk()
395 FunctionType::get(Int32Ty, makeArrayRef(&ArgTys[0], 5), in generateLSDAInEAXThunk()
/external/clang/lib/Basic/
DIdentifierTable.cpp388 keyword_iterator ArgTys, unsigned NumArgs) { in Profile() argument
391 ID.AddPointer(ArgTys[i]); in Profile()

123