Home
last modified time | relevance | path

Searched refs:Ty (Results 1 - 25 of 484) sorted by relevance

12345678910>>...20

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceTypes.cpp143 size_t typeWidthInBytes(Type Ty) { in typeWidthInBytes() argument
144 int8_t Shift = typeWidthInBytesLog2(Ty); in typeWidthInBytes()
148 int8_t typeWidthInBytesLog2(Type Ty) { in typeWidthInBytesLog2() argument
149 if (Ty < IceType_NUM) in typeWidthInBytesLog2()
150 return TypeAttributes[Ty].TypeWidthInBytesLog2; in typeWidthInBytesLog2()
155 size_t typeAlignInBytes(Type Ty) { in typeAlignInBytes() argument
156 if (Ty < IceType_NUM) in typeAlignInBytes()
157 return TypeAttributes[Ty].TypeAlignInBytes; in typeAlignInBytes()
162 size_t typeNumElements(Type Ty) { in typeNumElements() argument
163 if (Ty < IceType_NU in typeNumElements()
169 typeElementType(Type Ty) typeElementType() argument
178 isVectorType(Type Ty) isVectorType() argument
185 isBooleanType(Type Ty) isBooleanType() argument
192 isIntegerType(Type Ty) isIntegerType() argument
199 isScalarIntegerType(Type Ty) isScalarIntegerType() argument
206 isVectorIntegerType(Type Ty) isVectorIntegerType() argument
213 isIntegerArithmeticType(Type Ty) isIntegerArithmeticType() argument
220 isFloatingType(Type Ty) isFloatingType() argument
227 isScalarFloatingType(Type Ty) isScalarFloatingType() argument
234 isVectorFloatingType(Type Ty) isVectorFloatingType() argument
241 isLoadStoreType(Type Ty) isLoadStoreType() argument
248 isCallParameterType(Type Ty) isCallParameterType() argument
255 getCompareResultType(Type Ty) getCompareResultType() argument
262 getScalarIntBitWidth(Type Ty) getScalarIntBitWidth() argument
271 typeString(Type Ty) typeString() argument
[all...]
H A DIceTypes.h79 size_t typeWidthInBytes(Type Ty);
80 int8_t typeWidthInBytesLog2(Type Ty);
81 size_t typeAlignInBytes(Type Ty);
82 size_t typeNumElements(Type Ty);
83 Type typeElementType(Type Ty);
84 const char *typeString(Type Ty);
85 inline std::string typeStdString(Type Ty) { return typeString(Ty); } in typeStdString() argument
90 bool isVectorType(Type Ty);
92 bool isBooleanType(Type Ty); // scala
109 isCallReturnType(Type Ty) isCallReturnType() argument
122 isByteSizedType(Type Ty) isByteSizedType() argument
130 isByteSizedArithType(Type Ty) isByteSizedArithType() argument
136 isInt32Asserting32Or64(Type Ty) isInt32Asserting32Or64() argument
143 isFloat32Asserting32Or64(Type Ty) isFloat32Asserting32Or64() argument
150 operator <<(StreamType &Str, const Type &Ty) operator <<() argument
157 FuncSigType &operator=(const FuncSigType &Ty) = delete; global() member in Ice::FuncSigType
165 FuncSigType(const FuncSigType &Ty) = default; global() member in Ice::FuncSigType
[all...]
H A DIceAssemblerX8664.cpp261 void AssemblerX8664::mov(Type Ty, GPRRegister dst, const Immediate &imm) { in mov() argument
262 assert(Ty != IceType_i64 && "i64 not supported yet."); in mov()
264 if (Ty == IceType_i16) in mov()
266 emitRexB(Ty, dst); in mov()
267 if (isByteSizedType(Ty)) { in mov()
274 emitImmediate(Ty, imm); in mov()
278 void AssemblerX8664::mov(Type Ty, GPRRegister dst, GPRRegister src) { in mov() argument
280 if (Ty == IceType_i16) in mov()
282 emitRexRB(Ty, src, dst); in mov()
283 if (isByteSizedType(Ty)) { in mov()
291 mov(Type Ty, GPRRegister dst, const AsmAddress &src) mov() argument
304 mov(Type Ty, const AsmAddress &dst, GPRRegister src) mov() argument
317 mov(Type Ty, const AsmAddress &dst, const Immediate &imm) mov() argument
411 lea(Type Ty, GPRRegister dst, const AsmAddress &src) lea() argument
421 cmov(Type Ty, BrCond cond, GPRRegister dst, GPRRegister src) cmov() argument
434 cmov(Type Ty, BrCond cond, GPRRegister dst, const AsmAddress &src) cmov() argument
453 movss(Type Ty, XmmRegister dst, const AsmAddress &src) movss() argument
462 movss(Type Ty, const AsmAddress &dst, XmmRegister src) movss() argument
471 movss(Type Ty, XmmRegister dst, XmmRegister src) movss() argument
543 addss(Type Ty, XmmRegister dst, XmmRegister src) addss() argument
552 addss(Type Ty, XmmRegister dst, const AsmAddress &src) addss() argument
561 subss(Type Ty, XmmRegister dst, XmmRegister src) subss() argument
570 subss(Type Ty, XmmRegister dst, const AsmAddress &src) subss() argument
579 mulss(Type Ty, XmmRegister dst, XmmRegister src) mulss() argument
588 mulss(Type Ty, XmmRegister dst, const AsmAddress &src) mulss() argument
597 divss(Type Ty, XmmRegister dst, XmmRegister src) divss() argument
606 divss(Type Ty, XmmRegister dst, const AsmAddress &src) divss() argument
647 padd(Type Ty, XmmRegister dst, XmmRegister src) padd() argument
662 padd(Type Ty, XmmRegister dst, const AsmAddress &src) padd() argument
677 padds(Type Ty, XmmRegister dst, XmmRegister src) padds() argument
692 padds(Type Ty, XmmRegister dst, const AsmAddress &src) padds() argument
707 paddus(Type Ty, XmmRegister dst, XmmRegister src) paddus() argument
722 paddus(Type Ty, XmmRegister dst, const AsmAddress &src) paddus() argument
775 pmull(Type Ty, XmmRegister dst, XmmRegister src) pmull() argument
790 pmull(Type Ty, XmmRegister dst, const AsmAddress &src) pmull() argument
805 pmulhw(Type Ty, XmmRegister dst, XmmRegister src) pmulhw() argument
816 pmulhw(Type Ty, XmmRegister dst, const AsmAddress &src) pmulhw() argument
827 pmulhuw(Type Ty, XmmRegister dst, XmmRegister src) pmulhuw() argument
838 pmulhuw(Type Ty, XmmRegister dst, const AsmAddress &src) pmulhuw() argument
849 pmaddwd(Type Ty, XmmRegister dst, XmmRegister src) pmaddwd() argument
860 pmaddwd(Type Ty, XmmRegister dst, const AsmAddress &src) pmaddwd() argument
909 psub(Type Ty, XmmRegister dst, XmmRegister src) psub() argument
924 psub(Type Ty, XmmRegister dst, const AsmAddress &src) psub() argument
939 psubs(Type Ty, XmmRegister dst, XmmRegister src) psubs() argument
954 psubs(Type Ty, XmmRegister dst, const AsmAddress &src) psubs() argument
969 psubus(Type Ty, XmmRegister dst, XmmRegister src) psubus() argument
984 psubus(Type Ty, XmmRegister dst, const AsmAddress &src) psubus() argument
1018 psll(Type Ty, XmmRegister dst, XmmRegister src) psll() argument
1032 psll(Type Ty, XmmRegister dst, const AsmAddress &src) psll() argument
1046 psll(Type Ty, XmmRegister dst, const Immediate &imm) psll() argument
1062 psra(Type Ty, XmmRegister dst, XmmRegister src) psra() argument
1076 psra(Type Ty, XmmRegister dst, const AsmAddress &src) psra() argument
1090 psra(Type Ty, XmmRegister dst, const Immediate &imm) psra() argument
1106 psrl(Type Ty, XmmRegister dst, XmmRegister src) psrl() argument
1122 psrl(Type Ty, XmmRegister dst, const AsmAddress &src) psrl() argument
1138 psrl(Type Ty, XmmRegister dst, const Immediate &imm) psrl() argument
1228 minps(Type Ty, XmmRegister dst, XmmRegister src) minps() argument
1238 minps(Type Ty, XmmRegister dst, const AsmAddress &src) minps() argument
1248 minss(Type Ty, XmmRegister dst, XmmRegister src) minss() argument
1257 minss(Type Ty, XmmRegister dst, const AsmAddress &src) minss() argument
1266 maxps(Type Ty, XmmRegister dst, XmmRegister src) maxps() argument
1276 maxps(Type Ty, XmmRegister dst, const AsmAddress &src) maxps() argument
1286 maxss(Type Ty, XmmRegister dst, XmmRegister src) maxss() argument
1295 maxss(Type Ty, XmmRegister dst, const AsmAddress &src) maxss() argument
1304 andnps(Type Ty, XmmRegister dst, XmmRegister src) andnps() argument
1314 andnps(Type Ty, XmmRegister dst, const AsmAddress &src) andnps() argument
1324 andps(Type Ty, XmmRegister dst, XmmRegister src) andps() argument
1334 andps(Type Ty, XmmRegister dst, const AsmAddress &src) andps() argument
1344 orps(Type Ty, XmmRegister dst, XmmRegister src) orps() argument
1354 orps(Type Ty, XmmRegister dst, const AsmAddress &src) orps() argument
1406 cmpps(Type Ty, XmmRegister dst, XmmRegister src, CmppsCond CmpCondition) cmpps() argument
1418 cmpps(Type Ty, XmmRegister dst, const AsmAddress &src, CmppsCond CmpCondition) cmpps() argument
1561 punpckl(Type Ty, XmmRegister Dst, XmmRegister Src) punpckl() argument
1578 punpckl(Type Ty, XmmRegister Dst, const AsmAddress &Src) punpckl() argument
1595 punpckh(Type Ty, XmmRegister Dst, XmmRegister Src) punpckh() argument
1612 punpckh(Type Ty, XmmRegister Dst, const AsmAddress &Src) punpckh() argument
1629 packss(Type Ty, XmmRegister Dst, XmmRegister Src) packss() argument
1644 packss(Type Ty, XmmRegister Dst, const AsmAddress &Src) packss() argument
1659 packus(Type Ty, XmmRegister Dst, XmmRegister Src) packus() argument
1675 packus(Type Ty, XmmRegister Dst, const AsmAddress &Src) packus() argument
1862 ucomiss(Type Ty, XmmRegister a, XmmRegister b) ucomiss() argument
1872 ucomiss(Type Ty, XmmRegister a, const AsmAddress &b) ucomiss() argument
1882 movmsk(Type Ty, GPRRegister dst, XmmRegister src) movmsk() argument
1903 sqrt(Type Ty, XmmRegister dst, const AsmAddress &src) sqrt() argument
1913 sqrt(Type Ty, XmmRegister dst, XmmRegister src) sqrt() argument
1923 xorps(Type Ty, XmmRegister dst, const AsmAddress &src) xorps() argument
1933 xorps(Type Ty, XmmRegister dst, XmmRegister src) xorps() argument
1943 insertps(Type Ty, XmmRegister dst, XmmRegister src, const Immediate &imm) insertps() argument
1958 insertps(Type Ty, XmmRegister dst, const AsmAddress &src, const Immediate &imm) insertps() argument
1974 pinsr(Type Ty, XmmRegister dst, GPRRegister src, const Immediate &imm) pinsr() argument
1991 pinsr(Type Ty, XmmRegister dst, const AsmAddress &src, const Immediate &imm) pinsr() argument
2009 pextr(Type Ty, GPRRegister dst, XmmRegister src, const Immediate &imm) pextr() argument
2043 pcmpeq(Type Ty, XmmRegister dst, XmmRegister src) pcmpeq() argument
2058 pcmpeq(Type Ty, XmmRegister dst, const AsmAddress &src) pcmpeq() argument
2073 pcmpgt(Type Ty, XmmRegister dst, XmmRegister src) pcmpgt() argument
2088 pcmpgt(Type Ty, XmmRegister dst, const AsmAddress &src) pcmpgt() argument
2103 round(Type Ty, XmmRegister dst, XmmRegister src, const Immediate &mode) round() argument
2128 round(Type Ty, XmmRegister dst, const AsmAddress &src, const Immediate &mode) round() argument
2154 arith_int(Type Ty, GPRRegister reg, const Immediate &imm) arith_int() argument
3088 cmpxchg(Type Ty, const AsmAddress &address, GPRRegister reg, bool Locked) cmpxchg() argument
3114 xadd(Type Ty, const AsmAddress &addr, GPRRegister reg, bool Locked) xadd() argument
3130 xchg(Type Ty, GPRRegister reg0, GPRRegister reg1) xchg() argument
3151 xchg(Type Ty, const AsmAddress &addr, GPRRegister reg) xchg() argument
3170 constexpr Type Ty = IceType_i32; iaca_start() local
3185 constexpr Type Ty = IceType_i32; iaca_end() local
3278 emitImmediate(Type Ty, const Immediate &imm) emitImmediate() argument
3313 emitComplex(Type Ty, int rm, const AsmOperand &operand, const Immediate &immediate) emitComplex() argument
3358 emitGenericShift(int rm, Type Ty, GPRRegister reg, const Immediate &imm) emitGenericShift() argument
3379 emitGenericShift(int rm, Type Ty, const AsmOperand &operand, GPRRegister shifter) emitGenericShift() argument
[all...]
H A DIceAssemblerX8664.h494 void mov(Type Ty, GPRRegister dst, const Immediate &src);
495 void mov(Type Ty, GPRRegister dst, GPRRegister src);
496 void mov(Type Ty, GPRRegister dst, const AsmAddress &src);
497 void mov(Type Ty, const AsmAddress &dst, GPRRegister src);
498 void mov(Type Ty, const AsmAddress &dst, const Immediate &imm);
502 void movzx(Type Ty, GPRRegister dst, GPRRegister src);
503 void movzx(Type Ty, GPRRegister dst, const AsmAddress &src);
504 void movsx(Type Ty, GPRRegister dst, GPRRegister src);
505 void movsx(Type Ty, GPRRegister dst, const AsmAddress &src);
507 void lea(Type Ty, GPRRegiste
938 is8BitRegisterRequiringRex(const Type Ty, const RegType Reg) is8BitRegisterRequiringRex() argument
986 emitRexRB(const Type Ty, const RegType Reg, const RmType Rm) emitRexRB() argument
999 emitRexB(const Type Ty, const RmType Rm) emitRexB() argument
1006 emitRex(const Type Ty, const AsmAddress &Addr, const RegType Reg) emitRex() argument
[all...]
H A DIceAssemblerX8632.h477 void mov(Type Ty, GPRRegister dst, const Immediate &src);
478 void mov(Type Ty, GPRRegister dst, GPRRegister src);
479 void mov(Type Ty, GPRRegister dst, const AsmAddress &src);
480 void mov(Type Ty, const AsmAddress &dst, GPRRegister src);
481 void mov(Type Ty, const AsmAddress &dst, const Immediate &imm);
483 void movzx(Type Ty, GPRRegister dst, GPRRegister src);
484 void movzx(Type Ty, GPRRegister dst, const AsmAddress &src);
485 void movsx(Type Ty, GPRRegister dst, GPRRegister src);
486 void movsx(Type Ty, GPRRegister dst, const AsmAddress &src);
488 void lea(Type Ty, GPRRegiste
[all...]
H A DIceAssemblerX8632.cpp279 void AssemblerX8632::mov(Type Ty, GPRRegister dst, const Immediate &imm) { in mov() argument
280 assert(Ty != IceType_i64 && "i64 not supported yet."); in mov()
282 if (Ty == IceType_i16) in mov()
284 if (isByteSizedType(Ty)) { in mov()
291 emitImmediate(Ty, imm); in mov()
295 void AssemblerX8632::mov(Type Ty, GPRRegister dst, GPRRegister src) { in mov() argument
297 if (Ty == IceType_i16) in mov()
299 if (isByteSizedType(Ty)) { in mov()
307 void AssemblerX8632::mov(Type Ty, GPRRegister dst, const AsmAddress &src) { in mov() argument
309 if (Ty in mov()
319 mov(Type Ty, const AsmAddress &dst, GPRRegister src) mov() argument
331 mov(Type Ty, const AsmAddress &dst, const Immediate &imm) mov() argument
384 lea(Type Ty, GPRRegister dst, const AsmAddress &src) lea() argument
393 cmov(Type Ty, BrCond cond, GPRRegister dst, GPRRegister src) cmov() argument
405 cmov(Type Ty, BrCond cond, GPRRegister dst, const AsmAddress &src) cmov() argument
423 movss(Type Ty, XmmRegister dst, const AsmAddress &src) movss() argument
431 movss(Type Ty, const AsmAddress &dst, XmmRegister src) movss() argument
439 movss(Type Ty, XmmRegister dst, XmmRegister src) movss() argument
503 addss(Type Ty, XmmRegister dst, XmmRegister src) addss() argument
511 addss(Type Ty, XmmRegister dst, const AsmAddress &src) addss() argument
519 subss(Type Ty, XmmRegister dst, XmmRegister src) subss() argument
527 subss(Type Ty, XmmRegister dst, const AsmAddress &src) subss() argument
535 mulss(Type Ty, XmmRegister dst, XmmRegister src) mulss() argument
543 mulss(Type Ty, XmmRegister dst, const AsmAddress &src) mulss() argument
551 divss(Type Ty, XmmRegister dst, XmmRegister src) divss() argument
559 divss(Type Ty, XmmRegister dst, const AsmAddress &src) divss() argument
567 fld(Type Ty, const AsmAddress &src) fld() argument
573 fstp(Type Ty, const AsmAddress &dst) fstp() argument
613 padd(Type Ty, XmmRegister dst, XmmRegister src) padd() argument
627 padd(Type Ty, XmmRegister dst, const AsmAddress &src) padd() argument
641 padds(Type Ty, XmmRegister dst, XmmRegister src) padds() argument
655 padds(Type Ty, XmmRegister dst, const AsmAddress &src) padds() argument
669 paddus(Type Ty, XmmRegister dst, XmmRegister src) paddus() argument
683 paddus(Type Ty, XmmRegister dst, const AsmAddress &src) paddus() argument
731 pmull(Type Ty, XmmRegister dst, XmmRegister src) pmull() argument
745 pmull(Type Ty, XmmRegister dst, const AsmAddress &src) pmull() argument
759 pmulhw(Type Ty, XmmRegister dst, XmmRegister src) pmulhw() argument
769 pmulhw(Type Ty, XmmRegister dst, const AsmAddress &src) pmulhw() argument
779 pmulhuw(Type Ty, XmmRegister dst, XmmRegister src) pmulhuw() argument
789 pmulhuw(Type Ty, XmmRegister dst, const AsmAddress &src) pmulhuw() argument
799 pmaddwd(Type Ty, XmmRegister dst, XmmRegister src) pmaddwd() argument
809 pmaddwd(Type Ty, XmmRegister dst, const AsmAddress &src) pmaddwd() argument
853 psub(Type Ty, XmmRegister dst, XmmRegister src) psub() argument
867 psub(Type Ty, XmmRegister dst, const AsmAddress &src) psub() argument
881 psubs(Type Ty, XmmRegister dst, XmmRegister src) psubs() argument
895 psubs(Type Ty, XmmRegister dst, const AsmAddress &src) psubs() argument
909 psubus(Type Ty, XmmRegister dst, XmmRegister src) psubus() argument
923 psubus(Type Ty, XmmRegister dst, const AsmAddress &src) psubus() argument
954 psll(Type Ty, XmmRegister dst, XmmRegister src) psll() argument
967 psll(Type Ty, XmmRegister dst, const AsmAddress &src) psll() argument
980 psll(Type Ty, XmmRegister dst, const Immediate &imm) psll() argument
995 psra(Type Ty, XmmRegister dst, XmmRegister src) psra() argument
1008 psra(Type Ty, XmmRegister dst, const AsmAddress &src) psra() argument
1021 psra(Type Ty, XmmRegister dst, const Immediate &imm) psra() argument
1036 psrl(Type Ty, XmmRegister dst, XmmRegister src) psrl() argument
1051 psrl(Type Ty, XmmRegister dst, const AsmAddress &src) psrl() argument
1066 psrl(Type Ty, XmmRegister dst, const Immediate &imm) psrl() argument
1147 minps(Type Ty, XmmRegister dst, XmmRegister src) minps() argument
1156 minps(Type Ty, XmmRegister dst, const AsmAddress &src) minps() argument
1165 minss(Type Ty, XmmRegister dst, XmmRegister src) minss() argument
1173 minss(Type Ty, XmmRegister dst, const AsmAddress &src) minss() argument
1181 maxps(Type Ty, XmmRegister dst, XmmRegister src) maxps() argument
1190 maxps(Type Ty, XmmRegister dst, const AsmAddress &src) maxps() argument
1199 maxss(Type Ty, XmmRegister dst, XmmRegister src) maxss() argument
1207 maxss(Type Ty, XmmRegister dst, const AsmAddress &src) maxss() argument
1215 andnps(Type Ty, XmmRegister dst, XmmRegister src) andnps() argument
1224 andnps(Type Ty, XmmRegister dst, const AsmAddress &src) andnps() argument
1233 andps(Type Ty, XmmRegister dst, XmmRegister src) andps() argument
1242 andps(Type Ty, XmmRegister dst, const AsmAddress &src) andps() argument
1251 orps(Type Ty, XmmRegister dst, XmmRegister src) orps() argument
1260 orps(Type Ty, XmmRegister dst, const AsmAddress &src) orps() argument
1307 cmpps(Type Ty, XmmRegister dst, XmmRegister src, CmppsCond CmpCondition) cmpps() argument
1318 cmpps(Type Ty, XmmRegister dst, const AsmAddress &src, CmppsCond CmpCondition) cmpps() argument
1447 punpckl(Type Ty, XmmRegister Dst, XmmRegister Src) punpckl() argument
1463 punpckl(Type Ty, XmmRegister Dst, const AsmAddress &Src) punpckl() argument
1479 punpckh(Type Ty, XmmRegister Dst, XmmRegister Src) punpckh() argument
1495 punpckh(Type Ty, XmmRegister Dst, const AsmAddress &Src) punpckh() argument
1511 packss(Type Ty, XmmRegister Dst, XmmRegister Src) packss() argument
1525 packss(Type Ty, XmmRegister Dst, const AsmAddress &Src) packss() argument
1539 packus(Type Ty, XmmRegister Dst, XmmRegister Src) packus() argument
1554 packus(Type Ty, XmmRegister Dst, const AsmAddress &Src) packus() argument
1723 ucomiss(Type Ty, XmmRegister a, XmmRegister b) ucomiss() argument
1732 ucomiss(Type Ty, XmmRegister a, const AsmAddress &b) ucomiss() argument
1741 movmsk(Type Ty, GPRRegister dst, XmmRegister src) movmsk() argument
1761 sqrt(Type Ty, XmmRegister dst, const AsmAddress &src) sqrt() argument
1770 sqrt(Type Ty, XmmRegister dst, XmmRegister src) sqrt() argument
1779 xorps(Type Ty, XmmRegister dst, const AsmAddress &src) xorps() argument
1788 xorps(Type Ty, XmmRegister dst, XmmRegister src) xorps() argument
1797 insertps(Type Ty, XmmRegister dst, XmmRegister src, const Immediate &imm) insertps() argument
1811 insertps(Type Ty, XmmRegister dst, const AsmAddress &src, const Immediate &imm) insertps() argument
1826 pinsr(Type Ty, XmmRegister dst, GPRRegister src, const Immediate &imm) pinsr() argument
1842 pinsr(Type Ty, XmmRegister dst, const AsmAddress &src, const Immediate &imm) pinsr() argument
1859 pextr(Type Ty, GPRRegister dst, XmmRegister src, const Immediate &imm) pextr() argument
1890 pcmpeq(Type Ty, XmmRegister dst, XmmRegister src) pcmpeq() argument
1904 pcmpeq(Type Ty, XmmRegister dst, const AsmAddress &src) pcmpeq() argument
1918 pcmpgt(Type Ty, XmmRegister dst, XmmRegister src) pcmpgt() argument
1932 pcmpgt(Type Ty, XmmRegister dst, const AsmAddress &src) pcmpgt() argument
1946 round(Type Ty, XmmRegister dst, XmmRegister src, const Immediate &mode) round() argument
1970 round(Type Ty, XmmRegister dst, const AsmAddress &src, const Immediate &mode) round() argument
2037 arith_int(Type Ty, GPRRegister reg, const Immediate &imm) arith_int() argument
2933 cmpxchg(Type Ty, const AsmAddress &address, GPRRegister reg, bool Locked) cmpxchg() argument
2957 xadd(Type Ty, const AsmAddress &addr, GPRRegister reg, bool Locked) xadd() argument
2972 xchg(Type Ty, GPRRegister reg0, GPRRegister reg1) xchg() argument
2990 xchg(Type Ty, const AsmAddress &addr, GPRRegister reg) xchg() argument
3008 constexpr Type Ty = IceType_i32; iaca_start() local
3022 constexpr Type Ty = IceType_i32; iaca_end() local
3114 emitImmediate(Type Ty, const Immediate &imm) emitImmediate() argument
3149 emitComplex(Type Ty, int rm, const AsmOperand &operand, const Immediate &immediate) emitComplex() argument
3194 emitGenericShift(int rm, Type Ty, GPRRegister reg, const Immediate &imm) emitGenericShift() argument
3214 emitGenericShift(int rm, Type Ty, const AsmOperand &operand, GPRRegister shifter) emitGenericShift() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
H A DX86LegalizerInfo.cpp116 for (auto Ty : {p0, s1, s8, s16, s32}) in setLegalizerInfo32bit()
117 setAction({G_IMPLICIT_DEF, Ty}, Legal); in setLegalizerInfo32bit()
119 for (auto Ty : {s8, s16, s32, p0}) in setLegalizerInfo32bit()
120 setAction({G_PHI, Ty}, Legal); in setLegalizerInfo32bit()
123 for (auto Ty : {s8, s16, s32}) in setLegalizerInfo32bit()
124 setAction({BinOp, Ty}, Legal); in setLegalizerInfo32bit()
132 for (auto Ty : {s8, s16, s32, p0}) in setLegalizerInfo32bit()
133 setAction({MemOp, Ty}, Legal); in setLegalizerInfo32bit()
170 for (auto Ty : {s8, s16, s32, p0}) in setLegalizerInfo32bit()
171 setAction({TargetOpcode::G_CONSTANT, Ty}, Lega in setLegalizerInfo32bit()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DConstants.cpp285 Type *Ty = getType(); in isElementWiseEqual()
286 if (!isa<Constant>(Y) || !Ty->isVectorTy() || Ty != Y->getType()) in isElementWiseEqual()
318 Constant *Constant::getNullValue(Type *Ty) { in getNullValue() argument
319 switch (Ty->getTypeID()) { in getNullValue()
321 return ConstantInt::get(Ty, 0); in getNullValue()
323 return ConstantFP::get(Ty->getContext(), in getNullValue()
326 return ConstantFP::get(Ty->getContext(), in getNullValue()
329 return ConstantFP::get(Ty->getContext(), in getNullValue()
332 return ConstantFP::get(Ty in getNullValue()
355 getIntegerValue(Type *Ty, const APInt &V) getIntegerValue() argument
372 getAllOnesValue(Type *Ty) getAllOnesValue() argument
629 Type *Ty = C->getType(); replaceUndefsWith() local
655 ConstantInt(IntegerType *Ty, const APInt &V) ConstantInt() argument
674 getTrue(Type *Ty) getTrue() argument
682 getFalse(Type *Ty) getFalse() argument
704 get(Type *Ty, uint64_t V, bool isSigned) get() argument
714 get(IntegerType *Ty, uint64_t V, bool isSigned) get() argument
718 getSigned(IntegerType *Ty, int64_t V) getSigned() argument
722 getSigned(Type *Ty, int64_t V) getSigned() argument
726 get(Type *Ty, const APInt& V) get() argument
738 get(IntegerType* Ty, StringRef Str, uint8_t radix) get() argument
751 TypeToFloatSemantics(Type *Ty) TypeToFloatSemantics() argument
767 get(Type *Ty, double V) get() argument
783 get(Type *Ty, const APFloat &V) get() argument
795 get(Type *Ty, StringRef Str) get() argument
808 getNaN(Type *Ty, bool Negative, uint64_t Payload) getNaN() argument
819 getQNaN(Type *Ty, bool Negative, APInt *Payload) getQNaN() argument
830 getSNaN(Type *Ty, bool Negative, APInt *Payload) getSNaN() argument
841 getNegativeZero(Type *Ty) getNegativeZero() argument
853 getZeroValueForNegation(Type *Ty) getZeroValueForNegation() argument
868 Type *Ty; get() local
890 getInfinity(Type *Ty, bool Negative) getInfinity() argument
900 ConstantFP(Type *Ty, const APFloat &V) ConstantFP() argument
940 Type *Ty = getType(); getNumElements() local
973 Type *Ty = getType(); getNumElements() local
1065 get(ArrayType *Ty, ArrayRef<Constant*> V) get() argument
1071 getImpl(ArrayType *Ty, ArrayRef<Constant*> V) getImpl() argument
1288 getWithOperands(ArrayRef<Constant *> Ops, Type *Ty, bool OnlyIfReduced, Type *SrcTy) const getWithOperands() argument
1349 isValueValidForType(Type *Ty, uint64_t Val) isValueValidForType() argument
1356 isValueValidForType(Type *Ty, int64_t Val) isValueValidForType() argument
1363 isValueValidForType(Type *Ty, const APFloat& Val) isValueValidForType() argument
1414 get(Type *Ty) get() argument
1500 get(PointerType *Ty) get() argument
1514 get(Type *Ty) get() argument
1611 getFoldedCast(Instruction::CastOps opc, Constant *C, Type *Ty, bool OnlyIfReduced = false) getFoldedCast() argument
1629 getCast(unsigned oc, Constant *C, Type *Ty, bool OnlyIfReduced) getCast() argument
1668 getZExtOrBitCast(Constant *C, Type *Ty) getZExtOrBitCast() argument
1674 getSExtOrBitCast(Constant *C, Type *Ty) getSExtOrBitCast() argument
1680 getTruncOrBitCast(Constant *C, Type *Ty) getTruncOrBitCast() argument
1686 getPointerCast(Constant *S, Type *Ty) getPointerCast() argument
1701 getPointerBitCastOrAddrSpaceCast(Constant *S, Type *Ty) getPointerBitCastOrAddrSpaceCast() argument
1712 getIntegerCast(Constant *C, Type *Ty, bool isSigned) getIntegerCast() argument
1724 getFPCast(Constant *C, Type *Ty) getFPCast() argument
1736 getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) getTrunc() argument
1750 getSExt(Constant *C, Type *Ty, bool OnlyIfReduced) getSExt() argument
1764 getZExt(Constant *C, Type *Ty, bool OnlyIfReduced) getZExt() argument
1778 getFPTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) getFPTrunc() argument
1790 getFPExtend(Constant *C, Type *Ty, bool OnlyIfReduced) getFPExtend() argument
1802 getUIToFP(Constant *C, Type *Ty, bool OnlyIfReduced) getUIToFP() argument
1813 getSIToFP(Constant *C, Type *Ty, bool OnlyIfReduced) getSIToFP() argument
1824 getFPToUI(Constant *C, Type *Ty, bool OnlyIfReduced) getFPToUI() argument
1835 getFPToSI(Constant *C, Type *Ty, bool OnlyIfReduced) getFPToSI() argument
1995 getSizeOf(Type* Ty) getSizeOf() argument
2005 getAlignOf(Type* Ty) getAlignOf() argument
2023 getOffsetOf(Type* Ty, Constant *FieldNo) getOffsetOf() argument
2075 getGetElementPtr(Type *Ty, Constant *C, ArrayRef<Value *> Idxs, bool InBounds, Optional<unsigned> InRangeIndex, Type *OnlyIfReducedTy) getGetElementPtr() argument
2406 getBinOpIdentity(unsigned Opcode, Type *Ty, bool AllowRHSConstant) getBinOpIdentity() argument
2452 getBinOpAbsorber(unsigned Opcode, Type *Ty) getBinOpAbsorber() argument
2509 isElementTypeCompatible(Type *Ty) isElementTypeCompatible() argument
2630 Type *Ty = ArrayType::get(Type::getHalfTy(Context), Elts.size()); getFP() local
2636 Type *Ty = ArrayType::get(Type::getFloatTy(Context), Elts.size()); getFP() local
2642 Type *Ty = ArrayType::get(Type::getDoubleTy(Context), Elts.size()); getFP() local
2664 Type *Ty = VectorType::get(Type::getInt8Ty(Context), Elts.size()); get() local
2669 Type *Ty = VectorType::get(Type::getInt16Ty(Context), Elts.size()); get() local
2674 Type *Ty = VectorType::get(Type::getInt32Ty(Context), Elts.size()); get() local
2679 Type *Ty = VectorType::get(Type::getInt64Ty(Context), Elts.size()); get() local
2684 Type *Ty = VectorType::get(Type::getFloatTy(Context), Elts.size()); get() local
2689 Type *Ty = VectorType::get(Type::getDoubleTy(Context), Elts.size()); get() local
2701 Type *Ty = VectorType::get(Type::getHalfTy(Context), Elts.size()); getFP() local
2707 Type *Ty = VectorType::get(Type::getFloatTy(Context), Elts.size()); getFP() local
2713 Type *Ty = VectorType::get(Type::getDoubleTy(Context), Elts.size()); getFP() local
[all...]
H A DInstructions.cpp422 CallInst::CallInst(FunctionType *Ty, Value *Func, const Twine &Name, in CallInst() argument
424 : CallBase(Ty->getReturnType(), Instruction::Call, in CallInst()
426 init(Ty, Func, Name); in CallInst()
429 CallInst::CallInst(FunctionType *Ty, Value *Func, const Twine &Name, in CallInst() argument
431 : CallBase(Ty->getReturnType(), Instruction::Call, in CallInst()
433 init(Ty, Func, Name); in CallInst()
1210 AllocaInst::AllocaInst(Type *Ty, unsigned AddrSpace, const Twine &Name, in AllocaInst() argument
1212 : AllocaInst(Ty, AddrSpace, /*ArraySize=*/nullptr, Name, InsertBefore) {} in AllocaInst()
1214 AllocaInst::AllocaInst(Type *Ty, unsigned AddrSpace, const Twine &Name, in AllocaInst() argument
1216 : AllocaInst(Ty, AddrSpac in AllocaInst()
1218 AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, const Twine &Name, Instruction *InsertBefore) AllocaInst() argument
1223 AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, const Twine &Name, BasicBlock *InsertAtEnd) AllocaInst() argument
1227 AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, MaybeAlign Align, const Twine &Name, Instruction *InsertBefore) AllocaInst() argument
1238 AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, MaybeAlign Align, const Twine &Name, BasicBlock *InsertAtEnd) AllocaInst() argument
1290 LoadInst(Type *Ty, Value *Ptr, const Twine &Name, Instruction *InsertBef) LoadInst() argument
1294 LoadInst(Type *Ty, Value *Ptr, const Twine &Name, BasicBlock *InsertAE) LoadInst() argument
1298 LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile, Instruction *InsertBef) LoadInst() argument
1302 LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile, BasicBlock *InsertAE) LoadInst() argument
1306 LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile, MaybeAlign Align, Instruction *InsertBef) LoadInst() argument
1311 LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile, MaybeAlign Align, BasicBlock *InsertAE) LoadInst() argument
1316 LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile, MaybeAlign Align, AtomicOrdering Order, SyncScope::ID SSID, Instruction *InsertBef) LoadInst() argument
1328 LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile, MaybeAlign Align, AtomicOrdering Order, SyncScope::ID SSID, BasicBlock *InsertAE) LoadInst() argument
1640 getIndexedType(Type *Ty, ArrayRef<Value *> IdxList) getIndexedType() argument
1644 getIndexedType(Type *Ty, ArrayRef<Constant *> IdxList) getIndexedType() argument
1649 getIndexedType(Type *Ty, ArrayRef<uint64_t> IdxList) getIndexedType() argument
2183 UnaryOperator(UnaryOps iType, Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) UnaryOperator() argument
2192 UnaryOperator(UnaryOps iType, Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) UnaryOperator() argument
2236 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, const Twine &Name, Instruction *InsertBefore) BinaryOperator() argument
2249 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) BinaryOperator() argument
2739 Create(Instruction::CastOps op, Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) Create() argument
2761 Create(Instruction::CastOps op, Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) Create() argument
2783 CreateZExtOrBitCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) CreateZExtOrBitCast() argument
2791 CreateZExtOrBitCast(Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) CreateZExtOrBitCast() argument
2799 CreateSExtOrBitCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) CreateSExtOrBitCast() argument
2807 CreateSExtOrBitCast(Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) CreateSExtOrBitCast() argument
2815 CreateTruncOrBitCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) CreateTruncOrBitCast() argument
2823 CreateTruncOrBitCast(Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) CreateTruncOrBitCast() argument
2831 CreatePointerCast(Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) CreatePointerCast() argument
2849 CreatePointerCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) CreatePointerCast() argument
2866 CreatePointerBitCastOrAddrSpaceCast( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) CreatePointerBitCastOrAddrSpaceCast() argument
2879 CreatePointerBitCastOrAddrSpaceCast( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) CreatePointerBitCastOrAddrSpaceCast() argument
2892 CreateBitOrPointerCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) CreateBitOrPointerCast() argument
2903 CreateIntegerCast(Value *C, Type *Ty, bool isSigned, const Twine &Name, Instruction *InsertBefore) CreateIntegerCast() argument
2917 CreateIntegerCast(Value *C, Type *Ty, bool isSigned, const Twine &Name, BasicBlock *InsertAtEnd) CreateIntegerCast() argument
2931 CreateFPCast(Value *C, Type *Ty, const Twine &Name, Instruction *InsertBefore) CreateFPCast() argument
2944 CreateFPCast(Value *C, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) CreateFPCast() argument
3294 TruncInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) TruncInst() argument
3300 TruncInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) TruncInst() argument
3306 ZExtInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) ZExtInst() argument
3312 ZExtInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) ZExtInst() argument
3317 SExtInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) SExtInst() argument
3323 SExtInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) SExtInst() argument
3329 FPTruncInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) FPTruncInst() argument
3335 FPTruncInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) FPTruncInst() argument
3341 FPExtInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) FPExtInst() argument
3347 FPExtInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) FPExtInst() argument
3353 UIToFPInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) UIToFPInst() argument
3359 UIToFPInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) UIToFPInst() argument
3365 SIToFPInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) SIToFPInst() argument
3371 SIToFPInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) SIToFPInst() argument
3377 FPToUIInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) FPToUIInst() argument
3383 FPToUIInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) FPToUIInst() argument
3389 FPToSIInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) FPToSIInst() argument
3395 FPToSIInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) FPToSIInst() argument
3401 PtrToIntInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) PtrToIntInst() argument
3407 PtrToIntInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) PtrToIntInst() argument
3413 IntToPtrInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) IntToPtrInst() argument
3419 IntToPtrInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) IntToPtrInst() argument
3425 BitCastInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) BitCastInst() argument
3431 BitCastInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) BitCastInst() argument
3437 AddrSpaceCastInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) AddrSpaceCastInst() argument
3443 AddrSpaceCastInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) AddrSpaceCastInst() argument
[all...]
H A DDataLayout.cpp54 Type *Ty = ST->getElementType(i); in StructLayout() local
55 const Align TyAlign(ST->isPacked() ? 1 : DL.getABITypeAlignment(Ty)); in StructLayout()
67 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item in StructLayout()
541 bool ABIInfo, Type *Ty) const {
561 getTypeAllocSize(cast<VectorType>(Ty)->getElementType());
562 Alignment *= cast<VectorType>(Ty)->getNumElements();
573 unsigned Alignment = getTypeStoreSize(Ty);
613 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const {
618 StructLayout *&SL = (*STM)[Ty];
623 int NumElts = Ty
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DLowLevelType.cpp20 LLT llvm::getLLTForType(Type &Ty, const DataLayout &DL) { in getLLTForType() argument
21 if (auto VTy = dyn_cast<VectorType>(&Ty)) { in getLLTForType()
29 if (auto PTy = dyn_cast<PointerType>(&Ty)) { in getLLTForType()
34 if (Ty.isSized()) { in getLLTForType()
37 auto SizeInBits = DL.getTypeSizeInBits(&Ty); in getLLTForType()
45 MVT llvm::getMVTForLLT(LLT Ty) { in getMVTForLLT() argument
46 if (!Ty.isVector()) in getMVTForLLT()
47 return MVT::getIntegerVT(Ty.getSizeInBits()); in getMVTForLLT()
50 MVT::getIntegerVT(Ty.getElementType().getSizeInBits()), in getMVTForLLT()
51 Ty in getMVTForLLT()
54 getLLTForMVT(MVT Ty) getLLTForMVT() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp49 static void executeFNegInst(GenericValue &Dest, GenericValue Src, Type *Ty) { in executeFNegInst() argument
50 switch (Ty->getTypeID()) { in executeFNegInst()
64 Type *Ty = I.getOperand(0)->getType(); in visitUnaryOperator() local
69 if (Ty->isVectorTy()) { in visitUnaryOperator()
77 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) { in visitUnaryOperator()
80 } else if (cast<VectorType>(Ty)->getElementType()->isDoubleTy()) { in visitUnaryOperator()
93 case Instruction::FNeg: executeFNegInst(R, Src, Ty); break; in visitUnaryOperator()
109 GenericValue Src2, Type *Ty) { in executeFAddInst()
110 switch (Ty->getTypeID()) { in executeFAddInst()
114 dbgs() << "Unhandled type for FAdd instruction: " << *Ty << "\ in executeFAddInst()
108 executeFAddInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) executeFAddInst() argument
119 executeFSubInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) executeFSubInst() argument
130 executeFMulInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) executeFMulInst() argument
141 executeFDivInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) executeFDivInst() argument
152 executeFRemInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) executeFRemInst() argument
191 executeICMP_EQ(GenericValue Src1, GenericValue Src2, Type *Ty) executeICMP_EQ() argument
205 executeICMP_NE(GenericValue Src1, GenericValue Src2, Type *Ty) executeICMP_NE() argument
219 executeICMP_ULT(GenericValue Src1, GenericValue Src2, Type *Ty) executeICMP_ULT() argument
2071 Type * Ty = CE->getOperand(0)->getType(); global() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_morpho.c105 LUT Ty[2][4]; member
261 static int alloc_lut(LUT *Ty, chord_set *SE, int type_size, int mode) in alloc_lut() argument
263 const int min = FFMAX(Ty->min_r, 0); in alloc_lut()
264 const int max = min + (Ty->max_r - Ty->min_r); in alloc_lut()
269 Ty->pre_pad_x = pre_pad_x; in alloc_lut()
270 Ty->type_size = type_size; in alloc_lut()
272 Ty->base_arr = av_calloc(max + 1, sizeof(*Ty->base_arr)); in alloc_lut()
273 if (!Ty in alloc_lut()
320 alloc_lut_if_necessary(LUT *Ty, IPlane *f, chord_set *SE, int y, int num, enum MorphModes mode) alloc_lut_if_necessary() argument
343 circular_swap(LUT *Ty) circular_swap() argument
359 compute_min_row(IPlane *f, LUT *Ty, chord_set *SE, int r, int y) compute_min_row() argument
380 update_min_lut(IPlane *f, LUT *Ty, chord_set *SE, int y, int tid, int num) update_min_lut() argument
388 compute_min_lut(LUT *Ty, IPlane *f, chord_set *SE, int y, int num) compute_min_lut() argument
400 compute_max_row(IPlane *f, LUT *Ty, chord_set *SE, int r, int y) compute_max_row() argument
421 update_max_lut(IPlane *f, LUT *Ty, chord_set *SE, int y, int tid, int num) update_max_lut() argument
429 compute_max_lut(LUT *Ty, IPlane *f, chord_set *SE, int y, int num) compute_max_lut() argument
441 line_dilate(IPlane *g, LUT *Ty, chord_set *SE, int y, int tid) line_dilate() argument
452 line_erode(IPlane *g, LUT *Ty, chord_set *SE, int y, int tid) line_erode() argument
463 dilate(IPlane *g, IPlane *f, chord_set *SE, LUT *Ty) dilate() argument
478 erode(IPlane *g, IPlane *f, chord_set *SE, LUT *Ty) erode() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
H A Dtest_vector_ops_main.cpp28 typename VectorOps<T>::Ty *getTestVectors(size_t &NumTestVectors) { in getTestVectors()
29 typedef typename VectorOps<T>::Ty Ty; in getTestVectors() typedef
32 Ty Zero; in getTestVectors()
34 Ty Incr; in getTestVectors()
40 Ty Decr; in getTestVectors()
43 Ty Min; in getTestVectors()
46 Ty Max; in getTestVectors()
49 Ty TestVectors[] = {Zero, Incr, Decr, Min, Max}; in getTestVectors()
51 NumTestVectors = sizeof(TestVectors) / sizeof(Ty); in getTestVectors()
67 typedef typename VectorOps<T>::Ty Ty; testInsertElement() typedef
105 typedef typename VectorOps<T>::Ty Ty; testExtractElement() typedef
135 typedef typename VectorOps<T>::Ty Ty; testShuffleVector() typedef
[all...]
H A Dtest_vector_ops.cpp660 template <typename Ty, uint8_t Idx0, uint8_t Idx1, uint8_t Idx2, uint8_t Idx3,
663 static typename std::enable_if<Vectors<Ty>::NumElements == 4, Ty>::type
664 shufflevector(Ty V1, Ty V2) { in shufflevector()
676 template <typename Ty, uint8_t Idx0, uint8_t Idx1, uint8_t Idx2, uint8_t Idx3,
679 static typename std::enable_if<Vectors<Ty>::NumElements == 8, Ty>::type
680 shufflevector(Ty V1, Ty V
[all...]
H A Dtest_vector_ops.h26 #define TY(TYNAME) FIELD(TYNAME, Ty)
30 static Ty (*insertelement)(Ty, CastTy, int32_t); \
31 static Ty (*shufflevector)(Ty, Ty, uint32_t); \
32 static CastTy (*extractelement)(Ty, int32_t); \
33 static Ty (*Subzero_insertelement)(Ty, CastTy, int32_t); \
34 static Ty (*Subzero_shufflevecto
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DConstantFolding.cpp623 Constant *llvm::ConstantFoldLoadFromConstPtr(Constant *C, Type *Ty, in ConstantFoldLoadFromConstPtr() argument
632 return ConstantFoldLoadFromConstPtr(GA->getAliasee(), Ty, DL); in ConstantFoldLoadFromConstPtr()
650 if (Constant *LoadedC = ConstantFoldLoadThroughBitcastExpr(CE, Ty, DL)) in ConstantFoldLoadFromConstPtr()
658 unsigned NumBits = Ty->getPrimitiveSizeInBits(); in ConstantFoldLoadFromConstPtr()
662 (isa<IntegerType>(Ty) || Ty->isFloatingPointTy())) { in ConstantFoldLoadFromConstPtr()
681 if (Ty->isFloatingPointTy()) in ConstantFoldLoadFromConstPtr()
682 Res = ConstantExpr::getBitCast(Res, Ty); in ConstantFoldLoadFromConstPtr()
692 return Constant::getNullValue(Ty); in ConstantFoldLoadFromConstPtr()
694 return UndefValue::get(Ty); in ConstantFoldLoadFromConstPtr()
920 Type *Ty = PTy; SymbolicallyEvaluateGEP() local
1564 GetConstantFoldFPValue(double V, Type *Ty) GetConstantFoldFPValue() argument
1596 ConstantFoldFP(double (*NativeFP)(double), double V, Type *Ty) ConstantFoldFP() argument
1607 ConstantFoldBinaryFP(double (*NativeFP)(double, double), double V, double W, Type *Ty) ConstantFoldBinaryFP() argument
1626 ConstantFoldSSEConvertToInt(const APFloat &Val, bool roundTowardZero, Type *Ty, bool IsSigned) ConstantFoldSSEConvertToInt() argument
1647 Type *Ty = Op->getType(); getValueAsDouble() local
1686 ConstantFoldScalarCall1(StringRef Name, Intrinsic::ID IntrinsicID, Type *Ty, ArrayRef<Constant *> Operands, const TargetLibraryInfo *TLI, const CallBase *Call) ConstantFoldScalarCall1() argument
2025 ConstantFoldScalarCall2(StringRef Name, Intrinsic::ID IntrinsicID, Type *Ty, ArrayRef<Constant *> Operands, const TargetLibraryInfo *TLI, const CallBase *Call) ConstantFoldScalarCall2() argument
2278 ConstantFoldScalarCall3(StringRef Name, Intrinsic::ID IntrinsicID, Type *Ty, ArrayRef<Constant *> Operands, const TargetLibraryInfo *TLI, const CallBase *Call) ConstantFoldScalarCall3() argument
2373 ConstantFoldScalarCall(StringRef Name, Intrinsic::ID IntrinsicID, Type *Ty, ArrayRef<Constant *> Operands, const TargetLibraryInfo *TLI, const CallBase *Call) ConstantFoldScalarCall() argument
2400 Type *Ty = VTy->getElementType(); ConstantFoldVectorCall() local
2479 Type *Ty = F->getReturnType(); ConstantFoldCall() local
2555 Type *Ty = OpC->getType(); isMathLibCallNoop() local
2615 Type *Ty = Op0C->getType(); isMathLibCallNoop() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
H A DMipsISelLowering.h385 SDValue getGlobalReg(SelectionDAG &DAG, EVT Ty) const;
392 SDValue getAddrLocal(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG, in getAddrLocal() argument
395 SDValue GOT = DAG.getNode(MipsISD::Wrapper, DL, Ty, getGlobalReg(DAG, Ty), in getAddrLocal()
396 getTargetNode(N, Ty, DAG, GOTFlag)); in getAddrLocal()
398 DAG.getLoad(Ty, DL, DAG.getEntryNode(), GOT, in getAddrLocal()
401 SDValue Lo = DAG.getNode(MipsISD::Lo, DL, Ty, in getAddrLocal()
402 getTargetNode(N, Ty, DAG, LoFlag)); in getAddrLocal()
403 return DAG.getNode(ISD::ADD, DL, Ty, Load, Lo); in getAddrLocal()
411 SDValue getAddrGlobal(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDA argument
424 getAddrGlobalLargeGOT(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG, unsigned HiFlag, unsigned LoFlag, SDValue Chain, const MachinePointerInfo &PtrInfo) const getAddrGlobalLargeGOT() argument
443 getAddrNonPIC(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG) const getAddrNonPIC() argument
460 getAddrNonPICSym64(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG) const getAddrNonPICSym64() argument
487 getAddrGPRel(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG, bool IsN64) const getAddrGPRel() argument
[all...]
H A DMipsCCState.cpp38 /// This function returns true if Ty is fp128, {f128} or i128 which was
40 static bool originalTypeIsF128(const Type *Ty, const char *Func) { in originalTypeIsF128() argument
41 if (Ty->isFP128Ty()) in originalTypeIsF128()
44 if (Ty->isStructTy() && Ty->getStructNumElements() == 1 && in originalTypeIsF128()
45 Ty->getStructElementType(0)->isFP128Ty()) in originalTypeIsF128()
48 // If the Ty is i128 and the function being called is a long double emulation in originalTypeIsF128()
50 return (Func && Ty->isIntegerTy(128) && isF128SoftLibCall(Func)); in originalTypeIsF128()
54 static bool originalEVTTypeIsVectorFloat(EVT Ty) { in originalEVTTypeIsVectorFloat() argument
55 if (Ty in originalEVTTypeIsVectorFloat()
62 originalTypeIsVectorFloat(const Type * Ty) originalTypeIsVectorFloat() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DDataLayout.h179 bool ABIAlign, Type *Ty) const;
184 Align getAlignment(Type *Ty, bool abi_or_pref) const;
384 bool isNonIntegralPointerType(Type *Ty) const { in isNonIntegralPointerType()
385 auto *PTy = dyn_cast<PointerType>(Ty); in isNonIntegralPointerType()
415 unsigned getIndexTypeSizeInBits(Type *Ty) const;
417 unsigned getPointerTypeSize(Type *Ty) const { in getPointerTypeSize()
418 return getPointerTypeSizeInBits(Ty) / 8; in getPointerTypeSize()
440 /// If Ty is a scalable vector type, the scalable property will be set and
445 TypeSize getTypeSizeInBits(Type *Ty) const;
450 /// If Ty i
[all...]
H A DConstants.h65 explicit ConstantData(Type *Ty, ValueTy VT) : Constant(Ty, VT, nullptr, 0) {} in ConstantData() argument
88 ConstantInt(IntegerType *Ty, const APInt& V);
97 static Constant *getTrue(Type *Ty);
98 static Constant *getFalse(Type *Ty);
100 /// If Ty is a vector type, return a Constant with a splat of the given
102 static Constant *get(Type *Ty, uint64_t V, bool isSigned = false);
110 static ConstantInt *get(IntegerType *Ty, uint64_t V,
116 /// signed value for the type Ty.
118 static ConstantInt *getSigned(IntegerType *Ty, int64_
343 ConstantAggregateZero(Type *Ty) ConstantAggregateZero() argument
723 Type *Ty = ArrayType::get(ElementTy, NumElements); getRaw() local
1154 getGetElementPtr(Type *Ty, Constant *C, ArrayRef<Constant *> IdxList, bool InBounds = false, Optional<unsigned> InRangeIndex = None, Type *OnlyIfReducedTy = nullptr) getGetElementPtr() argument
1163 getGetElementPtr(Type *Ty, Constant *C, Constant *Idx, bool InBounds = false, Optional<unsigned> InRangeIndex = None, Type *OnlyIfReducedTy = nullptr) getGetElementPtr() argument
1181 getInBoundsGetElementPtr(Type *Ty, Constant *C, ArrayRef<Constant *> IdxList) getInBoundsGetElementPtr() argument
1185 getInBoundsGetElementPtr(Type *Ty, Constant *C, Constant *Idx) getInBoundsGetElementPtr() argument
1192 getInBoundsGetElementPtr(Type *Ty, Constant *C, ArrayRef<Value *> IdxList) getInBoundsGetElementPtr() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvShaderDebug.hpp53 struct PrintValue::Ty<sw::SpirvShader::Object::ID> struct in rr::PrintValue
59 struct PrintValue::Ty<sw::SpirvShader::Type::ID> struct in rr::PrintValue
65 struct PrintValue::Ty<sw::SpirvShader::Block::ID> struct in rr::PrintValue
72 struct PrintValue::Ty<sw::Intermediate> struct in rr::PrintValue
79 return PrintValue::Ty<sw::SIMD::Float>::fmt(v.Float(i)); in fmt()
81 return PrintValue::Ty<sw::SIMD::Int>::fmt(v.Int(i)); in fmt()
83 return PrintValue::Ty<sw::SIMD::UInt>::fmt(v.UInt(i)); in fmt()
93 return PrintValue::Ty<sw::SIMD::Float>::val(v.Float(i)); in val()
95 return PrintValue::Ty<sw::SIMD::Int>::val(v.Int(i)); in val()
97 return PrintValue::Ty<s in val()
132 struct PrintValue::Ty<sw::SpirvShader::Operand> global() struct in rr::PrintValue
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DPrint.hpp34 // * Custom types that specialize the PrintValue::Ty template struct.
39 // Ty is a template that can be specialized for printing type T.
46 struct Ty struct in rr::PrintValue
159 // PrintValue::Ty<>::vals() to help declare aggregate types.
160 // For example, if you were declaring a PrintValue::Ty<> specialization
166 // template <> struct PrintValue::Ty<Mat4x4>
194 // PrintValue::Ty<T> specialization.
198 return Ty<T>::fmt(v); in fmt()
202 // PrintValue::Ty<T> specialization.
206 return Ty< in val()
212 struct PrintValue::Ty<const char *> global() struct in rr::PrintValue
218 struct PrintValue::Ty<std::string> global() struct in rr::PrintValue
226 struct PrintValue::Ty<Bool> global() struct in rr::PrintValue
232 struct PrintValue::Ty<Byte> global() struct in rr::PrintValue
238 struct PrintValue::Ty<Byte4> global() struct in rr::PrintValue
244 struct PrintValue::Ty<Int> global() struct in rr::PrintValue
250 struct PrintValue::Ty<Int2> global() struct in rr::PrintValue
256 struct PrintValue::Ty<Int4> global() struct in rr::PrintValue
262 struct PrintValue::Ty<UInt> global() struct in rr::PrintValue
268 struct PrintValue::Ty<UInt2> global() struct in rr::PrintValue
274 struct PrintValue::Ty<UInt4> global() struct in rr::PrintValue
280 struct PrintValue::Ty<Short> global() struct in rr::PrintValue
286 struct PrintValue::Ty<Short4> global() struct in rr::PrintValue
292 struct PrintValue::Ty<UShort> global() struct in rr::PrintValue
298 struct PrintValue::Ty<UShort4> global() struct in rr::PrintValue
304 struct PrintValue::Ty<Float> global() struct in rr::PrintValue
310 struct PrintValue::Ty<Float4> global() struct in rr::PrintValue
316 struct PrintValue::Ty<Long> global() struct in rr::PrintValue
322 struct PrintValue::Ty<Pointer<T>> global() struct in rr::PrintValue
328 struct PrintValue::Ty<Reference<T>> global() struct in rr::PrintValue
334 struct PrintValue::Ty<RValue<T>> global() struct in rr::PrintValue
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp350 static std::string getFullyQualifiedName(const DIScope *Ty) { in getFullyQualifiedName() argument
351 const DIScope *Scope = Ty->getScope(); in getFullyQualifiedName()
352 return getFullyQualifiedName(Scope, getPrettyScopeName(Ty)); in getFullyQualifiedName()
411 getFunctionOptions(const DISubroutineType *Ty, in getFunctionOptions() argument
416 if (auto TypeArray = Ty->getTypeArray()) { in getFunctionOptions()
1464 void CodeViewDebug::addToUDTs(const DIType *Ty) { in addToUDTs() argument
1466 if (Ty->getName().empty()) in addToUDTs()
1468 if (!shouldEmitUdt(Ty)) in addToUDTs()
1473 getQualifiedNameComponents(Ty->getScope(), QualifiedNameComponents); in addToUDTs()
1476 getQualifiedName(QualifiedNameComponents, getPrettyScopeName(Ty)); in addToUDTs()
1479 GlobalUDTs.emplace_back(std::move(FullyQualifiedName), Ty); addToUDTs() local
1481 LocalUDTs.emplace_back(std::move(FullyQualifiedName), Ty); addToUDTs() local
1492 lowerType(const DIType *Ty, const DIType *ClassTy) lowerType() argument
1541 lowerTypeAlias(const DIDerivedType *Ty) lowerTypeAlias() argument
1557 lowerTypeArray(const DICompositeType *Ty) lowerTypeArray() argument
1603 lowerTypeBasic(const DIBasicType *Ty) lowerTypeBasic() argument
1696 lowerTypePointer(const DIDerivedType *Ty, PointerOptions PO) lowerTypePointer() argument
1767 lowerTypeMemberPointer(const DIDerivedType *Ty, PointerOptions PO) lowerTypeMemberPointer() argument
1800 lowerTypeModifier(const DIDerivedType *Ty) lowerTypeModifier() argument
1857 lowerTypeFunction(const DISubroutineType *Ty) lowerTypeFunction() argument
1886 lowerTypeMemberFunction(const DISubroutineType *Ty, const DIType *ClassTy, int ThisAdjustment, bool IsStaticMethod, FunctionOptions FO) lowerTypeMemberFunction() argument
1934 lowerTypeVFTableShape(const DIDerivedType *Ty) lowerTypeVFTableShape() argument
1985 getRecordKind(const DICompositeType *Ty) getRecordKind() argument
1995 getCommonClassOptions(const DICompositeType *Ty) getCommonClassOptions() argument
2031 addUDTSrcLine(const DIType *Ty, TypeIndex TI) addUDTSrcLine() argument
2051 lowerTypeEnum(const DICompositeType *Ty) lowerTypeEnum() argument
2140 const DIType *Ty = DDTy->getBaseType(); collectMemberInfo() local
2166 collectClassInfo(const DICompositeType *Ty) collectClassInfo() argument
2199 shouldAlwaysEmitCompleteClassType(const DICompositeType *Ty) shouldAlwaysEmitCompleteClassType() argument
2206 lowerTypeClass(const DICompositeType *Ty) lowerTypeClass() argument
2235 lowerCompleteTypeClass(const DICompositeType *Ty) lowerCompleteTypeClass() argument
2272 lowerTypeUnion(const DICompositeType *Ty) lowerTypeUnion() argument
2287 lowerCompleteTypeUnion(const DICompositeType *Ty) lowerCompleteTypeUnion() argument
2313 lowerRecordFieldList(const DICompositeType *Ty) lowerRecordFieldList() argument
2458 getTypeIndex(const DIType *Ty, const DIType *ClassTy) getTypeIndex() argument
2501 getTypeIndexForReferenceTo(const DIType *Ty) getTypeIndexForReferenceTo() argument
2510 getCompleteTypeIndex(const DIType *Ty) getCompleteTypeIndex() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h59 bool isWideningInstruction(Type *Ty, unsigned Opcode,
75 int getIntImmCost(const APInt &Imm, Type *Ty);
77 Type *Ty);
79 Type *Ty);
123 unsigned Opcode, Type *Ty,
131 int getAddressComputationCost(Type *Ty, ScalarEvolution *SE, const SCEV *Ptr);
156 Type *Ty = DataType->getVectorElementType(); in isLegalMaskedLoadStore()
157 if (Ty->isHalfTy() || Ty->isFloatTy() || Ty in isLegalMaskedLoadStore()
[all...]

Completed in 34 milliseconds

12345678910>>...20