Path: blob/main/contrib/llvm-project/llvm/utils/TableGen/Common/CodeGenSchedule.h
35290 views
//===- CodeGenSchedule.h - Scheduling Machine Models ------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file defines structures to encapsulate the machine model as described in9// the target description.10//11//===----------------------------------------------------------------------===//1213#ifndef LLVM_UTILS_TABLEGEN_CODEGENSCHEDULE_H14#define LLVM_UTILS_TABLEGEN_CODEGENSCHEDULE_H1516#include "llvm/ADT/APInt.h"17#include "llvm/ADT/ArrayRef.h"18#include "llvm/ADT/DenseMap.h"19#include "llvm/ADT/DenseSet.h"20#include "llvm/ADT/STLExtras.h"21#include "llvm/ADT/StringRef.h"22#include "llvm/TableGen/Record.h"23#include "llvm/TableGen/SetTheory.h"24#include <cassert>25#include <string>26#include <utility>27#include <vector>2829namespace llvm {3031class CodeGenTarget;32class CodeGenSchedModels;33class CodeGenInstruction;3435using RecVec = std::vector<Record *>;36using RecIter = std::vector<Record *>::const_iterator;3738using IdxVec = std::vector<unsigned>;39using IdxIter = std::vector<unsigned>::const_iterator;4041/// We have two kinds of SchedReadWrites. Explicitly defined and inferred42/// sequences. TheDef is nonnull for explicit SchedWrites, but Sequence may or43/// may not be empty. TheDef is null for inferred sequences, and Sequence must44/// be nonempty.45///46/// IsVariadic controls whether the variants are expanded into multiple operands47/// or a sequence of writes on one operand.48struct CodeGenSchedRW {49unsigned Index;50std::string Name;51Record *TheDef;52bool IsRead;53bool IsAlias;54bool HasVariants;55bool IsVariadic;56bool IsSequence;57IdxVec Sequence;58RecVec Aliases;5960CodeGenSchedRW()61: Index(0), TheDef(nullptr), IsRead(false), IsAlias(false),62HasVariants(false), IsVariadic(false), IsSequence(false) {}63CodeGenSchedRW(unsigned Idx, Record *Def)64: Index(Idx), TheDef(Def), IsAlias(false), IsVariadic(false) {65Name = std::string(Def->getName());66IsRead = Def->isSubClassOf("SchedRead");67HasVariants = Def->isSubClassOf("SchedVariant");68if (HasVariants)69IsVariadic = Def->getValueAsBit("Variadic");7071// Read records don't currently have sequences, but it can be easily72// added. Note that implicit Reads (from ReadVariant) may have a Sequence73// (but no record).74IsSequence = Def->isSubClassOf("WriteSequence");75}7677CodeGenSchedRW(unsigned Idx, bool Read, ArrayRef<unsigned> Seq,78const std::string &Name)79: Index(Idx), Name(Name), TheDef(nullptr), IsRead(Read), IsAlias(false),80HasVariants(false), IsVariadic(false), IsSequence(true), Sequence(Seq) {81assert(Sequence.size() > 1 && "implied sequence needs >1 RWs");82}8384bool isValid() const {85assert((!HasVariants || TheDef) && "Variant write needs record def");86assert((!IsVariadic || HasVariants) && "Variadic write needs variants");87assert((!IsSequence || !HasVariants) && "Sequence can't have variant");88assert((!IsSequence || !Sequence.empty()) && "Sequence should be nonempty");89assert((!IsAlias || Aliases.empty()) && "Alias cannot have aliases");90return TheDef || !Sequence.empty();91}9293#ifndef NDEBUG94void dump() const;95#endif96};9798/// Represent a transition between SchedClasses induced by SchedVariant.99struct CodeGenSchedTransition {100unsigned ToClassIdx;101unsigned ProcIndex;102RecVec PredTerm;103};104105/// Scheduling class.106///107/// Each instruction description will be mapped to a scheduling class. There are108/// four types of classes:109///110/// 1) An explicitly defined itinerary class with ItinClassDef set.111/// Writes and ReadDefs are empty. ProcIndices contains 0 for any processor.112///113/// 2) An implied class with a list of SchedWrites and SchedReads that are114/// defined in an instruction definition and which are common across all115/// subtargets. ProcIndices contains 0 for any processor.116///117/// 3) An implied class with a list of InstRW records that map instructions to118/// SchedWrites and SchedReads per-processor. InstrClassMap should map the same119/// instructions to this class. ProcIndices contains all the processors that120/// provided InstrRW records for this class. ItinClassDef or Writes/Reads may121/// still be defined for processors with no InstRW entry.122///123/// 4) An inferred class represents a variant of another class that may be124/// resolved at runtime. ProcIndices contains the set of processors that may125/// require the class. ProcIndices are propagated through SchedClasses as126/// variants are expanded. Multiple SchedClasses may be inferred from an127/// itinerary class. Each inherits the processor index from the ItinRW record128/// that mapped the itinerary class to the variant Writes or Reads.129struct CodeGenSchedClass {130unsigned Index;131std::string Name;132Record *ItinClassDef;133134IdxVec Writes;135IdxVec Reads;136// Sorted list of ProcIdx, where ProcIdx==0 implies any processor.137IdxVec ProcIndices;138139std::vector<CodeGenSchedTransition> Transitions;140141// InstRW records associated with this class. These records may refer to an142// Instruction no longer mapped to this class by InstrClassMap. These143// Instructions should be ignored by this class because they have been split144// off to join another inferred class.145RecVec InstRWs;146// InstRWs processor indices. Filled in inferFromInstRWs147DenseSet<unsigned> InstRWProcIndices;148149CodeGenSchedClass(unsigned Index, std::string Name, Record *ItinClassDef)150: Index(Index), Name(std::move(Name)), ItinClassDef(ItinClassDef) {}151152bool isKeyEqual(Record *IC, ArrayRef<unsigned> W,153ArrayRef<unsigned> R) const {154return ItinClassDef == IC && ArrayRef(Writes) == W && ArrayRef(Reads) == R;155}156157// Is this class generated from a variants if existing classes? Instructions158// are never mapped directly to inferred scheduling classes.159bool isInferred() const { return !ItinClassDef; }160161#ifndef NDEBUG162void dump(const CodeGenSchedModels *SchedModels) const;163#endif164};165166/// Represent the cost of allocating a register of register class RCDef.167///168/// The cost of allocating a register is equivalent to the number of physical169/// registers used by the register renamer. Register costs are defined at170/// register class granularity.171struct CodeGenRegisterCost {172Record *RCDef;173unsigned Cost;174bool AllowMoveElimination;175CodeGenRegisterCost(Record *RC, unsigned RegisterCost,176bool AllowMoveElim = false)177: RCDef(RC), Cost(RegisterCost), AllowMoveElimination(AllowMoveElim) {}178CodeGenRegisterCost(const CodeGenRegisterCost &) = default;179CodeGenRegisterCost &operator=(const CodeGenRegisterCost &) = delete;180};181182/// A processor register file.183///184/// This class describes a processor register file. Register file information is185/// currently consumed by external tools like llvm-mca to predict dispatch186/// stalls due to register pressure.187struct CodeGenRegisterFile {188std::string Name;189Record *RegisterFileDef;190unsigned MaxMovesEliminatedPerCycle;191bool AllowZeroMoveEliminationOnly;192193unsigned NumPhysRegs;194std::vector<CodeGenRegisterCost> Costs;195196CodeGenRegisterFile(StringRef name, Record *def,197unsigned MaxMoveElimPerCy = 0,198bool AllowZeroMoveElimOnly = false)199: Name(name), RegisterFileDef(def),200MaxMovesEliminatedPerCycle(MaxMoveElimPerCy),201AllowZeroMoveEliminationOnly(AllowZeroMoveElimOnly), NumPhysRegs(0) {}202203bool hasDefaultCosts() const { return Costs.empty(); }204};205206// Processor model.207//208// ModelName is a unique name used to name an instantiation of MCSchedModel.209//210// ModelDef is NULL for inferred Models. This happens when a processor defines211// an itinerary but no machine model. If the processor defines neither a machine212// model nor itinerary, then ModelDef remains pointing to NoModel. NoModel has213// the special "NoModel" field set to true.214//215// ItinsDef always points to a valid record definition, but may point to the216// default NoItineraries. NoItineraries has an empty list of InstrItinData217// records.218//219// ItinDefList orders this processor's InstrItinData records by SchedClass idx.220struct CodeGenProcModel {221unsigned Index;222std::string ModelName;223Record *ModelDef;224Record *ItinsDef;225226// Derived members...227228// Array of InstrItinData records indexed by a CodeGenSchedClass index.229// This list is empty if the Processor has no value for Itineraries.230// Initialized by collectProcItins().231RecVec ItinDefList;232233// Map itinerary classes to per-operand resources.234// This list is empty if no ItinRW refers to this Processor.235RecVec ItinRWDefs;236237// List of unsupported feature.238// This list is empty if the Processor has no UnsupportedFeatures.239RecVec UnsupportedFeaturesDefs;240241// All read/write resources associated with this processor.242RecVec WriteResDefs;243RecVec ReadAdvanceDefs;244245// Per-operand machine model resources associated with this processor.246RecVec ProcResourceDefs;247248// List of Register Files.249std::vector<CodeGenRegisterFile> RegisterFiles;250251// Optional Retire Control Unit definition.252Record *RetireControlUnit;253254// Load/Store queue descriptors.255Record *LoadQueue;256Record *StoreQueue;257258CodeGenProcModel(unsigned Idx, std::string Name, Record *MDef, Record *IDef)259: Index(Idx), ModelName(std::move(Name)), ModelDef(MDef), ItinsDef(IDef),260RetireControlUnit(nullptr), LoadQueue(nullptr), StoreQueue(nullptr) {}261262bool hasItineraries() const {263return !ItinsDef->getValueAsListOfDefs("IID").empty();264}265266bool hasInstrSchedModel() const {267return !WriteResDefs.empty() || !ItinRWDefs.empty();268}269270bool hasExtraProcessorInfo() const {271return RetireControlUnit || LoadQueue || StoreQueue ||272!RegisterFiles.empty();273}274275unsigned getProcResourceIdx(Record *PRDef) const;276277bool isUnsupported(const CodeGenInstruction &Inst) const;278279// Return true if the given write record is referenced by a ReadAdvance.280bool hasReadOfWrite(Record *WriteDef) const;281282#ifndef NDEBUG283void dump() const;284#endif285};286287/// Used to correlate instructions to MCInstPredicates specified by288/// InstructionEquivalentClass tablegen definitions.289///290/// Example: a XOR of a register with self, is a known zero-idiom for most291/// X86 processors.292///293/// Each processor can use a (potentially different) InstructionEquivalenceClass294/// definition to classify zero-idioms. That means, XORrr is likely to appear295/// in more than one equivalence class (where each class definition is296/// contributed by a different processor).297///298/// There is no guarantee that the same MCInstPredicate will be used to describe299/// equivalence classes that identify XORrr as a zero-idiom.300///301/// To be more specific, the requirements for being a zero-idiom XORrr may be302/// different for different processors.303///304/// Class PredicateInfo identifies a subset of processors that specify the same305/// requirements (i.e. same MCInstPredicate and OperandMask) for an instruction306/// opcode.307///308/// Back to the example. Field `ProcModelMask` will have one bit set for every309/// processor model that sees XORrr as a zero-idiom, and that specifies the same310/// set of constraints.311///312/// By construction, there can be multiple instances of PredicateInfo associated313/// with a same instruction opcode. For example, different processors may define314/// different constraints on the same opcode.315///316/// Field OperandMask can be used as an extra constraint.317/// It may be used to describe conditions that appy only to a subset of the318/// operands of a machine instruction, and the operands subset may not be the319/// same for all processor models.320struct PredicateInfo {321llvm::APInt ProcModelMask; // A set of processor model indices.322llvm::APInt OperandMask; // An operand mask.323const Record *Predicate; // MCInstrPredicate definition.324PredicateInfo(llvm::APInt CpuMask, llvm::APInt Operands, const Record *Pred)325: ProcModelMask(CpuMask), OperandMask(Operands), Predicate(Pred) {}326327bool operator==(const PredicateInfo &Other) const {328return ProcModelMask == Other.ProcModelMask &&329OperandMask == Other.OperandMask && Predicate == Other.Predicate;330}331};332333/// A collection of PredicateInfo objects.334///335/// There is at least one OpcodeInfo object for every opcode specified by a336/// TIPredicate definition.337class OpcodeInfo {338std::vector<PredicateInfo> Predicates;339340OpcodeInfo(const OpcodeInfo &Other) = delete;341OpcodeInfo &operator=(const OpcodeInfo &Other) = delete;342343public:344OpcodeInfo() = default;345OpcodeInfo &operator=(OpcodeInfo &&Other) = default;346OpcodeInfo(OpcodeInfo &&Other) = default;347348ArrayRef<PredicateInfo> getPredicates() const { return Predicates; }349350void addPredicateForProcModel(const llvm::APInt &CpuMask,351const llvm::APInt &OperandMask,352const Record *Predicate);353};354355/// Used to group together tablegen instruction definitions that are subject356/// to a same set of constraints (identified by an instance of OpcodeInfo).357class OpcodeGroup {358OpcodeInfo Info;359std::vector<const Record *> Opcodes;360361OpcodeGroup(const OpcodeGroup &Other) = delete;362OpcodeGroup &operator=(const OpcodeGroup &Other) = delete;363364public:365OpcodeGroup(OpcodeInfo &&OpInfo) : Info(std::move(OpInfo)) {}366OpcodeGroup(OpcodeGroup &&Other) = default;367368void addOpcode(const Record *Opcode) {369assert(!llvm::is_contained(Opcodes, Opcode) && "Opcode already in set!");370Opcodes.push_back(Opcode);371}372373ArrayRef<const Record *> getOpcodes() const { return Opcodes; }374const OpcodeInfo &getOpcodeInfo() const { return Info; }375};376377/// An STIPredicateFunction descriptor used by tablegen backends to378/// auto-generate the body of a predicate function as a member of tablegen'd379/// class XXXGenSubtargetInfo.380class STIPredicateFunction {381const Record *FunctionDeclaration;382383std::vector<const Record *> Definitions;384std::vector<OpcodeGroup> Groups;385386STIPredicateFunction(const STIPredicateFunction &Other) = delete;387STIPredicateFunction &operator=(const STIPredicateFunction &Other) = delete;388389public:390STIPredicateFunction(const Record *Rec) : FunctionDeclaration(Rec) {}391STIPredicateFunction(STIPredicateFunction &&Other) = default;392393bool isCompatibleWith(const STIPredicateFunction &Other) const {394return FunctionDeclaration == Other.FunctionDeclaration;395}396397void addDefinition(const Record *Def) { Definitions.push_back(Def); }398void addOpcode(const Record *OpcodeRec, OpcodeInfo &&Info) {399if (Groups.empty() ||400Groups.back().getOpcodeInfo().getPredicates() != Info.getPredicates())401Groups.emplace_back(std::move(Info));402Groups.back().addOpcode(OpcodeRec);403}404405StringRef getName() const {406return FunctionDeclaration->getValueAsString("Name");407}408const Record *getDefaultReturnPredicate() const {409return FunctionDeclaration->getValueAsDef("DefaultReturnValue");410}411412const Record *getDeclaration() const { return FunctionDeclaration; }413ArrayRef<const Record *> getDefinitions() const { return Definitions; }414ArrayRef<OpcodeGroup> getGroups() const { return Groups; }415};416417using ProcModelMapTy = DenseMap<const Record *, unsigned>;418419/// Top level container for machine model data.420class CodeGenSchedModels {421RecordKeeper &Records;422const CodeGenTarget &Target;423424// Map dag expressions to Instruction lists.425SetTheory Sets;426427// List of unique processor models.428std::vector<CodeGenProcModel> ProcModels;429430// Map Processor's MachineModel or ProcItin to a CodeGenProcModel index.431ProcModelMapTy ProcModelMap;432433// Per-operand SchedReadWrite types.434std::vector<CodeGenSchedRW> SchedWrites;435std::vector<CodeGenSchedRW> SchedReads;436437// List of unique SchedClasses.438std::vector<CodeGenSchedClass> SchedClasses;439440// Any inferred SchedClass has an index greater than NumInstrSchedClassses.441unsigned NumInstrSchedClasses;442443RecVec ProcResourceDefs;444RecVec ProcResGroups;445446// Map each instruction to its unique SchedClass index considering the447// combination of it's itinerary class, SchedRW list, and InstRW records.448using InstClassMapTy = DenseMap<Record *, unsigned>;449InstClassMapTy InstrClassMap;450451std::vector<STIPredicateFunction> STIPredicates;452std::vector<unsigned> getAllProcIndices() const;453454public:455CodeGenSchedModels(RecordKeeper &RK, const CodeGenTarget &TGT);456457// iterator access to the scheduling classes.458using class_iterator = std::vector<CodeGenSchedClass>::iterator;459using const_class_iterator = std::vector<CodeGenSchedClass>::const_iterator;460class_iterator classes_begin() { return SchedClasses.begin(); }461const_class_iterator classes_begin() const { return SchedClasses.begin(); }462class_iterator classes_end() { return SchedClasses.end(); }463const_class_iterator classes_end() const { return SchedClasses.end(); }464iterator_range<class_iterator> classes() {465return make_range(classes_begin(), classes_end());466}467iterator_range<const_class_iterator> classes() const {468return make_range(classes_begin(), classes_end());469}470iterator_range<class_iterator> explicit_classes() {471return make_range(classes_begin(), classes_begin() + NumInstrSchedClasses);472}473iterator_range<const_class_iterator> explicit_classes() const {474return make_range(classes_begin(), classes_begin() + NumInstrSchedClasses);475}476477Record *getModelOrItinDef(Record *ProcDef) const {478Record *ModelDef = ProcDef->getValueAsDef("SchedModel");479Record *ItinsDef = ProcDef->getValueAsDef("ProcItin");480if (!ItinsDef->getValueAsListOfDefs("IID").empty()) {481assert(ModelDef->getValueAsBit("NoModel") &&482"Itineraries must be defined within SchedMachineModel");483return ItinsDef;484}485return ModelDef;486}487488const CodeGenProcModel &getModelForProc(Record *ProcDef) const {489Record *ModelDef = getModelOrItinDef(ProcDef);490ProcModelMapTy::const_iterator I = ProcModelMap.find(ModelDef);491assert(I != ProcModelMap.end() && "missing machine model");492return ProcModels[I->second];493}494495CodeGenProcModel &getProcModel(Record *ModelDef) {496ProcModelMapTy::const_iterator I = ProcModelMap.find(ModelDef);497assert(I != ProcModelMap.end() && "missing machine model");498return ProcModels[I->second];499}500const CodeGenProcModel &getProcModel(Record *ModelDef) const {501return const_cast<CodeGenSchedModels *>(this)->getProcModel(ModelDef);502}503504// Iterate over the unique processor models.505using ProcIter = std::vector<CodeGenProcModel>::const_iterator;506ProcIter procModelBegin() const { return ProcModels.begin(); }507ProcIter procModelEnd() const { return ProcModels.end(); }508ArrayRef<CodeGenProcModel> procModels() const { return ProcModels; }509510// Return true if any processors have itineraries.511bool hasItineraries() const;512513// Get a SchedWrite from its index.514const CodeGenSchedRW &getSchedWrite(unsigned Idx) const {515assert(Idx < SchedWrites.size() && "bad SchedWrite index");516assert(SchedWrites[Idx].isValid() && "invalid SchedWrite");517return SchedWrites[Idx];518}519// Get a SchedWrite from its index.520const CodeGenSchedRW &getSchedRead(unsigned Idx) const {521assert(Idx < SchedReads.size() && "bad SchedRead index");522assert(SchedReads[Idx].isValid() && "invalid SchedRead");523return SchedReads[Idx];524}525526const CodeGenSchedRW &getSchedRW(unsigned Idx, bool IsRead) const {527return IsRead ? getSchedRead(Idx) : getSchedWrite(Idx);528}529CodeGenSchedRW &getSchedRW(Record *Def) {530bool IsRead = Def->isSubClassOf("SchedRead");531unsigned Idx = getSchedRWIdx(Def, IsRead);532return const_cast<CodeGenSchedRW &>(IsRead ? getSchedRead(Idx)533: getSchedWrite(Idx));534}535const CodeGenSchedRW &getSchedRW(Record *Def) const {536return const_cast<CodeGenSchedModels &>(*this).getSchedRW(Def);537}538539unsigned getSchedRWIdx(const Record *Def, bool IsRead) const;540541// Get a SchedClass from its index.542CodeGenSchedClass &getSchedClass(unsigned Idx) {543assert(Idx < SchedClasses.size() && "bad SchedClass index");544return SchedClasses[Idx];545}546const CodeGenSchedClass &getSchedClass(unsigned Idx) const {547assert(Idx < SchedClasses.size() && "bad SchedClass index");548return SchedClasses[Idx];549}550551// Get the SchedClass index for an instruction. Instructions with no552// itinerary, no SchedReadWrites, and no InstrReadWrites references return 0553// for NoItinerary.554unsigned getSchedClassIdx(const CodeGenInstruction &Inst) const;555556using SchedClassIter = std::vector<CodeGenSchedClass>::const_iterator;557SchedClassIter schedClassBegin() const { return SchedClasses.begin(); }558SchedClassIter schedClassEnd() const { return SchedClasses.end(); }559ArrayRef<CodeGenSchedClass> schedClasses() const { return SchedClasses; }560561unsigned numInstrSchedClasses() const { return NumInstrSchedClasses; }562563void findRWs(const RecVec &RWDefs, IdxVec &Writes, IdxVec &Reads) const;564void findRWs(const RecVec &RWDefs, IdxVec &RWs, bool IsRead) const;565void expandRWSequence(unsigned RWIdx, IdxVec &RWSeq, bool IsRead) const;566void expandRWSeqForProc(unsigned RWIdx, IdxVec &RWSeq, bool IsRead,567const CodeGenProcModel &ProcModel) const;568569unsigned addSchedClass(Record *ItinDef, ArrayRef<unsigned> OperWrites,570ArrayRef<unsigned> OperReads,571ArrayRef<unsigned> ProcIndices);572573unsigned findOrInsertRW(ArrayRef<unsigned> Seq, bool IsRead);574575Record *findProcResUnits(Record *ProcResKind, const CodeGenProcModel &PM,576ArrayRef<SMLoc> Loc) const;577578ArrayRef<STIPredicateFunction> getSTIPredicates() const {579return STIPredicates;580}581582private:583void collectProcModels();584585// Initialize a new processor model if it is unique.586void addProcModel(Record *ProcDef);587588void collectSchedRW();589590std::string genRWName(ArrayRef<unsigned> Seq, bool IsRead);591unsigned findRWForSequence(ArrayRef<unsigned> Seq, bool IsRead);592593void collectSchedClasses();594595void collectRetireControlUnits();596597void collectRegisterFiles();598599void collectOptionalProcessorInfo();600601std::string createSchedClassName(Record *ItinClassDef,602ArrayRef<unsigned> OperWrites,603ArrayRef<unsigned> OperReads);604std::string createSchedClassName(const RecVec &InstDefs);605void createInstRWClass(Record *InstRWDef);606607void collectProcItins();608609void collectProcItinRW();610611void collectProcUnsupportedFeatures();612613void inferSchedClasses();614615void checkMCInstPredicates() const;616617void checkSTIPredicates() const;618619void collectSTIPredicates();620621void collectLoadStoreQueueInfo();622623void checkCompleteness();624625void inferFromRW(ArrayRef<unsigned> OperWrites, ArrayRef<unsigned> OperReads,626unsigned FromClassIdx, ArrayRef<unsigned> ProcIndices);627void inferFromItinClass(Record *ItinClassDef, unsigned FromClassIdx);628void inferFromInstRWs(unsigned SCIdx);629630bool hasSuperGroup(RecVec &SubUnits, CodeGenProcModel &PM);631void verifyProcResourceGroups(CodeGenProcModel &PM);632633void collectProcResources();634635void collectItinProcResources(Record *ItinClassDef);636637void collectRWResources(unsigned RWIdx, bool IsRead,638ArrayRef<unsigned> ProcIndices);639640void collectRWResources(ArrayRef<unsigned> Writes, ArrayRef<unsigned> Reads,641ArrayRef<unsigned> ProcIndices);642643void addProcResource(Record *ProcResourceKind, CodeGenProcModel &PM,644ArrayRef<SMLoc> Loc);645646void addWriteRes(Record *ProcWriteResDef, unsigned PIdx);647648void addReadAdvance(Record *ProcReadAdvanceDef, unsigned PIdx);649};650651} // namespace llvm652653#endif654655656