Lines Matching refs:IITDescriptor
695 SmallVectorImpl<Intrinsic::IITDescriptor> &OutputTable) { in DecodeIITType()
703 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Void, 0)); in DecodeIITType()
706 OutputTable.push_back(IITDescriptor::get(IITDescriptor::VarArg, 0)); in DecodeIITType()
709 OutputTable.push_back(IITDescriptor::get(IITDescriptor::MMX, 0)); in DecodeIITType()
712 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Token, 0)); in DecodeIITType()
715 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Metadata, 0)); in DecodeIITType()
718 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Half, 0)); in DecodeIITType()
721 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Float, 0)); in DecodeIITType()
724 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Double, 0)); in DecodeIITType()
727 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Quad, 0)); in DecodeIITType()
730 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 1)); in DecodeIITType()
733 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 8)); in DecodeIITType()
736 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer,16)); in DecodeIITType()
739 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 32)); in DecodeIITType()
742 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 64)); in DecodeIITType()
745 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 128)); in DecodeIITType()
748 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Vector, 1)); in DecodeIITType()
752 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Vector, 2)); in DecodeIITType()
756 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Vector, 4)); in DecodeIITType()
760 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Vector, 8)); in DecodeIITType()
764 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Vector, 16)); in DecodeIITType()
768 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Vector, 32)); in DecodeIITType()
772 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Vector, 64)); in DecodeIITType()
776 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Vector, 512)); in DecodeIITType()
780 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Vector, 1024)); in DecodeIITType()
784 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, 0)); in DecodeIITType()
788 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, in DecodeIITType()
795 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Argument, ArgInfo)); in DecodeIITType()
800 OutputTable.push_back(IITDescriptor::get(IITDescriptor::ExtendArgument, in DecodeIITType()
806 OutputTable.push_back(IITDescriptor::get(IITDescriptor::TruncArgument, in DecodeIITType()
812 OutputTable.push_back(IITDescriptor::get(IITDescriptor::HalfVecArgument, in DecodeIITType()
818 OutputTable.push_back(IITDescriptor::get(IITDescriptor::SameVecWidthArgument, in DecodeIITType()
824 OutputTable.push_back(IITDescriptor::get(IITDescriptor::PtrToArgument, in DecodeIITType()
830 OutputTable.push_back(IITDescriptor::get(IITDescriptor::PtrToElt, ArgInfo)); in DecodeIITType()
837 IITDescriptor::get(IITDescriptor::VecOfAnyPtrsToElt, ArgNo, RefNo)); in DecodeIITType()
841 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Struct, 0)); in DecodeIITType()
850 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Struct,StructElts)); in DecodeIITType()
865 SmallVectorImpl<IITDescriptor> &T){ in getIntrinsicInfoTableEntries()
897 static Type *DecodeFixedType(ArrayRef<Intrinsic::IITDescriptor> &Infos, in DecodeFixedType()
901 IITDescriptor D = Infos.front(); in DecodeFixedType()
905 case IITDescriptor::Void: return Type::getVoidTy(Context); in DecodeFixedType()
906 case IITDescriptor::VarArg: return Type::getVoidTy(Context); in DecodeFixedType()
907 case IITDescriptor::MMX: return Type::getX86_MMXTy(Context); in DecodeFixedType()
908 case IITDescriptor::Token: return Type::getTokenTy(Context); in DecodeFixedType()
909 case IITDescriptor::Metadata: return Type::getMetadataTy(Context); in DecodeFixedType()
910 case IITDescriptor::Half: return Type::getHalfTy(Context); in DecodeFixedType()
911 case IITDescriptor::Float: return Type::getFloatTy(Context); in DecodeFixedType()
912 case IITDescriptor::Double: return Type::getDoubleTy(Context); in DecodeFixedType()
913 case IITDescriptor::Quad: return Type::getFP128Ty(Context); in DecodeFixedType()
915 case IITDescriptor::Integer: in DecodeFixedType()
917 case IITDescriptor::Vector: in DecodeFixedType()
919 case IITDescriptor::Pointer: in DecodeFixedType()
922 case IITDescriptor::Struct: { in DecodeFixedType()
928 case IITDescriptor::Argument: in DecodeFixedType()
930 case IITDescriptor::ExtendArgument: { in DecodeFixedType()
937 case IITDescriptor::TruncArgument: { in DecodeFixedType()
946 case IITDescriptor::HalfVecArgument: in DecodeFixedType()
949 case IITDescriptor::SameVecWidthArgument: { in DecodeFixedType()
957 case IITDescriptor::PtrToArgument: { in DecodeFixedType()
961 case IITDescriptor::PtrToElt: { in DecodeFixedType()
969 case IITDescriptor::VecOfAnyPtrsToElt: in DecodeFixedType()
978 SmallVector<IITDescriptor, 8> Table; in getType()
981 ArrayRef<IITDescriptor> TableRef = Table; in getType()
1038 bool Intrinsic::matchIntrinsicType(Type *Ty, ArrayRef<Intrinsic::IITDescriptor> &Infos, in matchIntrinsicType()
1044 IITDescriptor D = Infos.front(); in matchIntrinsicType()
1048 case IITDescriptor::Void: return !Ty->isVoidTy(); in matchIntrinsicType()
1049 case IITDescriptor::VarArg: return true; in matchIntrinsicType()
1050 case IITDescriptor::MMX: return !Ty->isX86_MMXTy(); in matchIntrinsicType()
1051 case IITDescriptor::Token: return !Ty->isTokenTy(); in matchIntrinsicType()
1052 case IITDescriptor::Metadata: return !Ty->isMetadataTy(); in matchIntrinsicType()
1053 case IITDescriptor::Half: return !Ty->isHalfTy(); in matchIntrinsicType()
1054 case IITDescriptor::Float: return !Ty->isFloatTy(); in matchIntrinsicType()
1055 case IITDescriptor::Double: return !Ty->isDoubleTy(); in matchIntrinsicType()
1056 case IITDescriptor::Quad: return !Ty->isFP128Ty(); in matchIntrinsicType()
1057 case IITDescriptor::Integer: return !Ty->isIntegerTy(D.Integer_Width); in matchIntrinsicType()
1058 case IITDescriptor::Vector: { in matchIntrinsicType()
1063 case IITDescriptor::Pointer: { in matchIntrinsicType()
1069 case IITDescriptor::Struct: { in matchIntrinsicType()
1080 case IITDescriptor::Argument: in matchIntrinsicType()
1092 case IITDescriptor::AK_Any: return false; // Success in matchIntrinsicType()
1093 case IITDescriptor::AK_AnyInteger: return !Ty->isIntOrIntVectorTy(); in matchIntrinsicType()
1094 case IITDescriptor::AK_AnyFloat: return !Ty->isFPOrFPVectorTy(); in matchIntrinsicType()
1095 case IITDescriptor::AK_AnyVector: return !isa<VectorType>(Ty); in matchIntrinsicType()
1096 case IITDescriptor::AK_AnyPointer: return !isa<PointerType>(Ty); in matchIntrinsicType()
1100 case IITDescriptor::ExtendArgument: { in matchIntrinsicType()
1115 case IITDescriptor::TruncArgument: { in matchIntrinsicType()
1130 case IITDescriptor::HalfVecArgument: in matchIntrinsicType()
1136 case IITDescriptor::SameVecWidthArgument: { in matchIntrinsicType()
1149 case IITDescriptor::PtrToArgument: { in matchIntrinsicType()
1156 case IITDescriptor::PtrToElt: { in matchIntrinsicType()
1166 case IITDescriptor::VecOfAnyPtrsToElt: { in matchIntrinsicType()
1200 ArrayRef<Intrinsic::IITDescriptor> &Infos) { in matchIntrinsicVarArg()
1210 IITDescriptor D = Infos.front(); in matchIntrinsicVarArg()
1212 if (D.Kind == IITDescriptor::VarArg) in matchIntrinsicVarArg()
1227 SmallVector<Intrinsic::IITDescriptor, 8> Table; in remangleIntrinsicFunction()
1229 ArrayRef<Intrinsic::IITDescriptor> TableRef = Table; in remangleIntrinsicFunction()