forked from OSchip/llvm-project
parent
8b14242fe5
commit
57f30bce64
|
@ -197,7 +197,7 @@ LLVMMCJITMemoryManagerRef LLVMCreateSimpleMCJITMemoryManager(
|
|||
LLVMMemoryManagerAllocateCodeSectionCallback AllocateCodeSection,
|
||||
LLVMMemoryManagerAllocateDataSectionCallback AllocateDataSection,
|
||||
LLVMMemoryManagerFinalizeMemoryCallback FinalizeMemory,
|
||||
LLVMMemoryManagerDestroyCallback Destory);
|
||||
LLVMMemoryManagerDestroyCallback Destroy);
|
||||
|
||||
void LLVMDisposeMCJITMemoryManager(LLVMMCJITMemoryManagerRef MM);
|
||||
|
||||
|
|
|
@ -314,7 +314,7 @@ public:
|
|||
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 {
|
||||
OK_AnyValue, // Operand can have any value.
|
||||
OK_UniformValue, // Operand is uniform (splat of a value).
|
||||
|
|
|
@ -150,7 +150,7 @@ FloatABIForCalls("float-abi",
|
|||
|
||||
cl::opt<llvm::FPOpFusion::FPOpFusionMode>
|
||||
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::values(
|
||||
clEnumValN(FPOpFusion::Fast, "fast",
|
||||
|
|
|
@ -406,7 +406,7 @@ namespace llvm {
|
|||
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.
|
||||
// FIXME: We should really do something about that.
|
||||
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
|
||||
/// optionally refers to scheduler resource tables and itinerary
|
||||
/// 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
|
||||
/// execution. Subtargets may define any or all of the above categories of data
|
||||
/// depending on the type of CPU and selected scheduler.
|
||||
|
|
|
@ -34,7 +34,7 @@ struct ErrorHolderBase {
|
|||
|
||||
ErrorHolderBase() : RefCount(1) {}
|
||||
|
||||
void aquire() {
|
||||
void acquire() {
|
||||
++RefCount;
|
||||
}
|
||||
|
||||
|
@ -308,7 +308,7 @@ private:
|
|||
// Get other's error.
|
||||
Error = Other.Error;
|
||||
HasError = true;
|
||||
Error->aquire();
|
||||
Error->acquire();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -437,7 +437,7 @@ public:
|
|||
ErrorOr(const ErrorOr &Other) : Error(0, 0) {
|
||||
Error = Other.Error;
|
||||
if (Other.Error.getPointer()->Error) {
|
||||
Error.getPointer()->aquire();
|
||||
Error.getPointer()->acquire();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -732,7 +732,7 @@ public:
|
|||
/// should begin. Must be a multiple of
|
||||
/// mapped_file_region::alignment().
|
||||
/// \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,
|
||||
mapmode mode,
|
||||
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 {
|
||||
int64_t Value;
|
||||
|
|
Loading…
Reference in New Issue