9#ifndef LLVM_ASMPARSER_NUMBEREDVALUES_H
10#define LLVM_ASMPARSER_NUMBEREDVALUES_H
20 unsigned NextUnusedID = 0;
23 unsigned getNext()
const {
return NextUnusedID; }
26 assert(
ID >= NextUnusedID &&
"Invalid value ID");
28 NextUnusedID =
ID + 1;
This file defines the DenseMap class.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
ValueT lookup(const_arg_type_t< KeyT > Val) const
lookup - Return the entry for the specified key, or a default constructed value if no such entry exis...
std::pair< iterator, bool > insert(const std::pair< KeyT, ValueT > &KV)
Mapping from value ID to value, which also remembers what the next unused ID is.
void add(unsigned ID, T V)
unsigned ID
LLVM IR allows to use arbitrary numbers as calling convention identifiers.
This is an optimization pass for GlobalISel generic memory operations.