Searched defs:LLVMContext (Results 1 - 9 of 9) sorted by relevance

/external/swiftshader/third_party/LLVM/include/llvm/
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
30 /// LLVMContext itself provides no locking guarantees, so you should be careful
32 class LLVMContext { class in namespace:llvm
35 LLVMContext();
36 ~LLVMContext();
47 /// This ID is uniqued across modules in the current LLVMContext.
51 /// custom metadata IDs registered in this LLVMContext.
63 /// LLVMContext doesn't take ownership or interpret either of these
88 LLVMContext(LLVMContex
[all...]
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DLLVMContext.cpp1 //===-- LLVMContext.cpp - Implement LLVMContext -----------------------===//
10 // This file implements LLVMContext, as a wrapper around the opaque
15 #include "llvm/LLVMContext.h"
25 static ManagedStatic<LLVMContext> GlobalContext;
27 LLVMContext& llvm::getGlobalContext() {
31 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { function in class:LLVMContext
47 LLVMContext::~LLVMContext() { delet
[all...]
/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
41 /// LLVMContext itself provides no locking guarantees, so you should be careful
43 class LLVMContext { class in namespace:llvm
46 LLVMContext();
47 ~LLVMContext();
85 /// This ID is uniqued across modules in the current LLVMContext.
89 /// custom metadata IDs registered in this LLVMContext.
93 /// bundle tags registered in this LLVMContext. The bundle tags are ordered
95 /// \see LLVMContext
[all...]
H A DMetadata.h26 #include "llvm/IR/LLVMContext.h"
33 class LLVMContext;
162 static MetadataAsValue *get(LLVMContext &Context, Metadata *MD);
163 static MetadataAsValue *getIfExists(LLVMContext &Context, Metadata *MD);
259 LLVMContext &Context;
264 ReplaceableMetadataImpl(LLVMContext &Context)
270 LLVMContext &getContext() const { return Context; }
349 LLVMContext &getContext() const { return V->getContext(); }
579 static MDString *get(LLVMContext &Context, StringRef Str);
580 static MDString *get(LLVMContext
[all...]
/external/swiftshader/third_party/llvm-subzero/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
46 /// LLVMContext itself provides no locking guarantees, so you should be careful
48 class LLVMContext { class in namespace:llvm
51 LLVMContext();
52 LLVMContext(LLVMContext &) = delete;
53 LLVMContext &operator=(const LLVMContext &) = delete;
54 ~LLVMContext();
[all...]
H A DMetadata.h30 #include "llvm/IR/LLVMContext.h"
174 static MetadataAsValue *get(LLVMContext &Context, Metadata *MD);
175 static MetadataAsValue *getIfExists(LLVMContext &Context, Metadata *MD);
271 LLVMContext &Context;
276 ReplaceableMetadataImpl(LLVMContext &Context)
283 LLVMContext &getContext() const { return Context; }
363 LLVMContext &getContext() const { return V->getContext(); }
597 static MDString *get(LLVMContext &Context, StringRef Str);
598 static MDString *get(LLVMContext &Context, const char *Str) {
734 /// Either a raw (non-null) pointer to the \a LLVMContext, o
[all...]
/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"
35 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { function in class:LLVMContext
142 assert(DeoptEntry->second == LLVMContext::OB_deopt &&
147 assert(FuncletEntry->second == LLVMContext::OB_funclet &&
152 assert(GCTransitionEntry->second == LLVMContext::OB_gc_transition &&
157 LLVMContext
[all...]
/external/clang/lib/CodeGen/
H A DTargetInfo.cpp47 // LLVMContext - The associated LLVMContext
50 llvm::LLVMContext &LLVMContext) {
54 llvm::Type *IntType = llvm::Type::getIntNTy(LLVMContext, Alignment);
174 llvm::LLVMContext &ABIInfo::getVMContext() const {
1520 llvm::LLVMContext &LLVMContext = getVMContext();
1521 llvm::IntegerType *Int32 = llvm::Type::getInt32Ty(LLVMContext);
1527 llvm::Type *Result = llvm::StructType::get(LLVMContext, Element
48 coerceToIntArray(QualType Ty, ASTContext &Context, llvm::LLVMContext &LLVMContext) argument
[all...]
H A DCodeGenModule.cpp52 #include "llvm/IR/LLVMContext.h"
94 llvm::LLVMContext &LLVMContext = M.getContext(); local
95 VoidTy = llvm::Type::getVoidTy(LLVMContext);
96 Int8Ty = llvm::Type::getInt8Ty(LLVMContext);
97 Int16Ty = llvm::Type::getInt16Ty(LLVMContext);
98 Int32Ty = llvm::Type::getInt32Ty(LLVMContext);
99 Int64Ty = llvm::Type::getInt64Ty(LLVMContext);
100 FloatTy = llvm::Type::getFloatTy(LLVMContext);
101 DoubleTy = llvm::Type::getDoubleTy(LLVMContext);
[all...]

Completed in 353 milliseconds