parent
1a6a58caf5
commit
ff35c338dc
|
@ -1650,14 +1650,14 @@ class DIModule : public DIScope {
|
||||||
StorageType Storage, bool ShouldCreate = true) {
|
StorageType Storage, bool ShouldCreate = true) {
|
||||||
return getImpl(Context, Scope, getCanonicalMDString(Context, Name),
|
return getImpl(Context, Scope, getCanonicalMDString(Context, Name),
|
||||||
getCanonicalMDString(Context, ConfigurationMacros),
|
getCanonicalMDString(Context, ConfigurationMacros),
|
||||||
getCanonicalMDString(Context, IncludePath),
|
getCanonicalMDString(Context, IncludePath),
|
||||||
getCanonicalMDString(Context, ISysRoot),
|
getCanonicalMDString(Context, ISysRoot),
|
||||||
Storage, ShouldCreate);
|
Storage, ShouldCreate);
|
||||||
}
|
}
|
||||||
static DIModule *getImpl(LLVMContext &Context, Metadata *Scope,
|
static DIModule *getImpl(LLVMContext &Context, Metadata *Scope,
|
||||||
MDString *Name, MDString *ConfigurationMacros,
|
MDString *Name, MDString *ConfigurationMacros,
|
||||||
MDString *IncludePath, MDString *ISysRoot,
|
MDString *IncludePath, MDString *ISysRoot,
|
||||||
StorageType Storage, bool ShouldCreate = true);
|
StorageType Storage, bool ShouldCreate = true);
|
||||||
|
|
||||||
TempDIModule cloneImpl() const {
|
TempDIModule cloneImpl() const {
|
||||||
return getTemporary(getContext(), getScope(), getName(),
|
return getTemporary(getContext(), getScope(), getName(),
|
||||||
|
@ -1667,12 +1667,12 @@ class DIModule : public DIScope {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DEFINE_MDNODE_GET(DIModule, (DIScope *Scope, StringRef Name,
|
DEFINE_MDNODE_GET(DIModule, (DIScope *Scope, StringRef Name,
|
||||||
StringRef ConfigurationMacros, StringRef IncludePath,
|
StringRef ConfigurationMacros, StringRef IncludePath,
|
||||||
StringRef ISysRoot),
|
StringRef ISysRoot),
|
||||||
(Scope, Name, ConfigurationMacros, IncludePath, ISysRoot))
|
(Scope, Name, ConfigurationMacros, IncludePath, ISysRoot))
|
||||||
DEFINE_MDNODE_GET(DIModule,
|
DEFINE_MDNODE_GET(DIModule,
|
||||||
(Metadata *Scope, MDString *Name, MDString *ConfigurationMacros,
|
(Metadata *Scope, MDString *Name, MDString *ConfigurationMacros,
|
||||||
MDString *IncludePath, MDString *ISysRoot),
|
MDString *IncludePath, MDString *ISysRoot),
|
||||||
(Scope, Name, ConfigurationMacros, IncludePath, ISysRoot))
|
(Scope, Name, ConfigurationMacros, IncludePath, ISysRoot))
|
||||||
|
|
||||||
TempDIModule clone() const { return cloneImpl(); }
|
TempDIModule clone() const { return cloneImpl(); }
|
||||||
|
|
|
@ -55,7 +55,7 @@ inline bool operator==(const MCTargetOptions &LHS, const MCTargetOptions &RHS) {
|
||||||
ARE_EQUAL(ShowMCInst) &&
|
ARE_EQUAL(ShowMCInst) &&
|
||||||
ARE_EQUAL(AsmVerbose) &&
|
ARE_EQUAL(AsmVerbose) &&
|
||||||
ARE_EQUAL(DwarfVersion) &&
|
ARE_EQUAL(DwarfVersion) &&
|
||||||
ARE_EQUAL(ABIName));
|
ARE_EQUAL(ABIName));
|
||||||
#undef ARE_EQUAL
|
#undef ARE_EQUAL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1014,7 +1014,7 @@ class InstAlias<string Asm, dag Result, int Emit = 1> {
|
||||||
// Predicates - Predicates that must be true for this to match.
|
// Predicates - Predicates that must be true for this to match.
|
||||||
list<Predicate> Predicates = [];
|
list<Predicate> Predicates = [];
|
||||||
|
|
||||||
// If the instruction specified in Result has defined an AsmMatchConverter
|
// If the instruction specified in Result has defined an AsmMatchConverter
|
||||||
// then setting this to 1 will cause the alias to use the AsmMatchConverter
|
// then setting this to 1 will cause the alias to use the AsmMatchConverter
|
||||||
// function when converting the OperandVector into an MCInst instead of the
|
// function when converting the OperandVector into an MCInst instead of the
|
||||||
// function that is generated by the dag Result.
|
// function that is generated by the dag Result.
|
||||||
|
|
Loading…
Reference in New Issue