Lines Matching refs:IntrID
37 std::string BlackfinIntrinsicInfo::getName(unsigned IntrID, Type **Tys, in getName() argument
45 assert(!isOverloaded(IntrID) && "Blackfin intrinsics are not overloaded"); in getName()
46 if (IntrID < Intrinsic::num_intrinsics) in getName()
48 assert(IntrID < bfinIntrinsic::num_bfin_intrinsics && "Invalid intrinsic ID"); in getName()
50 std::string Result(names[IntrID - Intrinsic::num_intrinsics]); in getName()
66 bool BlackfinIntrinsicInfo::isOverloaded(unsigned IntrID) const { in isOverloaded()
73 if (IntrID == 0) in isOverloaded()
76 return OTable[IntrID - Intrinsic::num_intrinsics]; in isOverloaded()
96 Function *BlackfinIntrinsicInfo::getDeclaration(Module *M, unsigned IntrID, in getDeclaration() argument
99 assert(!isOverloaded(IntrID) && "Blackfin intrinsics are not overloaded"); in getDeclaration()
100 AttrListPtr AList = getAttributes((bfinIntrinsic::ID) IntrID); in getDeclaration()
101 return cast<Function>(M->getOrInsertFunction(getName(IntrID), in getDeclaration()
102 getType(M->getContext(), IntrID), in getDeclaration()