Searched refs:LLVMContext (Results 1 - 25 of 300) sorted by relevance

1234567891011>>

/external/llvm/include/llvm/AsmParser/
H A DParser.h24 class LLVMContext;
35 LLVMContext &Context ///< Context in which to allocate globals info.
48 LLVMContext &Context
59 LLVMContext &Context
/external/llvm/include/llvm/IRReader/
H A DIRReader.h25 class LLVMContext;
32 LLVMContext &Context);
37 Module *ParseIR(MemoryBuffer *Buffer, SMDiagnostic &Err, LLVMContext &Context);
43 LLVMContext &Context);
/external/llvm/include/llvm/IR/
H A DLLVMContext.h1 //===-- llvm/LLVMContext.h - Class for managing "global" state --*- C++ -*-===//
10 // This file declares LLVMContext, a container of "global" state in LLVM, such
38 /// LLVMContext itself provides no locking guarantees, so you should be careful
40 class LLVMContext { class in namespace:llvm
43 LLVMContext();
44 ~LLVMContext();
59 /// This ID is uniqued across modules in the current LLVMContext.
63 /// custom metadata IDs registered in this LLVMContext.
71 /// \see LLVMContext::setDiagnosticHandler.
72 /// \see LLVMContext
[all...]
H A DDebugLoc.h23 class LLVMContext;
54 /// decoded by LLVMContext. 0 is unknown.
83 MDNode *getScope(const LLVMContext &Ctx) const;
87 MDNode *getInlinedAt(const LLVMContext &Ctx) const;
91 const LLVMContext &Ctx) const;
94 MDNode *getScopeNode(const LLVMContext &Ctx) const;
98 DebugLoc getFnDebugLoc(const LLVMContext &Ctx) const;
102 MDNode *getAsMDNode(const LLVMContext &Ctx) const;
109 void dump(const LLVMContext &Ctx) const;
111 void print(const LLVMContext
[all...]
H A DType.h32 class LLVMContext;
78 /// Context - This refers to the LLVMContext in which this type was uniqued.
79 LLVMContext &Context;
89 explicit Type(LLVMContext &C, TypeID tid)
124 /// getContext - Return the LLVMContext in which this type was uniqued.
125 LLVMContext &getContext() const { return Context; }
374 static Type *getPrimitiveType(LLVMContext &C, TypeID IDNumber);
379 static Type *getVoidTy(LLVMContext &C);
380 static Type *getLabelTy(LLVMContext &C);
381 static Type *getHalfTy(LLVMContext
[all...]
H A DLeakDetector.h29 class LLVMContext;
60 static void checkForGarbage(LLVMContext &C, const std::string &Message) {
87 static void checkForGarbageImpl(LLVMContext &C, const std::string &Message);
H A DTypeBuilder.h19 #include "llvm/IR/LLVMContext.h"
53 /// static StructType *get(LLVMContext &Context) {
55 /// // for each LLVMContext.
106 static PointerType *get(LLVMContext &Context) {
117 static ArrayType *get(LLVMContext &Context) {
124 static ArrayType *get(LLVMContext &Context) {
154 static IntegerType *get(LLVMContext &Context) { \
183 static IntegerType *get(LLVMContext &C) {
190 static Type *get(LLVMContext& C) {
198 static Type *get(LLVMContext
[all...]
H A DAttributes.h36 class LLVMContext;
128 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
129 static Attribute get(LLVMContext &Context, StringRef Kind,
134 static Attribute getWithAlignment(LLVMContext &Context, uint64_t Align);
135 static Attribute getWithStackAlignment(LLVMContext &Context, uint64_t Align);
224 static AttributeSet get(LLVMContext &C,
226 static AttributeSet get(LLVMContext &C,
230 static AttributeSet getImpl(LLVMContext &C,
244 static AttributeSet get(LLVMContext &C, ArrayRef<AttributeSet> Attrs);
245 static AttributeSet get(LLVMContext
[all...]
H A DMDBuilder.h25 class LLVMContext;
31 LLVMContext &Context;
34 MDBuilder(LLVMContext &context) : Context(context) {}
H A DMetadata.h26 class LLVMContext;
44 explicit MDString(LLVMContext &C);
46 static MDString *get(LLVMContext &Context, StringRef Str);
47 static MDString *get(LLVMContext &Context, const char *Str) {
116 MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal);
118 static MDNode *getMDNode(LLVMContext &C, ArrayRef<Value*> Vals,
122 static MDNode *get(LLVMContext &Context, ArrayRef<Value*> Vals);
125 static MDNode *getWhenValsUnresolved(LLVMContext &Context,
129 static MDNode *getIfExists(LLVMContext &Context, ArrayRef<Value*> Vals);
134 static MDNode *getTemporary(LLVMContext
[all...]
H A DIntrinsics.h27 class LLVMContext;
52 FunctionType *getType(LLVMContext &Context, ID id,
61 AttributeSet getAttributes(LLVMContext &C, ID id);
/external/llvm/lib/IR/
H A DLLVMContext.cpp1 //===-- LLVMContext.cpp - Implement LLVMContext ---------------------------===//
10 // This file implements LLVMContext, as a wrapper around the opaque
15 #include "llvm/IR/LLVMContext.h"
28 static ManagedStatic<LLVMContext> GlobalContext;
30 LLVMContext& llvm::getGlobalContext() {
34 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { function in class:LLVMContext
70 LLVMContext::~LLVMContext() { delet
[all...]
H A DType.cpp26 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) {
221 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; }
222 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; }
223 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; }
224 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; }
225 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; }
226 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; }
227 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; }
228 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; }
229 Type *Type::getPPC_FP128Ty(LLVMContext
[all...]
/external/clang/include/clang/CodeGen/
H A DCodeGenAction.h17 class LLVMContext;
29 llvm::LLVMContext *VMContext;
36 CodeGenAction(unsigned _Act, llvm::LLVMContext *_VMContext = nullptr);
60 llvm::LLVMContext *takeLLVMContext();
68 EmitAssemblyAction(llvm::LLVMContext *_VMContext = nullptr);
74 EmitBCAction(llvm::LLVMContext *_VMContext = nullptr);
80 EmitLLVMAction(llvm::LLVMContext *_VMContext = nullptr);
86 EmitLLVMOnlyAction(llvm::LLVMContext *_VMContext = nullptr);
92 EmitCodeGenOnlyAction(llvm::LLVMContext *_VMContext = nullptr);
98 EmitObjAction(llvm::LLVMContext *_VMContex
[all...]
H A DModuleBuilder.h21 class LLVMContext;
47 llvm::LLVMContext& C);
/external/llvm/tools/opt/
H A DNewPMDriver.h27 class LLVMContext;
50 bool runPassPipeline(StringRef Arg0, LLVMContext &Context, Module &M,
/external/llvm/examples/BrainF/
H A DBrainF.h19 #include "llvm/IR/LLVMContext.h"
43 LLVMContext& C);
69 void header(LLVMContext& C);
74 BasicBlock *testbb, LLVMContext &Context);
/external/llvm/unittests/IR/
H A DTypesTest.cpp11 #include "llvm/IR/LLVMContext.h"
18 LLVMContext C;
/external/llvm/include/llvm/Bitcode/
H A DReaderWriter.h24 class LLVMContext;
33 LLVMContext &Context);
41 LLVMContext &Context,
48 LLVMContext &Context);
53 LLVMContext &Context);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A Dloader.cpp7 #include <llvm/LLVMContext.h>
27 LLVMContext &Context = getGlobalContext();
/external/llvm/unittests/ExecutionEngine/JIT/
H A DMultiJITTest.cpp13 #include "llvm/IR/LLVMContext.h"
38 void createModule1(LLVMContext &Context1, Module *&M1, Function *&FooF1) {
55 void createModule2(LLVMContext &Context2, Module *&M2, Function *&FooF2) {
73 LLVMContext Context1;
78 LLVMContext Context2;
103 LLVMContext Context1;
108 LLVMContext Context2;
137 LLVMContext Context1;
142 LLVMContext Context2;
/external/mesa3d/src/gallium/drivers/radeon/
H A Dloader.cpp7 #include <llvm/LLVMContext.h>
27 LLVMContext &Context = getGlobalContext();
/external/llvm/lib/AsmParser/
H A DParser.cpp27 LLVMContext &Context) {
43 LLVMContext &Context) {
56 SMDiagnostic &Err, LLVMContext &Context) {
/external/llvm/unittests/Analysis/
H A DMixedTBAATest.cpp13 #include "llvm/IR/LLVMContext.h"
27 LLVMContext C;
54 Store2->setMetadata(LLVMContext::MD_tbaa, MD3);
62 Store1->setMetadata(LLVMContext::MD_tbaa, MD2);
/external/llvm/include/llvm/CodeGen/
H A DValueTypes.h25 class LLVMContext;
62 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) {
71 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) {
259 EVT getRoundIntegerType(LLVMContext &Context) const {
271 EVT getHalfSizedIntegerVT(LLVMContext &Context) const {
285 EVT widenIntegerVectorElementType(LLVMContext &Context) const {
299 EVT getPow2VectorType(LLVMContext &Context) const {
317 Type *getTypeForEVT(LLVMContext &Context) const;
347 static EVT getExtendedIntegerVT(LLVMContext &C, unsigned BitWidth);
348 static EVT getExtendedVectorVT(LLVMContext
[all...]

Completed in 2517 milliseconds

1234567891011>>