Searched refs:IntegralAP (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | IntegralAP.h | 33 template <bool Signed> class IntegralAP final { 35 friend IntegralAP<!Signed>; 56 using AsUnsigned = IntegralAP<false>; 59 IntegralAP(T Value, unsigned BitWidth) in IntegralAP() function 62 IntegralAP(APInt V) : V(V) {} in IntegralAP() function 64 IntegralAP() : IntegralAP(-1, 3) {} in IntegralAP() function 66 IntegralAP operator-() const { return IntegralAP(-V); } 67 IntegralAP operator-(const IntegralAP &Other) const { 68 return IntegralAP(V - Other.V); 70 bool operator>(const IntegralAP &RHS) const { [all …]
|
H A D | Disasm.cpp | 51 inline IntegralAP<false> ReadArg<IntegralAP<false>>(Program &P, CodePtr &OpPC) { in ReadArg() 52 IntegralAP<false> I = IntegralAP<false>::deserialize(*OpPC); in ReadArg() 58 inline IntegralAP<true> ReadArg<IntegralAP<true>>(Program &P, CodePtr &OpPC) { in ReadArg() 59 IntegralAP<true> I = IntegralAP<true>::deserialize(*OpPC); in ReadArg()
|
H A D | PrimType.h | 29 template <bool Signed> class IntegralAP; variable 85 using T = IntegralAP<false>; 88 using T = IntegralAP<true>;
|
H A D | InterpStack.h | 187 else if constexpr (std::is_same_v<T, IntegralAP<true>>) in toPrimType() 189 else if constexpr (std::is_same_v<T, IntegralAP<false>>) in toPrimType()
|
H A D | Interp.h | 2034 S.Stk.push<IntegralAP<false>>( in CastAP() 2035 IntegralAP<false>::from(S.Stk.pop<T>(), BitWidth)); in CastAP() 2041 S.Stk.push<IntegralAP<true>>( in CastAPS() 2042 IntegralAP<true>::from(S.Stk.pop<T>(), BitWidth)); in CastAPS() 2106 S.Stk.push<IntegralAP<true>>(IntegralAP<true>(Result)); in CastFloatingIntegralAP() 2126 S.Stk.push<IntegralAP<true>>(IntegralAP<true>(Result)); in CastFloatingIntegralAPS() 2156 S.Stk.push<IntegralAP<false>>( in CastPointerIntegralAP() 2157 IntegralAP<false>::from(Ptr.getIntegerRepresentation(), BitWidth)); in CastPointerIntegralAP() 2172 S.Stk.push<IntegralAP<true>>( in CastPointerIntegralAPS() 2173 IntegralAP<true>::from(Ptr.getIntegerRepresentation(), BitWidth)); in CastPointerIntegralAPS() [all …]
|
H A D | ByteCodeEmitter.cpp | 299 const IntegralAP<false> &Val, bool &Success) { in emit() 304 void emit(Program &P, std::vector<std::byte> &Code, const IntegralAP<true> &Val, in emit()
|
H A D | Opcodes.td | 48 def ArgIntAP : ArgType { let Name = "IntegralAP<false>"; let AsRef = true; } 49 def ArgIntAPS : ArgType { let Name = "IntegralAP<true>"; let AsRef = true; }
|
H A D | Integral.h | 32 template <bool Signed> class IntegralAP; variable
|