Home
last modified time | relevance | path

Searched refs:IntegerLiteral (Results 1 – 20 of 20) sorted by relevance

/third_party/node/deps/v8/src/numbers/
Dinteger-literal.h14 class IntegerLiteral {
16 IntegerLiteral(bool negative, uint64_t absolute_value) in IntegerLiteral() function
22 explicit IntegerLiteral(T value) : IntegerLiteral(value, true) {} in IntegerLiteral() function
32 return Compare(IntegerLiteral(std::numeric_limits<T>::min(), false)) >= 0 && in IsRepresentableAs()
33 Compare(IntegerLiteral(std::numeric_limits<T>::max(), false)) <= 0; in IsRepresentableAs()
52 int Compare(const IntegerLiteral& other) const { in Compare()
67 explicit IntegerLiteral(T value, bool perform_dcheck) : negative_(false) { in IntegerLiteral() function
81 inline bool operator==(const IntegerLiteral& x, const IntegerLiteral& y) {
85 inline bool operator!=(const IntegerLiteral& x, const IntegerLiteral& y) {
90 const IntegerLiteral& literal) {
[all …]
Dinteger-literal-inl.h13 inline std::string IntegerLiteral::ToString() const { in ToString()
18 inline IntegerLiteral operator<<(const IntegerLiteral& x,
19 const IntegerLiteral& y) {
22 return IntegerLiteral(x.is_negative(), x.absolute_value()
26 inline IntegerLiteral operator+(const IntegerLiteral& x,
27 const IntegerLiteral& y) {
30 return IntegerLiteral(x.is_negative(),
34 return IntegerLiteral(x.is_negative(),
37 return IntegerLiteral(!x.is_negative(),
/third_party/node/deps/v8/src/builtins/
Dconvert.tq7 // Conversions for IntegerLiteral
8 FromConstexpr<intptr, constexpr IntegerLiteral>(i: constexpr IntegerLiteral):
12 FromConstexpr<uintptr, constexpr IntegerLiteral>(i: constexpr IntegerLiteral):
16 FromConstexpr<int32, constexpr IntegerLiteral>(i: constexpr IntegerLiteral):
20 FromConstexpr<uint32, constexpr IntegerLiteral>(i: constexpr IntegerLiteral):
24 FromConstexpr<int31, constexpr IntegerLiteral>(i: constexpr IntegerLiteral):
28 FromConstexpr<int8, constexpr IntegerLiteral>(i: constexpr IntegerLiteral):
32 FromConstexpr<uint8, constexpr IntegerLiteral>(i: constexpr IntegerLiteral):
36 FromConstexpr<uint64, constexpr IntegerLiteral>(i: constexpr IntegerLiteral):
40 FromConstexpr<constexpr int31, constexpr IntegerLiteral>(
[all …]
Dbase.tq31 type IntegerLiteral constexpr 'IntegerLiteral';
998 // IntegerLiteral overloads
999 extern macro ConstexprIntegerLiteralToInt31(constexpr IntegerLiteral):
1001 extern macro ConstexprIntegerLiteralToInt32(constexpr IntegerLiteral):
1003 extern macro ConstexprIntegerLiteralToUint32(constexpr IntegerLiteral):
1005 extern macro ConstexprIntegerLiteralToUint64(constexpr IntegerLiteral):
1007 extern macro ConstexprIntegerLiteralToIntptr(constexpr IntegerLiteral):
1009 extern macro ConstexprIntegerLiteralToUintptr(constexpr IntegerLiteral):
1011 extern macro ConstexprIntegerLiteralToInt8(constexpr IntegerLiteral):
1013 extern macro ConstexprIntegerLiteralToUint8(constexpr IntegerLiteral):
[all …]
Dtorque-internal.tq108 macro AtIndex(index: constexpr IntegerLiteral): Reference {
/third_party/node/deps/v8/src/torque/
Druntime-macro-shims.h40 inline int32_t ConstexprIntegerLiteralToInt32(const IntegerLiteral& i) { in ConstexprIntegerLiteralToInt32()
43 inline int31_t ConstexprIntegerLiteralToInt31(const IntegerLiteral& i) { in ConstexprIntegerLiteralToInt31()
46 inline intptr_t ConstexprIntegerLiteralToIntptr(const IntegerLiteral& i) { in ConstexprIntegerLiteralToIntptr()
Dtorque-parser.cc100 ParseResultHolder<IntegerLiteral>::id = ParseResultTypeId::kIntegerLiteral;
927 return ParseResult(IntegerLiteral(negative, absolute_value)); in YieldIntegerLiteral()
1963 auto value = child_results->NextAs<IntegerLiteral>(); in MakeIntegerLiteralExpression()
2130 {MakeNode<IntegerLiteralExpression>(IntegerLiteral(1))}, {}), in MakeClassField()
2136 {MakeNode<IntegerLiteralExpression>(IntegerLiteral(0))}, {})); in MakeClassField()
Dtypes.cc853 MakeNode<IntegerLiteralExpression>(IntegerLiteral(*field.offset)); in GenerateSliceAccessor()
883 IntegerLiteral(previous_element_size)); in GenerateSliceAccessor()
Dast.h466 IntegerLiteralExpression(SourcePosition pos, IntegerLiteral value) in IntegerLiteralExpression()
473 IntegerLiteral value;
/third_party/node/deps/v8/tools/debug_helper/
Ddebug-macro-shims.h110 const IntegerLiteral& i) { in ConstexprIntegerLiteralToInt31()
114 const IntegerLiteral& i) { in ConstexprIntegerLiteralToInt32()
118 const IntegerLiteral& i) { in ConstexprIntegerLiteralToIntptr()
/third_party/node/deps/v8/src/objects/
Dturbofan-types.tq7 const kMaxIntPtr: constexpr IntegerLiteral
8 generates 'IntegerLiteral(ca_.Is64() ? 0x7FFFFFFFFFFFFFFF : 0x7FFFFFFF)';
9 const kMinIntPtr: constexpr IntegerLiteral
10 generates 'IntegerLiteral(ca_.Is64() ? 0x8000000000000000 : 0x80000000)';
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMILexer.h149 IntegerLiteral, enumerator
222 return Kind == IntegerLiteral || Kind == MachineBasicBlock || in hasIntegerValue()
DMIParser.cpp750 if (Token.isNot(MIToken::IntegerLiteral) && in parseBasicBlockLiveins()
782 if (Token.isNot(MIToken::IntegerLiteral) && in parseBasicBlockSuccessors()
1391 if (Token.isNot(MIToken::IntegerLiteral)) in parseRegisterTiedDefIndex()
1524 assert(Token.is(MIToken::IntegerLiteral)); in parseImmediateOperand()
1543 if (Token.is(MIToken::IntegerLiteral)) { in parseTargetImmMnemonic()
1640 if (Token.isNot(MIToken::IntegerLiteral)) in parseLowLevelType()
1695 if (Token.isNot(MIToken::IntegerLiteral)) { in parseTypedImmediateOperand()
1956 if (Token.isNot(MIToken::IntegerLiteral) || Token.integerValue().isSigned()) in parseMDNode()
1995 if (Token.isNot(MIToken::IntegerLiteral) || in parseDIExpression()
2036 if (Token.isNot(MIToken::IntegerLiteral) || in parseDILocation()
[all …]
DMILexer.cpp572 Token.reset(MIToken::IntegerLiteral, StrVal).setIntegerValue(APSInt(StrVal)); in maybeLexNumericalLiteral()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DMicrosoftDemangleNodes.h248 IntegerLiteral, enumerator
553 IntegerLiteralNode() : Node(NodeKind::IntegerLiteral) {} in IntegerLiteralNode()
555 : Node(NodeKind::IntegerLiteral), Value(Value), IsNegative(IsNegative) {} in IntegerLiteralNode()
DItaniumDemangle.h102 X(IntegerLiteral) \
2058 class IntegerLiteral : public Node {
2063 IntegerLiteral(StringView Type_, StringView Value_) in IntegerLiteral() function
4046 return make<IntegerLiteral>(Lit, Tmp); in parseIntegerLiteral()
/third_party/node/deps/v8/src/codegen/
Dcode-stub-assembler.h3838 int31_t ConstexprIntegerLiteralToInt31(const IntegerLiteral& i) { in ConstexprIntegerLiteralToInt31()
3841 int32_t ConstexprIntegerLiteralToInt32(const IntegerLiteral& i) { in ConstexprIntegerLiteralToInt32()
3844 uint32_t ConstexprIntegerLiteralToUint32(const IntegerLiteral& i) { in ConstexprIntegerLiteralToUint32()
3847 int8_t ConstexprIntegerLiteralToInt8(const IntegerLiteral& i) { in ConstexprIntegerLiteralToInt8()
3850 uint8_t ConstexprIntegerLiteralToUint8(const IntegerLiteral& i) { in ConstexprIntegerLiteralToUint8()
3853 uint64_t ConstexprIntegerLiteralToUint64(const IntegerLiteral& i) { in ConstexprIntegerLiteralToUint64()
3856 intptr_t ConstexprIntegerLiteralToIntptr(const IntegerLiteral& i) { in ConstexprIntegerLiteralToIntptr()
3859 uintptr_t ConstexprIntegerLiteralToUintptr(const IntegerLiteral& i) { in ConstexprIntegerLiteralToUintptr()
3862 double ConstexprIntegerLiteralToFloat64(const IntegerLiteral& i) { in ConstexprIntegerLiteralToFloat64()
3868 bool ConstexprIntegerLiteralEqual(IntegerLiteral lhs, IntegerLiteral rhs) { in ConstexprIntegerLiteralEqual()
[all …]
Dcode-stub-assembler.cc14943 IntegerLiteral CodeStubAssembler::ConstexprIntegerLiteralAdd( in ConstexprIntegerLiteralAdd()
14944 const IntegerLiteral& lhs, const IntegerLiteral& rhs) { in ConstexprIntegerLiteralAdd()
14947 IntegerLiteral CodeStubAssembler::ConstexprIntegerLiteralLeftShift( in ConstexprIntegerLiteralLeftShift()
14948 const IntegerLiteral& lhs, const IntegerLiteral& rhs) { in ConstexprIntegerLiteralLeftShift()
14951 IntegerLiteral CodeStubAssembler::ConstexprIntegerLiteralBitwiseOr( in ConstexprIntegerLiteralBitwiseOr()
14952 const IntegerLiteral& lhs, const IntegerLiteral& rhs) { in ConstexprIntegerLiteralBitwiseOr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/
DMicrosoftDemangleNodes.cpp549 assert(N->kind() == NodeKind::IntegerLiteral); in outputOneDimension()
/third_party/node/deps/v8/tools/gcmole/
Dgcmole.cc767 VISIT(IntegerLiteral); in VisitExpr()
818 IGNORE_EXPR(IntegerLiteral);