Lines Matching refs:Tys
384 std::string Intrinsic::getName(ID id, ArrayRef<Type*> Tys) {
392 if (Tys.empty())
395 for (unsigned i = 0; i < Tys.size(); ++i) {
396 if (PointerType* PTyp = dyn_cast<PointerType>(Tys[i])) {
400 else if (Tys[i])
401 Result += "." + EVT::getEVT(Tys[i]).getEVTString();
588 ArrayRef<Type*> Tys, LLVMContext &Context) {
604 return VectorType::get(DecodeFixedType(Infos, Tys, Context),D.Vector_Width);
606 return PointerType::get(DecodeFixedType(Infos, Tys, Context),
612 Elts[i] = DecodeFixedType(Infos, Tys, Context);
617 return Tys[D.getArgumentNumber()];
620 Tys[D.getArgumentNumber()]));
624 Tys[D.getArgumentNumber()]));
632 ID id, ArrayRef<Type*> Tys) {
637 Type *ResultTy = DecodeFixedType(TableRef, Tys, Context);
641 ArgTys.push_back(DecodeFixedType(TableRef, Tys, Context));
657 Function *Intrinsic::getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys) {
661 cast<Function>(M->getOrInsertFunction(getName(id, Tys),
662 getType(M->getContext(), id, Tys)));