12#ifndef LLVM_IR_DBGVARIABLEFRAGMENTINFO_H
13#define LLVM_IR_DBGVARIABLEFRAGMENTINFO_H
35 A.OffsetInBits >
B.OffsetInBits ?
A.OffsetInBits :
B.OffsetInBits;
37 A.endInBits() <
B.endInBits() ?
A.endInBits() :
B.endInBits();
38 if (EndInBits <= StartInBits)
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
This is an optimization pass for GlobalISel generic memory operations.
uint64_t startInBits() const
Return the index of the first bit of the fragment.
DbgVariableFragmentInfo()=default
DbgVariableFragmentInfo(uint64_t SizeInBits, uint64_t OffsetInBits)
static DbgVariableFragmentInfo intersect(DbgVariableFragmentInfo A, DbgVariableFragmentInfo B)
Returns a zero-sized fragment if A and B don't intersect.
uint64_t endInBits() const
Return the index of the bit after the end of the fragment, e.g.