33 if (NumLocations == 0)
36 assert(LocID < NumLocations &&
"Invalid location ID!");
37 return Locations[LocID];
53 if (Array == 0)
return 0;
56 for (
unsigned i = 0; Array[i].Name; ++i)
57 (*Map)[Array[i].Name] = Array+i;
const LibCallFunctionInfo * getFunctionInfo(const Function *F) const
StringRef getName() const
virtual const LibCallFunctionInfo * getFunctionInfoArray() const =0
ValueTy lookup(StringRef Key) const
static StringMap< const LibCallFunctionInfo * > * getMap(void *Ptr)
const LibCallLocationInfo & getLocationInfo(unsigned LocID) const
getLocationInfo - Return information about the specified LocationID.