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

1234567891011>>

/external/llvm/include/llvm/IRReader/
H A DIRReader.h25 class LLVMContext;
33 LLVMContext &Context);
39 LLVMContext &Context);
45 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
39 /// LLVMContext itself provides no locking guarantees, so you should be careful
41 class LLVMContext { class in namespace:llvm
44 LLVMContext();
45 ~LLVMContext();
65 /// This ID is uniqued across modules in the current LLVMContext.
69 /// custom metadata IDs registered in this LLVMContext.
77 /// \see LLVMContext::setDiagnosticHandler.
78 /// \see 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; }
377 static Type *getPrimitiveType(LLVMContext &C, TypeID IDNumber);
382 static Type *getVoidTy(LLVMContext &C);
383 static Type *getLabelTy(LLVMContext &C);
384 static Type *getHalfTy(LLVMContext
[all...]
H A DAttributes.h36 class LLVMContext;
130 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
131 static Attribute get(LLVMContext &Context, StringRef Kind,
136 static Attribute getWithAlignment(LLVMContext &Context, uint64_t Align);
137 static Attribute getWithStackAlignment(LLVMContext &Context, uint64_t Align);
138 static Attribute getWithDereferenceableBytes(LLVMContext &Context,
140 static Attribute getWithDereferenceableOrNullBytes(LLVMContext &Context,
238 static AttributeSet get(LLVMContext &C,
240 static AttributeSet get(LLVMContext &C,
244 static AttributeSet getImpl(LLVMContext
[all...]
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 DIntrinsics.h27 class LLVMContext;
49 FunctionType *getType(LLVMContext &Context, ID id,
56 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
97 LLVMContext::~LLVMContext() { delet
[all...]
H A DType.cpp26 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) {
225 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; }
226 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; }
227 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; }
228 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; }
229 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; }
230 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; }
231 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; }
232 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; }
233 Type *Type::getPPC_FP128Ty(LLVMContext
[all...]
H A DDebugInfoMetadata.cpp22 MDLocation::MDLocation(LLVMContext &C, StorageType Storage, unsigned Line,
41 MDLocation *MDLocation::getImpl(LLVMContext &Context, unsigned Line,
81 // LLVMContext.
171 GenericDebugNode *GenericDebugNode::getImpl(LLVMContext &Context, unsigned Tag,
227 MDSubrange *MDSubrange::getImpl(LLVMContext &Context, int64_t Count, int64_t Lo,
233 MDEnumerator *MDEnumerator::getImpl(LLVMContext &Context, int64_t Value,
242 MDBasicType *MDBasicType::getImpl(LLVMContext &Context, unsigned Tag,
255 LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File,
270 LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File,
289 MDSubroutineType *MDSubroutineType::getImpl(LLVMContext
[all...]
/external/llvm/include/llvm/AsmParser/
H A DParser.h23 class LLVMContext;
36 LLVMContext &Context);
49 LLVMContext &Context);
57 LLVMContext &Context);
/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;
46 llvm::LLVMContext& C,
/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/tools/opt/
H A DNewPMDriver.h27 class LLVMContext;
51 bool runPassPipeline(StringRef Arg0, LLVMContext &Context, Module &M,
/external/llvm/unittests/IR/
H A DTypesTest.cpp11 #include "llvm/IR/LLVMContext.h"
18 LLVMContext C;
H A DValueTest.cpp12 #include "llvm/IR/LLVMContext.h"
22 LLVMContext C;
47 LLVMContext &Ctx = getGlobalContext();
94 LLVMContext &Ctx = getGlobalContext();
/external/llvm/unittests/Transforms/Utils/
H A DValueMapperTest.cpp10 #include "llvm/IR/LLVMContext.h"
20 LLVMContext Context;
/external/llvm/include/llvm/ProfileData/
H A DSampleProfReader.h22 #include "llvm/IR/LLVMContext.h"
63 SampleProfileReader(std::unique_ptr<MemoryBuffer> B, LLVMContext &C)
96 create(StringRef Filename, LLVMContext &C);
107 LLVMContext &Ctx;
115 SampleProfileReaderText(std::unique_ptr<MemoryBuffer> B, LLVMContext &C)
127 SampleProfileReaderBinary(std::unique_ptr<MemoryBuffer> B, LLVMContext &C)
/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.cpp35 LLVMContext &Context) {
47 LLVMContext &Context) {
61 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/Bitcode/
H A DReaderWriter.h26 class LLVMContext;
37 LLVMContext &Context,
44 StringRef Name, DataStreamer *Streamer, LLVMContext &Context,
51 getBitcodeTargetTriple(MemoryBufferRef Buffer, LLVMContext &Context,
56 parseBitcodeFile(MemoryBufferRef Buffer, LLVMContext &Context,
/external/llvm/include/llvm/LTO/
H A DLTOCodeGenerator.h48 class LLVMContext;
65 LTOCodeGenerator(std::unique_ptr<LLVMContext> Context);
136 LLVMContext &getContext() { return Context; }
158 std::unique_ptr<LLVMContext> OwnedContext;
159 LLVMContext &Context;
/external/llvm/include/llvm/CodeGen/
H A DValueTypes.h25 class LLVMContext;
61 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) {
70 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) {
258 EVT getRoundIntegerType(LLVMContext &Context) const {
270 EVT getHalfSizedIntegerVT(LLVMContext &Context) const {
284 EVT widenIntegerVectorElementType(LLVMContext &Context) const {
298 EVT getPow2VectorType(LLVMContext &Context) const {
316 Type *getTypeForEVT(LLVMContext &Context) const;
346 static EVT getExtendedIntegerVT(LLVMContext &C, unsigned BitWidth);
347 static EVT getExtendedVectorVT(LLVMContext
[all...]
/external/llvm/lib/IRReader/
H A DIRReader.cpp15 #include "llvm/IR/LLVMContext.h"
34 LLVMContext &Context) {
52 LLVMContext &Context) {
65 LLVMContext &Context) {
83 LLVMContext &Context) {

Completed in 501 milliseconds

1234567891011>>