1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[typo] An LLVM.

llvm-svn: 188589
This commit is contained in:
Daniel Dunbar 2013-08-16 23:30:19 +00:00
parent 4a69818916
commit 657fb30f68
9 changed files with 19 additions and 19 deletions

View File

@ -79,7 +79,7 @@ D
Because LLVM bitcode files typically contain objects that are not considered to Because LLVM bitcode files typically contain objects that are not considered to
have addresses until they are linked into an executable image or dynamically have addresses until they are linked into an executable image or dynamically
compiled "just-in-time", :program:`llvm-nm` does not print an address for any compiled "just-in-time", :program:`llvm-nm` does not print an address for any
symbol in a LLVM bitcode file, even symbols which are defined in the bitcode symbol in an LLVM bitcode file, even symbols which are defined in the bitcode
file. file.

View File

@ -1312,7 +1312,7 @@ Example with clang
Clang works just like GCC by default. The standard -S and -c arguments Clang works just like GCC by default. The standard -S and -c arguments
work as usual (producing a native .s or .o file, respectively). work as usual (producing a native .s or .o file, respectively).
#. Next, compile the C file into a LLVM bitcode file: #. Next, compile the C file into an LLVM bitcode file:
.. code-block:: console .. code-block:: console

View File

@ -164,7 +164,7 @@ An Example Using the LLVM Tool Chain
return 0; return 0;
} }
2. Next, compile the C file into a LLVM bitcode file: 2. Next, compile the C file into an LLVM bitcode file:
.. code-block:: bat .. code-block:: bat

View File

@ -132,6 +132,6 @@ is supposed to be cache-line-aligned, but it is not page-aligned.
We generate instrumentation traces and optimized traces into separate We generate instrumentation traces and optimized traces into separate
trace caches. We keep the instrumented code around because you don't trace caches. We keep the instrumented code around because you don't
want to delete a trace when you still might have to return to it want to delete a trace when you still might have to return to it
(i.e., return from a llvm_first_trigger() or countPath() call.) (i.e., return from an llvm_first_trigger() or countPath() call.)

View File

@ -408,7 +408,7 @@ some time format (e.g. 4-May-2012 10:30pm). YAML I/O has a way to support
custom formatting and parsing of scalar types by specializing ScalarTraits<> on custom formatting and parsing of scalar types by specializing ScalarTraits<> on
your data type. When writing, YAML I/O will provide the native type and your data type. When writing, YAML I/O will provide the native type and
your specialization must create a temporary llvm::StringRef. When reading, your specialization must create a temporary llvm::StringRef. When reading,
YAML I/O will provide a llvm::StringRef of scalar and your specialization YAML I/O will provide an llvm::StringRef of scalar and your specialization
must convert that to your native data type. An outline of a custom scalar type must convert that to your native data type. An outline of a custom scalar type
looks like: looks like:

View File

@ -460,7 +460,7 @@ unsigned LLVMGetMDKindID(const char* Name, unsigned SLen);
/** /**
* @defgroup LLVMCCoreModule Modules * @defgroup LLVMCCoreModule Modules
* *
* Modules represent the top-level structure in a LLVM program. An LLVM * Modules represent the top-level structure in an LLVM program. An LLVM
* module is effectively a translation unit or a collection of * module is effectively a translation unit or a collection of
* translation units merged together. * translation units merged together.
* *
@ -1041,7 +1041,7 @@ LLVMTypeRef LLVMX86MMXType(void);
* hierarchy of classes within this type. Depending on the instance * hierarchy of classes within this type. Depending on the instance
* obtained, not all APIs are available. * obtained, not all APIs are available.
* *
* Callers can determine the type of a LLVMValueRef by calling the * Callers can determine the type of an LLVMValueRef by calling the
* LLVMIsA* family of functions (e.g. LLVMIsAArgument()). These * LLVMIsA* family of functions (e.g. LLVMIsAArgument()). These
* functions are defined by a macro, so it isn't obvious which are * functions are defined by a macro, so it isn't obvious which are
* available by looking at the Doxygen source code. Instead, look at the * available by looking at the Doxygen source code. Instead, look at the
@ -1181,7 +1181,7 @@ LLVMBool LLVMIsUndef(LLVMValueRef Val);
/** /**
* Convert value instances between types. * Convert value instances between types.
* *
* Internally, a LLVMValueRef is "pinned" to a specific type. This * Internally, an LLVMValueRef is "pinned" to a specific type. This
* series of functions allows you to cast an instance to a specific * series of functions allows you to cast an instance to a specific
* type. * type.
* *
@ -1203,7 +1203,7 @@ LLVM_FOR_EACH_VALUE_SUBCLASS(LLVM_DECLARE_VALUE_CAST)
* This module defines functions that allow you to inspect the uses of a * This module defines functions that allow you to inspect the uses of a
* LLVMValueRef. * LLVMValueRef.
* *
* It is possible to obtain a LLVMUseRef for any LLVMValueRef instance. * It is possible to obtain an LLVMUseRef for any LLVMValueRef instance.
* Each LLVMUseRef (which corresponds to a llvm::Use instance) holds a * Each LLVMUseRef (which corresponds to a llvm::Use instance) holds a
* llvm::User and llvm::Value. * llvm::User and llvm::Value.
* *
@ -1806,7 +1806,7 @@ LLVMValueRef LLVMGetParam(LLVMValueRef Fn, unsigned Index);
/** /**
* Obtain the function to which this argument belongs. * Obtain the function to which this argument belongs.
* *
* Unlike other functions in this group, this one takes a LLVMValueRef * Unlike other functions in this group, this one takes an LLVMValueRef
* that corresponds to a llvm::Attribute. * that corresponds to a llvm::Attribute.
* *
* The returned LLVMValueRef is the llvm::Function to which this * The returned LLVMValueRef is the llvm::Function to which this
@ -1831,7 +1831,7 @@ LLVMValueRef LLVMGetLastParam(LLVMValueRef Fn);
/** /**
* Obtain the next parameter to a function. * Obtain the next parameter to a function.
* *
* This takes a LLVMValueRef obtained from LLVMGetFirstParam() (which is * This takes an LLVMValueRef obtained from LLVMGetFirstParam() (which is
* actually a wrapped iterator) and obtains the next parameter from the * actually a wrapped iterator) and obtains the next parameter from the
* underlying iterator. * underlying iterator.
*/ */
@ -1980,12 +1980,12 @@ void LLVMGetMDNodeOperands(LLVMValueRef V, LLVMValueRef *Dest);
LLVMValueRef LLVMBasicBlockAsValue(LLVMBasicBlockRef BB); LLVMValueRef LLVMBasicBlockAsValue(LLVMBasicBlockRef BB);
/** /**
* Determine whether a LLVMValueRef is itself a basic block. * Determine whether an LLVMValueRef is itself a basic block.
*/ */
LLVMBool LLVMValueIsBasicBlock(LLVMValueRef Val); LLVMBool LLVMValueIsBasicBlock(LLVMValueRef Val);
/** /**
* Convert a LLVMValueRef to a LLVMBasicBlockRef instance. * Convert an LLVMValueRef to an LLVMBasicBlockRef instance.
*/ */
LLVMBasicBlockRef LLVMValueAsBasicBlock(LLVMValueRef Val); LLVMBasicBlockRef LLVMValueAsBasicBlock(LLVMValueRef Val);
@ -2142,7 +2142,7 @@ LLVMValueRef LLVMGetFirstInstruction(LLVMBasicBlockRef BB);
/** /**
* Obtain the last instruction in a basic block. * Obtain the last instruction in a basic block.
* *
* The returned LLVMValueRef corresponds to a LLVM:Instruction. * The returned LLVMValueRef corresponds to an LLVM:Instruction.
*/ */
LLVMValueRef LLVMGetLastInstruction(LLVMBasicBlockRef BB); LLVMValueRef LLVMGetLastInstruction(LLVMBasicBlockRef BB);
@ -2324,12 +2324,12 @@ void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues,
unsigned LLVMCountIncoming(LLVMValueRef PhiNode); unsigned LLVMCountIncoming(LLVMValueRef PhiNode);
/** /**
* Obtain an incoming value to a PHI node as a LLVMValueRef. * Obtain an incoming value to a PHI node as an LLVMValueRef.
*/ */
LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index); LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index);
/** /**
* Obtain an incoming value to a PHI node as a LLVMBasicBlockRef. * Obtain an incoming value to a PHI node as an LLVMBasicBlockRef.
*/ */
LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index); LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index);

View File

@ -57,7 +57,7 @@ class MachineRelocation {
union { union {
void *Result; // If this has been resolved to a resolved pointer void *Result; // If this has been resolved to a resolved pointer
GlobalValue *GV; // If this is a pointer to a GV or an indirect ref. GlobalValue *GV; // If this is a pointer to a GV or an indirect ref.
MachineBasicBlock *MBB; // If this is a pointer to a LLVM BB MachineBasicBlock *MBB; // If this is a pointer to an LLVM BB
const char *ExtSym; // If this is a pointer to a named symbol const char *ExtSym; // If this is a pointer to a named symbol
unsigned Index; // Constant pool / jump table index unsigned Index; // Constant pool / jump table index
unsigned GOTIndex; // Index in the GOT of this symbol/global unsigned GOTIndex; // Index in the GOT of this symbol/global

View File

@ -44,7 +44,7 @@ namespace llvm {
virtual bool isAliased(const MachineFrameInfo *) const; virtual bool isAliased(const MachineFrameInfo *) const;
/// mayAlias - Return true if the memory pointed to by this /// mayAlias - Return true if the memory pointed to by this
/// PseudoSourceValue can ever alias a LLVM IR Value. /// PseudoSourceValue can ever alias an LLVM IR Value.
virtual bool mayAlias(const MachineFrameInfo *) const; virtual bool mayAlias(const MachineFrameInfo *) const;
/// classof - Methods for support type inquiry through isa, cast, and /// classof - Methods for support type inquiry through isa, cast, and

View File

@ -20,7 +20,7 @@ namespace llvm {
class raw_ostream; class raw_ostream;
/// emitSourceFileHeader - Output a LLVM style file header to the specified /// emitSourceFileHeader - Output an LLVM style file header to the specified
/// raw_ostream. /// raw_ostream.
void emitSourceFileHeader(StringRef Desc, raw_ostream &OS); void emitSourceFileHeader(StringRef Desc, raw_ostream &OS);