Home
last modified time | relevance | path

Searched refs:LLVMContext (Results 1 – 25 of 230) sorted by relevance

12345678910

/external/llvm/include/llvm/IR/
DType.h29 class LLVMContext; variable
80 LLVMContext &Context;
90 explicit Type(LLVMContext &C, TypeID tid) in Type()
126 LLVMContext &getContext() const { return Context; } in getContext()
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 &C);
382 static Type *getFloatTy(LLVMContext &C);
383 static Type *getDoubleTy(LLVMContext &C);
[all …]
DTypeBuilder.h106 static PointerType *get(LLVMContext &Context) { in get()
117 static ArrayType *get(LLVMContext &Context) { in get()
124 static ArrayType *get(LLVMContext &Context) { in get()
154 static IntegerType *get(LLVMContext &Context) { \
183 static IntegerType *get(LLVMContext &C) { in get()
190 static Type *get(LLVMContext& C) { in get()
198 static Type *get(LLVMContext& C) { in get()
206 static Type *get(LLVMContext& C) { return Type::getFloatTy(C); } in get()
210 static Type *get(LLVMContext& C) { return Type::getDoubleTy(C); } in get()
214 static Type *get(LLVMContext& C) { return Type::getX86_FP80Ty(C); } in get()
[all …]
DLLVMContext.h35 class LLVMContext {
38 LLVMContext();
39 ~LLVMContext();
94 LLVMContext(LLVMContext&) LLVM_DELETED_FUNCTION;
95 void operator=(LLVMContext&) LLVM_DELETED_FUNCTION;
110 extern LLVMContext &getGlobalContext();
DAttributes.h35 class LLVMContext; variable
119 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
120 static Attribute get(LLVMContext &Context, StringRef Kind,
125 static Attribute getWithAlignment(LLVMContext &Context, uint64_t Align);
126 static Attribute getWithStackAlignment(LLVMContext &Context, uint64_t Align);
215 static AttributeSet get(LLVMContext &C,
217 static AttributeSet get(LLVMContext &C,
221 static AttributeSet getImpl(LLVMContext &C,
235 static AttributeSet get(LLVMContext &C, ArrayRef<AttributeSet> Attrs);
236 static AttributeSet get(LLVMContext &C, unsigned Idx,
[all …]
DMetadata.h27 class LLVMContext; variable
42 explicit MDString(LLVMContext &C);
44 static MDString *get(LLVMContext &Context, StringRef Str);
45 static MDString *get(LLVMContext &Context, const char *Str) { in get()
114 MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal);
116 static MDNode *getMDNode(LLVMContext &C, ArrayRef<Value*> Vals,
120 static MDNode *get(LLVMContext &Context, ArrayRef<Value*> Vals);
123 static MDNode *getWhenValsUnresolved(LLVMContext &Context,
127 static MDNode *getIfExists(LLVMContext &Context, ArrayRef<Value*> Vals);
132 static MDNode *getTemporary(LLVMContext &Context, ArrayRef<Value*> Vals);
DDerivedTypes.h29 class LLVMContext; variable
41 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType()
58 static IntegerType *get(LLVMContext &C, unsigned NumBits);
146 explicit CompositeType(LLVMContext &C, TypeID tid) : Type(C, tid) { } in CompositeType()
190 StructType(LLVMContext &C) in StructType()
212 static StructType *create(LLVMContext &Context, StringRef Name);
213 static StructType *create(LLVMContext &Context);
219 static StructType *create(LLVMContext &Context,
223 static StructType *create(LLVMContext &Context, ArrayRef<Type*> Elements);
228 static StructType *get(LLVMContext &Context, ArrayRef<Type*> Elements,
[all …]
DConstants.h62 static ConstantInt *getTrue(LLVMContext &Context);
63 static ConstantInt *getFalse(LLVMContext &Context);
90 static ConstantInt *get(LLVMContext &Context, const APInt &V);
258 static ConstantFP *get(LLVMContext &Context, const APFloat &V);
395 static Constant *getAnon(LLVMContext &Ctx,
405 static StructType *getTypeForElements(LLVMContext &Ctx,
663 static Constant *get(LLVMContext &Context, ArrayRef<uint8_t> Elts);
664 static Constant *get(LLVMContext &Context, ArrayRef<uint16_t> Elts);
665 static Constant *get(LLVMContext &Context, ArrayRef<uint32_t> Elts);
666 static Constant *get(LLVMContext &Context, ArrayRef<uint64_t> Elts);
[all …]
/external/llvm/lib/IR/
DLLVMContext.cpp25 static ManagedStatic<LLVMContext> GlobalContext;
27 LLVMContext& llvm::getGlobalContext() { in getGlobalContext()
31 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext() function in LLVMContext
67 LLVMContext::~LLVMContext() { delete pImpl; } in ~LLVMContext()
69 void LLVMContext::addModule(Module *M) { in addModule()
73 void LLVMContext::removeModule(Module *M) { in removeModule()
81 void LLVMContext::
90 LLVMContext::InlineAsmDiagHandlerTy
91 LLVMContext::getInlineAsmDiagnosticHandler() const { in getInlineAsmDiagnosticHandler()
97 void *LLVMContext::getInlineAsmDiagnosticContext() const { in getInlineAsmDiagnosticContext()
[all …]
DType.cpp26 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType()
227 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; } in getVoidTy()
228 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy()
229 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; } in getHalfTy()
230 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy()
231 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; } in getDoubleTy()
232 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; } in getMetadataTy()
233 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; } in getX86_FP80Ty()
234 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; } in getFP128Ty()
235 Type *Type::getPPC_FP128Ty(LLVMContext &C) { return &C.pImpl->PPC_FP128Ty; } in getPPC_FP128Ty()
[all …]
DAttributeImpl.h26 class LLVMContext; variable
103 LLVMContext &Context; ///< Global context for uniquing objects
111 AttributeImpl(LLVMContext &C, Attribute::AttrKind Kind);
112 AttributeImpl(LLVMContext &C, Attribute::AttrKind Kind, unsigned Align);
113 AttributeImpl(LLVMContext &C, StringRef Kind, StringRef Val = StringRef());
116 LLVMContext &getContext() { return Context; } in getContext()
170 static AttributeSetNode *get(LLVMContext &C, ArrayRef<Attribute> Attrs);
208 LLVMContext &Context;
217 AttributeSetImpl(LLVMContext &C, in AttributeSetImpl()
222 LLVMContext &getContext() { return Context; } in getContext()
DDebugLoc.cpp20 MDNode *DebugLoc::getScope(const LLVMContext &Ctx) const { in getScope()
37 MDNode *DebugLoc::getInlinedAt(const LLVMContext &Ctx) const { in getInlinedAt()
50 const LLVMContext &Ctx) const { in getScopeAndInlinedAt()
86 LLVMContext &Ctx = Scope->getContext(); in get()
100 MDNode *DebugLoc::getAsMDNode(const LLVMContext &Ctx) const { in getAsMDNode()
107 LLVMContext &Ctx2 = Scope->getContext(); in getAsMDNode()
133 void DebugLoc::dump(const LLVMContext &Ctx) const { in dump()
/external/clang/include/clang/CodeGen/
DCodeGenAction.h17 class LLVMContext; variable
29 llvm::LLVMContext *VMContext;
36 CodeGenAction(unsigned _Act, llvm::LLVMContext *_VMContext = 0);
60 llvm::LLVMContext *takeLLVMContext();
68 EmitAssemblyAction(llvm::LLVMContext *_VMContext = 0);
74 EmitBCAction(llvm::LLVMContext *_VMContext = 0);
80 EmitLLVMAction(llvm::LLVMContext *_VMContext = 0);
86 EmitLLVMOnlyAction(llvm::LLVMContext *_VMContext = 0);
92 EmitCodeGenOnlyAction(llvm::LLVMContext *_VMContext = 0);
98 EmitObjAction(llvm::LLVMContext *_VMContext = 0);
/external/llvm/include/llvm/Support/
DDebugLoc.h21 class LLVMContext; variable
80 MDNode *getScope(const LLVMContext &Ctx) const;
84 MDNode *getInlinedAt(const LLVMContext &Ctx) const;
88 const LLVMContext &Ctx) const;
93 MDNode *getAsMDNode(const LLVMContext &Ctx) const;
100 void dump(const LLVMContext &Ctx) const;
DIRReader.h37 LLVMContext &Context) { in getLazyIRModule()
61 LLVMContext &Context) { in getLazyIRFileModule()
78 LLVMContext &Context) { in ParseIR()
99 LLVMContext &Context) { in ParseIRFile()
DLeakDetector.h29 class LLVMContext; variable
60 static void checkForGarbage(LLVMContext &C, const std::string &Message) { in checkForGarbage()
87 static void checkForGarbageImpl(LLVMContext &C, const std::string &Message);
/external/llvm/unittests/ExecutionEngine/JIT/
DMultiJITTest.cpp34 void createModule1(LLVMContext &Context1, Module *&M1, Function *&FooF1) { in createModule1()
51 void createModule2(LLVMContext &Context2, Module *&M2, Function *&FooF2) { in createModule2()
72 LLVMContext Context1; in TEST()
77 LLVMContext Context2; in TEST()
102 LLVMContext Context1; in TEST()
107 LLVMContext Context2; in TEST()
136 LLVMContext Context1; in TEST()
141 LLVMContext Context2; in TEST()
/external/llvm/include/llvm/Assembly/
DParser.h24 class LLVMContext; variable
35 LLVMContext &Context ///< Context in which to allocate globals info.
48 LLVMContext &Context
59 LLVMContext &Context
/external/llvm/include/llvm/Bitcode/
DReaderWriter.h23 class LLVMContext; variable
34 LLVMContext &Context,
43 LLVMContext &Context,
52 LLVMContext &Context,
58 Module *ParseBitcodeFile(MemoryBuffer *Buffer, LLVMContext &Context,
DArchive.h33 class LLVMContext; // Global data variable
275 LLVMContext& C ///< Context to use for global information
286 LLVMContext& C, ///< The context to use for global information
307 LLVMContext& C, ///< The context to use for global info
445 explicit Archive(const sys::Path& filename, LLVMContext& C);
525 LLVMContext& Context; ///< This holds global data.
/external/clang/lib/CodeGen/
DCodeGenAction.cpp61 LLVMContext &C) : in BackendConsumer()
155 LLVMContext &Ctx = TheModule->getContext(); in HandleTranslationUnit()
156 LLVMContext::InlineAsmDiagHandlerTy OldHandler = in HandleTranslationUnit()
270 CodeGenAction::CodeGenAction(unsigned _Act, LLVMContext *_VMContext) in CodeGenAction()
272 VMContext(_VMContext ? _VMContext : new LLVMContext), in CodeGenAction()
300 llvm::LLVMContext *CodeGenAction::takeLLVMContext() { in takeLLVMContext()
429 EmitAssemblyAction::EmitAssemblyAction(llvm::LLVMContext *_VMContext) in EmitAssemblyAction()
433 EmitBCAction::EmitBCAction(llvm::LLVMContext *_VMContext) in EmitBCAction()
437 EmitLLVMAction::EmitLLVMAction(llvm::LLVMContext *_VMContext) in EmitLLVMAction()
441 EmitLLVMOnlyAction::EmitLLVMOnlyAction(llvm::LLVMContext *_VMContext) in EmitLLVMOnlyAction()
[all …]
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.h29 class LLVMContext; variable
47 LLVMContext &Context;
49 BitcodeReaderValueList(LLVMContext &C) : Context(C) {} in BitcodeReaderValueList()
97 LLVMContext &Context;
99 BitcodeReaderMDValueList(LLVMContext& C) : Context(C) {} in BitcodeReaderMDValueList()
125 LLVMContext &Context;
195 explicit BitcodeReader(MemoryBuffer *buffer, LLVMContext &C) in BitcodeReader()
201 explicit BitcodeReader(DataStreamer *streamer, LLVMContext &C) in BitcodeReader()
/external/llvm/lib/Target/ARM/
DARMConstantPoolValue.h26 class LLVMContext; variable
64 ARMConstantPoolValue(LLVMContext &C, unsigned id, ARMCP::ARMCPKind Kind,
166 ARMConstantPoolSymbol(LLVMContext &C, const char *s, unsigned id,
171 static ARMConstantPoolSymbol *Create(LLVMContext &C, const char *s,
197 ARMConstantPoolMBB(LLVMContext &C, const MachineBasicBlock *mbb, unsigned id,
202 static ARMConstantPoolMBB *Create(LLVMContext &C,
/external/llvm/examples/BrainF/
DBrainF.h43 LLVMContext& C);
69 void header(LLVMContext& C);
74 BasicBlock *testbb, LLVMContext &Context);
/external/llvm/lib/Archive/
DArchiveInternals.h33 class LLVMContext; variable
75 LLVMContext& Context,
81 LLVMContext& Context,
/external/llvm/lib/Analysis/
DAliasAnalysis.cpp94 MDNode *CSTag = CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa); in getModRefInfo()
152 MDNode *CS2Tag = CS2.getInstruction()->getMetadata(LLVMContext::MD_tbaa); in getModRefInfo()
172 MDNode *CS1Tag = CS1.getInstruction()->getMetadata(LLVMContext::MD_tbaa); in getModRefInfo()
229 LI->getMetadata(LLVMContext::MD_tbaa)); in getLocation()
235 SI->getMetadata(LLVMContext::MD_tbaa)); in getLocation()
241 VI->getMetadata(LLVMContext::MD_tbaa)); in getLocation()
248 CXI->getMetadata(LLVMContext::MD_tbaa)); in getLocation()
255 RMWI->getMetadata(LLVMContext::MD_tbaa)); in getLocation()
266 MDNode *TBAATag = MTI->getMetadata(LLVMContext::MD_tbaa); in getLocationForSource()
279 MDNode *TBAATag = MTI->getMetadata(LLVMContext::MD_tbaa); in getLocationForDest()

12345678910