ExprResult Expr;
TemplateName Template;
ParsedType Type;
- const IdentifierInfo *Keyword;
explicit NameClassification(NameClassificationKind Kind) : Kind(Kind) {}
NameClassification(ParsedType Type) : Kind(NC_Type), Type(Type) {}
- NameClassification(const IdentifierInfo *Keyword)
- : Kind(NC_Keyword), Keyword(Keyword) {}
+ NameClassification(const IdentifierInfo *Keyword) : Kind(NC_Keyword) {}
static NameClassification Error() {
return NameClassification(NC_Error);
using SelectionsMap = std::map<GraphBase::NodeId, unsigned>;
SelectionsMap selections;
- unsigned r0Reductions = 0;
- unsigned r1Reductions = 0;
- unsigned r2Reductions = 0;
- unsigned rNReductions = 0;
-
public:
/// \brief Initialise an empty solution.
Solution() = default;
uint32_t FreePageMap;
uint32_t Unknown1 = 0;
uint32_t BlockSize;
- uint32_t MininumBlocks;
uint32_t BlockMapAddr;
BitVector FreeBlocks;
std::vector<uint32_t> DirectoryBlocks;
BaseRelocRef() = default;
BaseRelocRef(const coff_base_reloc_block_header *Header,
const COFFObjectFile *Owner)
- : Header(Header), Index(0), OwningObject(Owner) {}
+ : Header(Header), Index(0) {}
bool operator==(const BaseRelocRef &Other) const;
void moveNext();
private:
const coff_base_reloc_block_header *Header;
uint32_t Index;
- const COFFObjectFile *OwningObject = nullptr;
};
class ResourceSectionRef {
uint16_t NameID;
const WinResHeaderSuffix *Suffix = nullptr;
ArrayRef<uint8_t> Data;
- const WindowsResource *OwningRes = nullptr;
};
class WindowsResource : public Binary {
BumpPtrAllocator &Allocator)
: Allocator(Allocator), IsGrowable(CanGrow),
FreePageMap(kDefaultFreePageMap), BlockSize(BlockSize),
- MininumBlocks(MinBlockCount), BlockMapAddr(kDefaultBlockMapAddr),
- FreeBlocks(MinBlockCount, true) {
+ BlockMapAddr(kDefaultBlockMapAddr), FreeBlocks(MinBlockCount, true) {
FreeBlocks[kSuperBlockBlock] = false;
FreeBlocks[kFreePageMap0Block] = false;
FreeBlocks[kFreePageMap1Block] = false;
ResourceEntryRef::ResourceEntryRef(BinaryStreamRef Ref,
const WindowsResource *Owner)
- : Reader(Ref), OwningRes(Owner) {}
+ : Reader(Ref) {}
Expected<ResourceEntryRef>
ResourceEntryRef::create(BinaryStreamRef BSR, const WindowsResource *Owner) {
private:
bool WaitAtBeginning = false;
bool RevisitLoop = false;
- bool ValidLoop = false;
bool MixedExpTypes = false;
- MachineLoop *LoopRegion = nullptr;
int32_t PostOrder = 0;
MachineInstr *Waitcnt = nullptr;
int32_t ScoreLBs[NUM_INST_CNTS] = {0};
HexagonCVIResource::HexagonCVIResource(TypeUnitsAndLanes *TUL,
MCInstrInfo const &MCII, unsigned s,
MCInst const *id)
- : HexagonResource(s), TUL(TUL) {
+ : HexagonResource(s) {
unsigned T = HexagonMCInstrInfo::getType(MCII, *id);
if (TUL->count(T)) {
CVI_MPY1 = 1 << 3
};
- TypeUnitsAndLanes *TUL;
-
// Count of adjacent slots that the insn requires to be executed.
unsigned Lanes;
// Flag whether the insn is a load or a store.
// matches the EVEX instruction of this object.
class IsMatch {
const CodeGenInstruction *MemInst;
- const RecordKeeper &Records;
public:
IsMatch(const CodeGenInstruction *Inst, const RecordKeeper &Records)
- : MemInst(Inst), Records(Records) {}
+ : MemInst(Inst) {}
bool operator()(const CodeGenInstruction *RegInst) {
Record *MemRec = MemInst->TheDef;