LLVM API Documentation
#include "llvm/IR/Function.h"
#include "LLVMContextImpl.h"
#include "SymbolTableListTraitsImpl.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/IR/CallSite.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/LeakDetector.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/RWMutex.h"
#include "llvm/Support/StringPool.h"
#include "llvm/Support/Threading.h"
#include "llvm/IR/Intrinsics.gen"
Go to the source code of this file.
#define GET_FUNCTION_RECOGNIZER |
#define GET_INTRINSIC_ATTRIBUTES |
This defines the "Intrinsic::getAttributes(ID id)" method.
Definition at line 747 of file Function.cpp.
#define GET_INTRINSIC_GENERATOR_GLOBAL |
Definition at line 630 of file Function.cpp.
#define GET_INTRINSIC_NAME_TABLE |
#define GET_INTRINSIC_OVERLOAD_TABLE |
Definition at line 760 of file Function.cpp.
Definition at line 765 of file Function.cpp.
enum IIT_Info |
IIT_Info - These are enumerators that describe the entries returned by the getIntrinsicInfoTableEntries function.
NOTE: This must be kept in synch with the copy in TblGen/IntrinsicEmitter!
Definition at line 476 of file Function.cpp.
static Type* DecodeFixedType | ( | ArrayRef< Intrinsic::IITDescriptor > & | Infos, |
ArrayRef< Type * > | Tys, | ||
LLVMContext & | Context | ||
) | [static] |
Definition at line 668 of file Function.cpp.
References llvm::Intrinsic::IITDescriptor::Argument, llvm::Intrinsic::IITDescriptor::Double, llvm::Intrinsic::IITDescriptor::ExtendArgument, llvm::Intrinsic::IITDescriptor::Float, llvm::ArrayRef< T >::front(), llvm::IntegerType::get(), llvm::StructType::get(), llvm::VectorType::get(), llvm::PointerType::get(), getBitWidth(), llvm::IntegerType::getBitWidth(), llvm::Type::getDoubleTy(), llvm::VectorType::getExtendedElementVectorType(), llvm::Type::getFloatTy(), llvm::VectorType::getHalfElementsVectorType(), llvm::Type::getHalfTy(), llvm::Type::getMetadataTy(), llvm::VectorType::getTruncatedElementVectorType(), llvm::Type::getVoidTy(), llvm::Type::getX86_MMXTy(), llvm::Intrinsic::IITDescriptor::Half, llvm::Intrinsic::IITDescriptor::HalfVecArgument, llvm::Intrinsic::IITDescriptor::Integer, llvm_unreachable, llvm::makeArrayRef(), llvm::Intrinsic::IITDescriptor::Metadata, llvm::Intrinsic::IITDescriptor::MMX, llvm::Intrinsic::IITDescriptor::Pointer, llvm::ArrayRef< T >::slice(), llvm::Intrinsic::IITDescriptor::Struct, llvm::Intrinsic::IITDescriptor::TruncArgument, llvm::Intrinsic::IITDescriptor::VarArg, llvm::Intrinsic::IITDescriptor::Vector, and llvm::Intrinsic::IITDescriptor::Void.
Referenced by llvm::Intrinsic::getType().
static void DecodeIITType | ( | unsigned & | NextElt, |
ArrayRef< unsigned char > | Infos, | ||
SmallVectorImpl< Intrinsic::IITDescriptor > & | OutputTable | ||
) | [static] |
Definition at line 512 of file Function.cpp.
References llvm::Intrinsic::IITDescriptor::Argument, llvm::Intrinsic::IITDescriptor::Double, llvm::Intrinsic::IITDescriptor::ExtendArgument, llvm::Intrinsic::IITDescriptor::Float, llvm::Intrinsic::IITDescriptor::get(), llvm::Intrinsic::IITDescriptor::Half, llvm::Intrinsic::IITDescriptor::HalfVecArgument, IIT_ANYPTR, IIT_ARG, IIT_Done, IIT_EMPTYSTRUCT, IIT_EXTEND_ARG, IIT_F16, IIT_F32, IIT_F64, IIT_HALF_VEC_ARG, IIT_I1, IIT_I16, IIT_I32, IIT_I64, IIT_I8, IIT_METADATA, IIT_MMX, IIT_PTR, IIT_STRUCT2, IIT_STRUCT3, IIT_STRUCT4, IIT_STRUCT5, IIT_TRUNC_ARG, IIT_V1, IIT_V16, IIT_V2, IIT_V32, IIT_V4, IIT_V8, IIT_VARARG, llvm::Intrinsic::IITDescriptor::Integer, llvm_unreachable, llvm::Intrinsic::IITDescriptor::Metadata, llvm::Intrinsic::IITDescriptor::MMX, llvm::Intrinsic::IITDescriptor::Pointer, llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back(), llvm::ArrayRef< T >::size(), llvm::Intrinsic::IITDescriptor::Struct, llvm::Intrinsic::IITDescriptor::TruncArgument, llvm::Intrinsic::IITDescriptor::VarArg, llvm::Intrinsic::IITDescriptor::Vector, and llvm::Intrinsic::IITDescriptor::Void.
Referenced by llvm::Intrinsic::getIntrinsicInfoTableEntries().
ManagedStatic<sys::SmartRWMutex<true> > GCLock [static] |
Definition at line 357 of file Function.cpp.
Referenced by llvm::Function::clearGC(), llvm::Function::getGC(), llvm::Function::hasGC(), and llvm::Function::setGC().
StringPool* GCNamePool [static] |
Definition at line 356 of file Function.cpp.
Referenced by llvm::Function::clearGC(), and llvm::Function::setGC().
DenseMap<const Function*,PooledStringPtr>* GCNames [static] |
Definition at line 355 of file Function.cpp.
Referenced by llvm::Function::clearGC(), llvm::Function::hasGC(), and llvm::Function::setGC().