Go to the documentation of this file.
14 #ifndef LLVM_SUPPORT_GLOBPATTERN_H
15 #define LLVM_SUPPORT_GLOBPATTERN_H
26 template <
typename T>
class ArrayRef;
37 if (Prefix && Prefix->empty()) {
48 std::vector<BitVector> Tokens;
51 std::optional<StringRef> Exact;
52 std::optional<StringRef> Prefix;
53 std::optional<StringRef> Suffix;
57 #endif // LLVM_SUPPORT_GLOBPATTERN_H
This is an optimization pass for GlobalISel generic memory operations.
Tagged union holding either a T or a Error.
bool isTrivialMatchAll() const
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
static Expected< GlobPattern > create(StringRef Pat)
StringRef - Represent a constant reference to a string, i.e.
add sub stmia L5 ldr r0 bl L_printf $stub Instead of a and a wouldn t it be better to do three moves *Return an aggregate type is even return S
bool match(StringRef S) const
ArrayRef(const T &OneElt) -> ArrayRef< T >