search for: hasllvmreservedname

Displaying 1 result from an estimated 1 matches for "hasllvmreservedname".

2019 Apr 24
2
Accelerating TLI getLibFunc lookups
...ractice you ask? * We'd move the definition of LibFunc into include/IR/TargetLibraryFunctions.h/def (only the enum, not the rest of TLI) * We'd change IntID field in GlobalValue to be union of IntrinsicID and LibFunc. * We'd change Function::getIntrisicID to check the HasLLVMReservedName flag (already existing), and return Intrinsic::not_inrinsic value if not set. * We'd add a corresponding getLibFuncID, and isLibFunc function to Function. * We'd modify recalculateIntrinsicID to compute the libfunc enum as well. The tradeoff is that function construction an...