forked from OSchip/llvm-project
parent
8b14242fe5
commit
57f30bce64
|
@ -197,7 +197,7 @@ LLVMMCJITMemoryManagerRef LLVMCreateSimpleMCJITMemoryManager(
|
||||||
LLVMMemoryManagerAllocateCodeSectionCallback AllocateCodeSection,
|
LLVMMemoryManagerAllocateCodeSectionCallback AllocateCodeSection,
|
||||||
LLVMMemoryManagerAllocateDataSectionCallback AllocateDataSection,
|
LLVMMemoryManagerAllocateDataSectionCallback AllocateDataSection,
|
||||||
LLVMMemoryManagerFinalizeMemoryCallback FinalizeMemory,
|
LLVMMemoryManagerFinalizeMemoryCallback FinalizeMemory,
|
||||||
LLVMMemoryManagerDestroyCallback Destory);
|
LLVMMemoryManagerDestroyCallback Destroy);
|
||||||
|
|
||||||
void LLVMDisposeMCJITMemoryManager(LLVMMCJITMemoryManagerRef MM);
|
void LLVMDisposeMCJITMemoryManager(LLVMMCJITMemoryManagerRef MM);
|
||||||
|
|
||||||
|
|
|
@ -314,7 +314,7 @@ public:
|
||||||
SK_ExtractSubvector ///< ExtractSubvector Index indicates start offset.
|
SK_ExtractSubvector ///< ExtractSubvector Index indicates start offset.
|
||||||
};
|
};
|
||||||
|
|
||||||
/// \brief Additonal information about an operand's possible values.
|
/// \brief Additional information about an operand's possible values.
|
||||||
enum OperandValueKind {
|
enum OperandValueKind {
|
||||||
OK_AnyValue, // Operand can have any value.
|
OK_AnyValue, // Operand can have any value.
|
||||||
OK_UniformValue, // Operand is uniform (splat of a value).
|
OK_UniformValue, // Operand is uniform (splat of a value).
|
||||||
|
|
|
@ -150,7 +150,7 @@ FloatABIForCalls("float-abi",
|
||||||
|
|
||||||
cl::opt<llvm::FPOpFusion::FPOpFusionMode>
|
cl::opt<llvm::FPOpFusion::FPOpFusionMode>
|
||||||
FuseFPOps("fp-contract",
|
FuseFPOps("fp-contract",
|
||||||
cl::desc("Enable aggresive formation of fused FP ops"),
|
cl::desc("Enable aggressive formation of fused FP ops"),
|
||||||
cl::init(FPOpFusion::Standard),
|
cl::init(FPOpFusion::Standard),
|
||||||
cl::values(
|
cl::values(
|
||||||
clEnumValN(FPOpFusion::Fast, "fast",
|
clEnumValN(FPOpFusion::Fast, "fast",
|
||||||
|
|
|
@ -406,7 +406,7 @@ namespace llvm {
|
||||||
void Deallocate(void *Ptr) {
|
void Deallocate(void *Ptr) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unrecoverable error has occured. Display the best diagnostic we can
|
// Unrecoverable error has occurred. Display the best diagnostic we can
|
||||||
// and bail via exit(1). For now, most MC backend errors are unrecoverable.
|
// and bail via exit(1). For now, most MC backend errors are unrecoverable.
|
||||||
// FIXME: We should really do something about that.
|
// FIXME: We should really do something about that.
|
||||||
LLVM_ATTRIBUTE_NORETURN void FatalError(SMLoc L, const Twine &Msg);
|
LLVM_ATTRIBUTE_NORETURN void FatalError(SMLoc L, const Twine &Msg);
|
||||||
|
|
|
@ -124,7 +124,7 @@ struct MCSchedClassDesc {
|
||||||
/// microarchitecture to the scheduler in the form of properties. It also
|
/// microarchitecture to the scheduler in the form of properties. It also
|
||||||
/// optionally refers to scheduler resource tables and itinerary
|
/// optionally refers to scheduler resource tables and itinerary
|
||||||
/// tables. Scheduler resource tables model the latency and cost for each
|
/// tables. Scheduler resource tables model the latency and cost for each
|
||||||
/// instruction type. Itinerary tables are an independant mechanism that
|
/// instruction type. Itinerary tables are an independent mechanism that
|
||||||
/// provides a detailed reservation table describing each cycle of instruction
|
/// provides a detailed reservation table describing each cycle of instruction
|
||||||
/// execution. Subtargets may define any or all of the above categories of data
|
/// execution. Subtargets may define any or all of the above categories of data
|
||||||
/// depending on the type of CPU and selected scheduler.
|
/// depending on the type of CPU and selected scheduler.
|
||||||
|
|
|
@ -34,7 +34,7 @@ struct ErrorHolderBase {
|
||||||
|
|
||||||
ErrorHolderBase() : RefCount(1) {}
|
ErrorHolderBase() : RefCount(1) {}
|
||||||
|
|
||||||
void aquire() {
|
void acquire() {
|
||||||
++RefCount;
|
++RefCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -308,7 +308,7 @@ private:
|
||||||
// Get other's error.
|
// Get other's error.
|
||||||
Error = Other.Error;
|
Error = Other.Error;
|
||||||
HasError = true;
|
HasError = true;
|
||||||
Error->aquire();
|
Error->acquire();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -437,7 +437,7 @@ public:
|
||||||
ErrorOr(const ErrorOr &Other) : Error(0, 0) {
|
ErrorOr(const ErrorOr &Other) : Error(0, 0) {
|
||||||
Error = Other.Error;
|
Error = Other.Error;
|
||||||
if (Other.Error.getPointer()->Error) {
|
if (Other.Error.getPointer()->Error) {
|
||||||
Error.getPointer()->aquire();
|
Error.getPointer()->acquire();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -732,7 +732,7 @@ public:
|
||||||
/// should begin. Must be a multiple of
|
/// should begin. Must be a multiple of
|
||||||
/// mapped_file_region::alignment().
|
/// mapped_file_region::alignment().
|
||||||
/// \param ec This is set to errc::success if the map was constructed
|
/// \param ec This is set to errc::success if the map was constructed
|
||||||
/// sucessfully. Otherwise it is set to a platform dependent error.
|
/// successfully. Otherwise it is set to a platform dependent error.
|
||||||
mapped_file_region(const Twine &path,
|
mapped_file_region(const Twine &path,
|
||||||
mapmode mode,
|
mapmode mode,
|
||||||
uint64_t length,
|
uint64_t length,
|
||||||
|
|
|
@ -694,7 +694,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/// IntInit - 7 - Represent an initalization by a literal integer value.
|
/// IntInit - 7 - Represent an initialization by a literal integer value.
|
||||||
///
|
///
|
||||||
class IntInit : public TypedInit {
|
class IntInit : public TypedInit {
|
||||||
int64_t Value;
|
int64_t Value;
|
||||||
|
|
Loading…
Reference in New Issue