Searched refs:AMDGPULibFunc (Results 1 – 4 of 4) sorted by relevance
92 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 …]
67 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 …]
357 class AMDGPULibFunc : public AMDGPULibFuncBase {359 explicit AMDGPULibFunc() : Impl(std::unique_ptr<AMDGPULibFuncImpl>()) {} in AMDGPULibFunc() function360 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);
51 AMDGPULibFunc.cpp