/external/llvm-project/llvm/unittests/Transforms/Utils/ |
D | IntegerDivisionTest.cpp | 27 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/ |
D | IntegerDivision.cpp | 28 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/ |
D | Function.cpp | 1076 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/ |
D | Function.cpp | 869 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 …]
|
D | Module.cpp | 161 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/ |
D | Function.cpp | 1208 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/ |
D | IRBuilderTest.cpp | 143 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/ |
D | Intrinsics.h | 215 SmallVectorImpl<Type *> &ArgTys); 228 bool getIntrinsicSignature(Function *F, SmallVectorImpl<Type *> &ArgTys);
|
D | Module.h | 364 SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...}; in getOrInsertFunction() 366 FunctionType::get(RetTy, ArgTys, false), in getOrInsertFunction()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 2222 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 …]
|
D | RewriteModernObjC.cpp | 2311 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/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 2231 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 …]
|
D | RewriteModernObjC.cpp | 2317 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/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Intrinsics.h | 154 SmallVectorImpl<Type*> &ArgTys);
|
/external/llvm/include/llvm/IR/ |
D | Intrinsics.h | 145 SmallVectorImpl<Type*> &ArgTys);
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGBlocks.cpp | 1950 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-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstCombineIntrinsic.cpp | 139 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/include/llvm/IR/ |
D | Intrinsics.h | 188 SmallVectorImpl<Type *> &ArgTys);
|
D | Module.h | 360 SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...}; in getOrInsertFunction() 362 FunctionType::get(RetTy, ArgTys, false), in getOrInsertFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 449 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/llvm-project/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 389 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/ |
D | X86WinEHState.cpp | 391 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/ |
D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 470 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/ |
D | X86WinEHState.cpp | 389 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/ |
D | IdentifierTable.cpp | 388 keyword_iterator ArgTys, unsigned NumArgs) { in Profile() argument 391 ID.AddPointer(ArgTys[i]); in Profile()
|