Home
last modified time | relevance | path

Searched refs:APSInt (Results 1 – 25 of 35) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPSInt.h21 class LLVM_NODISCARD APSInt : public APInt {
26 explicit APSInt() : IsUnsigned(false) {} in APSInt() function
30 explicit APSInt(uint32_t BitWidth, bool isUnsigned = true)
33 explicit APSInt(APInt I, bool isUnsigned = true)
43 explicit APSInt(StringRef Str);
63 APSInt &operator=(APInt RHS) {
69 APSInt &operator=(uint64_t RHS) {
98 APSInt trunc(uint32_t width) const { in trunc()
99 return APSInt(APInt::trunc(width), IsUnsigned); in trunc()
102 APSInt extend(uint32_t width) const { in extend()
[all …]
DAPFloat.h36 class APSInt; variable
1095 opStatus convertToInteger(APSInt &Result, roundingMode RM,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DRecordSerialization.cpp36 Error llvm::codeview::consume(BinaryStreamReader &Reader, APSInt &Num) { in consume()
44 Num = APSInt(APInt(/*numBits=*/16, Short, /*isSigned=*/false), in consume()
54 Num = APSInt(APInt(8, N, true), false); in consume()
61 Num = APSInt(APInt(16, N, true), false); in consume()
68 Num = APSInt(APInt(16, N, false), true); in consume()
75 Num = APSInt(APInt(32, N, true), false); in consume()
82 Num = APSInt(APInt(32, N, FalseVal), true); in consume()
89 Num = APSInt(APInt(64, N, true), false); in consume()
96 Num = APSInt(APInt(64, N, false), true); in consume()
104 Error llvm::codeview::consume(StringRef &Data, APSInt &Num) { in consume()
[all …]
DCodeViewRecordIO.cpp164 APSInt N; in mapEncodedInteger()
181 APSInt N; in mapEncodedInteger()
189 Error CodeViewRecordIO::mapEncodedInteger(APSInt &Value, const Twine &Comment) { in mapEncodedInteger()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPSInt.cpp20 APSInt::APSInt(StringRef Str) { in APSInt() function in APSInt
30 *this = APSInt(Tmp, /*isUnsigned=*/false); in APSInt()
36 *this = APSInt(Tmp, /*isUnsigned=*/true); in APSInt()
39 void APSInt::Profile(FoldingSetNodeID& ID) const { in Profile()
DZ3Solver.cpp725 SMTExprRef mkBitvector(const llvm::APSInt Int, unsigned BitWidth) override { in mkBitvector()
736 llvm::APSInt Int = llvm::APSInt(Float.bitcastToAPInt(), false); in mkFloat()
750 llvm::APSInt getBitvector(const SMTExprRef &Exp, unsigned BitWidth, in getBitvector()
752 return llvm::APSInt( in getBitvector()
772 llvm::APSInt Int(Sort->getFloatSortSize(), true); in toAPFloat()
790 llvm::APSInt &Int, bool useSemantics) { in toAPSInt()
819 Int = llvm::APSInt(llvm::APInt(Int.getBitWidth(), getBoolean(AST)), in toAPSInt()
827 bool getInterpretation(const SMTExprRef &Exp, llvm::APSInt &Int) override { in getInterpretation()
DCMakeLists.txt61 APSInt.cpp
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMILexer.h170 APSInt IntVal;
179 MIToken &setIntegerValue(APSInt IntVal);
219 const APSInt &integerValue() const { return IntVal; } in integerValue()
DMILexer.cpp84 MIToken &MIToken::setIntegerValue(APSInt IntVal) { in setIntegerValue()
303 .setIntegerValue(APSInt(Number)) in maybeLexMachineBasicBlock()
317 Token.reset(Kind, Range.upto(C)).setIntegerValue(APSInt(NumberRange.upto(C))); in maybeLexIndex()
339 .setIntegerValue(APSInt(Number)) in maybeLexIndexAndName()
404 .setIntegerValue(APSInt(NumberRange.upto(C))); in lexVirtualRegister()
461 .setIntegerValue(APSInt(NumberRange.upto(C))); in maybeLexGlobalValue()
572 Token.reset(MIToken::IntegerLiteral, StrVal).setIntegerValue(APSInt(StrVal)); in maybeLexNumericalLiteral()
DMIParser.cpp1525 const APSInt &Int = Token.integerValue(); in parseImmediateOperand()
1616 auto ScalarSize = APSInt(Token.range().drop_front()).getZExtValue(); in parseLowLevelType()
1625 uint64_t AS = APSInt(Token.range().drop_front()).getZExtValue(); in parseLowLevelType()
1659 auto ScalarSize = APSInt(Token.range().drop_front()).getZExtValue(); in parseLowLevelType()
1665 uint64_t AS = APSInt(Token.range().drop_front()).getZExtValue(); in parseLowLevelType()
2427 const APSInt &Int = Token.integerValue(); in parseShuffleMaskOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLLexer.h42 APSInt APSIntVal;
62 const APSInt &getAPSIntVal() const { return APSIntVal; } in getAPSIntVal()
DLLLexer.cpp963 APSIntVal = APSInt(Tmp, TokStart[0] == 'u'); in LexIdentifier()
964 return lltok::APSInt; in LexIdentifier()
1091 APSIntVal = APSInt(StringRef(TokStart, CurPtr - TokStart)); in LexDigitOrNegative()
1092 return lltok::APSInt; in LexDigitOrNegative()
DLLToken.h471 APSInt // APSInt enumerator
DLLParser.cpp1504 if (Lex.getKind() != lltok::APSInt || Lex.getAPSIntVal().isSigned()) in ParseUInt32()
1517 if (Lex.getKind() != lltok::APSInt || Lex.getAPSIntVal().isSigned()) in ParseUInt64()
2795 if (Lex.getKind() != lltok::APSInt || Lex.getAPSIntVal().isSigned() || in ParseArrayVectorType()
3094 case lltok::APSInt: in ParseValID()
3951 if (Lex.getKind() != lltok::APSInt || Lex.getAPSIntVal().isSigned()) in ParseMDField()
3975 if (Lex.getKind() == lltok::APSInt) in ParseMDField()
3994 if (Lex.getKind() == lltok::APSInt) in ParseMDField()
4014 if (Lex.getKind() == lltok::APSInt) in ParseMDField()
4032 if (Lex.getKind() == lltok::APSInt) in ParseMDField()
4050 if (Lex.getKind() == lltok::APSInt) in ParseMDField()
[all …]
DLLParser.h64 APSInt APSIntVal;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSMTAPI.h399 virtual llvm::APSInt getBitvector(const SMTExprRef &Exp, unsigned BitWidth,
412 virtual SMTExprRef mkBitvector(const llvm::APSInt Int, unsigned BitWidth) = 0;
415 virtual bool getInterpretation(const SMTExprRef &Exp, llvm::APSInt &Int) = 0;
DScopedPrinter.h194 void printNumber(StringRef Label, const APSInt &Value) { in printNumber()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DRecordSerialization.h52 Error consume(BinaryStreamReader &Reader, APSInt &Num);
64 Error consume(StringRef &Data, APSInt &Num);
DTypeRecord.h839 EnumeratorRecord(MemberAttributes Attrs, APSInt Value, StringRef Name) in EnumeratorRecord()
842 EnumeratorRecord(MemberAccess Access, APSInt Value, StringRef Name) in EnumeratorRecord()
847 APSInt getValue() const { return Value; } in getValue()
851 APSInt Value;
DCodeViewRecordIO.h134 Error mapEncodedInteger(APSInt &Value, const Twine &Comment = "");
DSymbolRecord.h922 APSInt Value;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DCodeViewYAMLTypes.cpp51 LLVM_YAML_DECLARE_SCALAR_TRAITS(APSInt, QuotingType::None)
184 void ScalarTraits<APSInt>::output(const APSInt &S, void *, raw_ostream &OS) { in output()
188 StringRef ScalarTraits<APSInt>::input(StringRef Scalar, void *Ctx, APSInt &S) { in input()
189 S = APSInt(Scalar); in input()
DCodeViewYAMLSymbols.cpp45 LLVM_YAML_DECLARE_SCALAR_TRAITS(APSInt, QuotingType::None) in LLVM_YAML_IS_SEQUENCE_VECTOR()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp336 APSInt Int(MaxIntegerBW+1, false); in walkForwards()
451 APSInt Val(ToTy->getPrimitiveSizeInBits(), /*isUnsigned=*/false); in convert()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPFloat.h27 class APSInt; variable
314 opStatus convertToInteger(APSInt &, roundingMode, bool *) const;
991 opStatus convertToInteger(APSInt &Result, roundingMode RM, in convertToInteger()

12