Home
last modified time | relevance | path

Searched refs:AMDGPULibFunc (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULibFunc.cpp92 using ID = AMDGPULibFunc::EFuncId;
99 static_cast<unsigned>(AMDGPULibFunc::EI_LAST_MANGLED) && in toIndex()
102 static_cast<unsigned>(AMDGPULibFunc::EI_LAST_MANGLED); in toIndex()
107 Index + 1 + static_cast<unsigned>(AMDGPULibFunc::EI_LAST_MANGLED)); in toFuncId()
366 static AMDGPULibFunc::Param getRetType(AMDGPULibFunc::EFuncId id, in getRetType()
367 const AMDGPULibFunc::Param (&Leads)[2]) { in getRetType()
368 AMDGPULibFunc::Param Res = Leads[0]; in getRetType()
371 case AMDGPULibFunc::EI_SINCOS: in getRetType()
372 Res.PtrKind = AMDGPULibFunc::BYVALUE; in getRetType()
381 const AMDGPULibFunc::Param (&Leads)[2];
[all …]
DAMDGPULibCalls.cpp67 typedef llvm::AMDGPULibFunc FuncInfo;
390 static bool HasNative(AMDGPULibFunc::EFuncId id) { in HasNative()
392 case AMDGPULibFunc::EI_DIVIDE: in HasNative()
393 case AMDGPULibFunc::EI_COS: in HasNative()
394 case AMDGPULibFunc::EI_EXP: in HasNative()
395 case AMDGPULibFunc::EI_EXP2: in HasNative()
396 case AMDGPULibFunc::EI_EXP10: in HasNative()
397 case AMDGPULibFunc::EI_LOG: in HasNative()
398 case AMDGPULibFunc::EI_LOG2: in HasNative()
399 case AMDGPULibFunc::EI_LOG10: in HasNative()
[all …]
DAMDGPULibFunc.h357 class AMDGPULibFunc : public AMDGPULibFuncBase {
359 explicit AMDGPULibFunc() : Impl(std::unique_ptr<AMDGPULibFuncImpl>()) {} in AMDGPULibFunc() function
360 AMDGPULibFunc(const AMDGPULibFunc &F);
363 explicit AMDGPULibFunc(EFuncId Id, const AMDGPULibFunc &CopyFrom);
365 explicit AMDGPULibFunc(StringRef FName, FunctionType *FT);
367 AMDGPULibFunc &operator=(const AMDGPULibFunc &F);
395 static Function *getFunction(llvm::Module *M, const AMDGPULibFunc &fInfo);
398 const AMDGPULibFunc &fInfo);
399 static bool parse(StringRef MangledName, AMDGPULibFunc &Ptr);
DCMakeLists.txt51 AMDGPULibFunc.cpp