LLVM: lib/Support/DynamicAPInt.cpp Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
12
13using namespace llvm;
14
20
22 constexpr size_t ValLargeOffset =
24 constexpr size_t ValSmallOffset = offsetof(DynamicAPInt, ValSmall);
25 constexpr size_t ValSmallSize = sizeof(ValSmall);
26 static_assert(ValLargeOffset >= ValSmallOffset + ValSmallSize);
27}
28
34
35#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
37#endif
#define LLVM_DUMP_METHOD
Mark debug helper function definitions like dump() that should not be stripped from debug builds.
#define offsetof(TYPE, MEMBER)
static TableGen::Emitter::OptClass< SkeletonEmitter > X("gen-skeleton-class", "Generate example skeleton class")
This class provides support for dynamic arbitrary-precision arithmetic.
LLVM_ABI raw_ostream & print(raw_ostream &OS) const
Definition DynamicAPInt.cpp:29
detail::SlowDynamicAPInt ValLarge
LLVM_ABI void static_assert_layout()
Definition DynamicAPInt.cpp:21
LLVM_DUMP_METHOD void dump() const
Definition DynamicAPInt.cpp:36
An opaque object representing a hash code.
This class implements an extremely fast bulk output stream that can only output to a stream.
LLVM_ABI hash_code hash_value(const IEEEFloat &Arg)
This is an optimization pass for GlobalISel generic memory operations.
hash_code hash_value(const FixedPointSemantics &Val)
LLVM_ABI raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.