Home
last modified time | relevance | path

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

12345678

/external/llvm/include/llvm/
DType.h27 class LLVMContext; variable
78 LLVMContext &Context;
88 explicit Type(LLVMContext &C, TypeID tid) in Type()
124 LLVMContext &getContext() const { return Context; } in getContext()
352 static Type *getPrimitiveType(LLVMContext &C, TypeID IDNumber);
357 static Type *getVoidTy(LLVMContext &C);
358 static Type *getLabelTy(LLVMContext &C);
359 static Type *getHalfTy(LLVMContext &C);
360 static Type *getFloatTy(LLVMContext &C);
361 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.h33 class LLVMContext {
36 LLVMContext();
37 ~LLVMContext();
91 LLVMContext(LLVMContext&);
92 void operator=(LLVMContext&);
107 extern LLVMContext &getGlobalContext();
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()
115 MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal);
117 static MDNode *getMDNode(LLVMContext &C, ArrayRef<Value*> Vals,
121 static MDNode *get(LLVMContext &Context, ArrayRef<Value*> Vals);
124 static MDNode *getWhenValsUnresolved(LLVMContext &Context,
128 static MDNode *getIfExists(LLVMContext &Context, ArrayRef<Value*> Vals);
133 static MDNode *getTemporary(LLVMContext &Context, ArrayRef<Value*> Vals);
DDerivedTypes.h28 class LLVMContext; variable
40 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType()
57 static IntegerType *get(LLVMContext &C, unsigned NumBits);
147 explicit CompositeType(LLVMContext &C, TypeID tid) : Type(C, tid) { } in CompositeType()
192 StructType(LLVMContext &C) in StructType()
214 static StructType *create(LLVMContext &Context, StringRef Name);
215 static StructType *create(LLVMContext &Context);
221 static StructType *create(LLVMContext &Context,
225 static StructType *create(LLVMContext &Context, ArrayRef<Type*> Elements);
230 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);
259 static ConstantFP *get(LLVMContext &Context, const APFloat &V);
402 static Constant *getAnon(LLVMContext &Ctx,
412 static StructType *getTypeForElements(LLVMContext &Ctx,
674 static Constant *get(LLVMContext &Context, ArrayRef<uint8_t> Elts);
675 static Constant *get(LLVMContext &Context, ArrayRef<uint16_t> Elts);
676 static Constant *get(LLVMContext &Context, ArrayRef<uint32_t> Elts);
677 static Constant *get(LLVMContext &Context, ArrayRef<uint64_t> Elts);
[all …]
/external/llvm/lib/VMCore/
DLLVMContext.cpp25 static ManagedStatic<LLVMContext> GlobalContext;
27 LLVMContext& llvm::getGlobalContext() { in getGlobalContext()
31 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext() function in LLVMContext
57 LLVMContext::~LLVMContext() { delete pImpl; } in ~LLVMContext()
59 void LLVMContext::addModule(Module *M) { in addModule()
63 void LLVMContext::removeModule(Module *M) { in removeModule()
71 void LLVMContext::
80 LLVMContext::InlineAsmDiagHandlerTy
81 LLVMContext::getInlineAsmDiagnosticHandler() const { in getInlineAsmDiagnosticHandler()
87 void *LLVMContext::getInlineAsmDiagnosticContext() const { in getInlineAsmDiagnosticContext()
[all …]
DType.cpp25 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType()
248 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; } in getVoidTy()
249 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy()
250 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; } in getHalfTy()
251 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy()
252 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; } in getDoubleTy()
253 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; } in getMetadataTy()
254 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; } in getX86_FP80Ty()
255 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; } in getFP128Ty()
256 Type *Type::getPPC_FP128Ty(LLVMContext &C) { return &C.pImpl->PPC_FP128Ty; } in getPPC_FP128Ty()
[all …]
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()
153 LLVMContext &Ctx = TheModule->getContext(); in HandleTranslationUnit()
154 LLVMContext::InlineAsmDiagHandlerTy OldHandler = in HandleTranslationUnit()
268 CodeGenAction::CodeGenAction(unsigned _Act, LLVMContext *_VMContext) in CodeGenAction()
270 VMContext(_VMContext ? _VMContext : new LLVMContext), in CodeGenAction()
298 llvm::LLVMContext *CodeGenAction::takeLLVMContext() { in takeLLVMContext()
427 EmitAssemblyAction::EmitAssemblyAction(llvm::LLVMContext *_VMContext) in EmitAssemblyAction()
431 EmitBCAction::EmitBCAction(llvm::LLVMContext *_VMContext) in EmitBCAction()
435 EmitLLVMAction::EmitLLVMAction(llvm::LLVMContext *_VMContext) in EmitLLVMAction()
439 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;
183 explicit BitcodeReader(MemoryBuffer *buffer, LLVMContext &C) in BitcodeReader()
189 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,
169 ARMConstantPoolSymbol(LLVMContext &C, const char *s, unsigned id,
176 static ARMConstantPoolSymbol *Create(LLVMContext &C, const char *s,
203 ARMConstantPoolMBB(LLVMContext &C, const MachineBasicBlock *mbb, unsigned id,
208 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.h34 class LLVMContext; variable
76 LLVMContext& Context,
82 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()
/external/llvm/lib/AsmParser/
DParser.cpp28 LLVMContext &Context) { in ParseAssembly()
44 LLVMContext &Context) { in ParseAssemblyFile()
56 SMDiagnostic &Err, LLVMContext &Context) { in ParseAssemblyString()
/external/llvm/tools/bugpoint/
DBugDriver.h34 class LLVMContext; variable
47 LLVMContext& Context;
67 LLVMContext& ctxt);
72 LLVMContext& getContext() const { return Context; } in getContext()
301 LLVMContext& ctxt);

12345678