How to define a pointer in LLVM class?
A pointer to the array of Types contained by this Type. More… Class to represent pointers. Definition on line 634 of the DerivedTypes.h file. Implement support type query via isa, cast and dyn_cast. Definition on line 700 of the DerivedTypes.h file. This builds an opaque pointer to an object in a numbered address space.
Table of Contents
What is the reference to a string in LLVM?
StringRef – Represents a constant reference to a string, that is, an array of characters and a length, which need not be null terminated. This class does not own the string data, it is expected to be used in situations where the character data resides in some other buffer, the lifetime of which extends beyond that of StringRef.
Where can I find the LLVM programmer’s manual?
LLVM Programmer’s Guide: LLVM 8 Documentation Next Navigation Index| previous| LLVM Home | Documentation» LLVM Programmer’s Guide¶ Introduction Overview The C++ Standard Template Library Other Useful References Important and Useful LLVM APIs The isa<>, cast<>and dyn_cast<>templates Passing Strings (the StringRef and Twine classes)
What is the class hierarchy in LLVM 8?
The main LLVM class hierarchy reference The type class and derived types Important public methods Important derived types The module class Important public members of the module class The value class Important public members of the value class
How to get the ID of an LLVM function?
Intrinsic::ID getIntrinsicID() constLLVM_READONLY getIntrinsicID – This method returns the ID number of the specified function, or Intrinsic::not_intrinsic, if the function is not an intrinsic or if the pointer is null.
When to return true in LLVM function class reference?
isVarArg – Returns true if this function takes a variable number of arguments. More… getIntrinsicID – This method returns the ID number of the specified function, or Intrinsic::not_intrinsic if the function is not an intrinsic or if the pointer is null. More… isIntrinsic – Returns true if the function name starts with “llvm”. Plus…
How to get callinst class reference in LLVM?
Returns the called function, or null if it is an indirect function invocation. More… Returns true if the call site is an indirect call. More… Determine if the passed iterator points to the usage of the called operand. More… Determine if this Usage is the Usage of the called operand. More… Helper to get the call (the main function). Plus…