MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / getBaseRecord

Method getBaseRecord

imperative/tablegen/helper.h:54–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 const llvm::Record* getBaseRecord() const {
55 auto baseAttr = getBaseAttr();
56 return llvm::cast<RecordVisitor>(baseAttr).getDef();
57 }
58 llvm::StringRef getUnderlyingType() const {
59 return def->getValueAsString("underlyingType");
60 }

Callers 3

EnumAttrEmitterMethod · 0.80
emitMethod · 0.80

Calls 1

getDefMethod · 0.80

Tested by

no test coverage detected