Home
last modified time | relevance | path

Searched refs:TableRef (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp413 struct TableRef { struct
417 TableRef() : size(0), table(nullptr) {} in TableRef() function
420 TableRef(const TableEntry (&tbl)[N]) : size(N), table(&tbl[0]) {} in TableRef() argument
423 static TableRef getOptTable(AMDGPULibFunc::EFuncId id) { in getOptTable()
425 case AMDGPULibFunc::EI_ACOS: return TableRef(tbl_acos); in getOptTable()
426 case AMDGPULibFunc::EI_ACOSH: return TableRef(tbl_acosh); in getOptTable()
427 case AMDGPULibFunc::EI_ACOSPI: return TableRef(tbl_acospi); in getOptTable()
428 case AMDGPULibFunc::EI_ASIN: return TableRef(tbl_asin); in getOptTable()
429 case AMDGPULibFunc::EI_ASINH: return TableRef(tbl_asinh); in getOptTable()
430 case AMDGPULibFunc::EI_ASINPI: return TableRef(tbl_asinpi); in getOptTable()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp417 struct TableRef { struct
421 TableRef() : size(0), table(nullptr) {} in TableRef() argument
424 TableRef(const TableEntry (&tbl)[N]) : size(N), table(&tbl[0]) {} in TableRef() function
427 static TableRef getOptTable(AMDGPULibFunc::EFuncId id) { in getOptTable()
429 case AMDGPULibFunc::EI_ACOS: return TableRef(tbl_acos); in getOptTable()
430 case AMDGPULibFunc::EI_ACOSH: return TableRef(tbl_acosh); in getOptTable()
431 case AMDGPULibFunc::EI_ACOSPI: return TableRef(tbl_acospi); in getOptTable()
432 case AMDGPULibFunc::EI_ASIN: return TableRef(tbl_asin); in getOptTable()
433 case AMDGPULibFunc::EI_ASINH: return TableRef(tbl_asinh); in getOptTable()
434 case AMDGPULibFunc::EI_ASINPI: return TableRef(tbl_asinpi); in getOptTable()
[all …]
/external/llvm/lib/IR/
DFunction.cpp866 ArrayRef<IITDescriptor> TableRef = Table; in getType() local
867 Type *ResultTy = DecodeFixedType(TableRef, Tys, Context); in getType()
870 while (!TableRef.empty()) in getType()
871 ArgTys.push_back(DecodeFixedType(TableRef, Tys, Context)); in getType()
1092 ArrayRef<Intrinsic::IITDescriptor> TableRef = Table; in remangleIntrinsicFunction() local
1096 if (Intrinsic::matchIntrinsicType(FTy->getReturnType(), TableRef, ArgTys)) in remangleIntrinsicFunction()
1099 if (Intrinsic::matchIntrinsicType(Ty, TableRef, ArgTys)) in remangleIntrinsicFunction()
1101 if (Intrinsic::matchIntrinsicVarArg(FTy->isVarArg(), TableRef)) in remangleIntrinsicFunction()
DVerifier.cpp3764 ArrayRef<Intrinsic::IITDescriptor> TableRef = Table; in visitIntrinsicCallSite() local
3768 TableRef, ArgTys), in visitIntrinsicCallSite()
3772 TableRef, ArgTys), in visitIntrinsicCallSite()
3777 Assert(!Intrinsic::matchIntrinsicVarArg(IsVarArg, TableRef), in visitIntrinsicCallSite()
3780 Assert(!Intrinsic::matchIntrinsicVarArg(IsVarArg, TableRef), in visitIntrinsicCallSite()
3784 Assert(TableRef.empty(), "Intrinsic has too few arguments!", IF); in visitIntrinsicCallSite()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DFunction.cpp1073 ArrayRef<IITDescriptor> TableRef = Table; in getType() local
1074 Type *ResultTy = DecodeFixedType(TableRef, Tys, Context); in getType()
1077 while (!TableRef.empty()) in getType()
1078 ArgTys.push_back(DecodeFixedType(TableRef, Tys, Context)); in getType()
1419 ArrayRef<Intrinsic::IITDescriptor> TableRef = Table; in remangleIntrinsicFunction() local
1421 if (Intrinsic::matchIntrinsicSignature(FTy, TableRef, ArgTys)) in remangleIntrinsicFunction()
1423 if (Intrinsic::matchIntrinsicVarArg(FTy->isVarArg(), TableRef)) in remangleIntrinsicFunction()
DVerifier.cpp4274 ArrayRef<Intrinsic::IITDescriptor> TableRef = Table; in visitIntrinsicCall() local
4279 Intrinsic::matchIntrinsicSignature(IFTy, TableRef, ArgTys); in visitIntrinsicCall()
4287 Assert(!Intrinsic::matchIntrinsicVarArg(IsVarArg, TableRef), in visitIntrinsicCall()
4290 Assert(!Intrinsic::matchIntrinsicVarArg(IsVarArg, TableRef), in visitIntrinsicCall()
4294 Assert(TableRef.empty(), "Intrinsic has too few arguments!", IF); in visitIntrinsicCall()
/external/llvm-project/llvm/lib/IR/
DFunction.cpp1205 ArrayRef<IITDescriptor> TableRef = Table; in getType() local
1206 Type *ResultTy = DecodeFixedType(TableRef, Tys, Context); in getType()
1209 while (!TableRef.empty()) in getType()
1210 ArgTys.push_back(DecodeFixedType(TableRef, Tys, Context)); in getType()
1540 ArrayRef<Intrinsic::IITDescriptor> TableRef = Table; in getIntrinsicSignature() local
1542 if (Intrinsic::matchIntrinsicSignature(F->getFunctionType(), TableRef, in getIntrinsicSignature()
1548 TableRef)) in getIntrinsicSignature()
DVerifier.cpp4486 ArrayRef<Intrinsic::IITDescriptor> TableRef = Table; in visitIntrinsicCall() local
4491 Intrinsic::matchIntrinsicSignature(IFTy, TableRef, ArgTys); in visitIntrinsicCall()
4499 Assert(!Intrinsic::matchIntrinsicVarArg(IsVarArg, TableRef), in visitIntrinsicCall()
4502 Assert(!Intrinsic::matchIntrinsicVarArg(IsVarArg, TableRef), in visitIntrinsicCall()
4506 Assert(TableRef.empty(), "Intrinsic has too few arguments!", IF); in visitIntrinsicCall()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFVerifier.cpp1113 ArrayRef<FormClassTable> TableRef(Table); in verifyNameIndexAttribute() local
1114 auto Iter = find_if(TableRef, [AttrEnc](const FormClassTable &T) { in verifyNameIndexAttribute()
1117 if (Iter == TableRef.end()) { in verifyNameIndexAttribute()
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFVerifier.cpp1170 ArrayRef<FormClassTable> TableRef(Table); in verifyNameIndexAttribute() local
1171 auto Iter = find_if(TableRef, [AttrEnc](const FormClassTable &T) { in verifyNameIndexAttribute()
1174 if (Iter == TableRef.end()) { in verifyNameIndexAttribute()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp1057 ArrayRef<Intrinsic::IITDescriptor> TableRef = Table; in simplifyAMDGCNMemoryIntrinsicDemanded() local
1063 Intrinsic::matchIntrinsicSignature(FTy, TableRef, OverloadTys); in simplifyAMDGCNMemoryIntrinsicDemanded()