Home
last modified time | relevance | path

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

123456789

/trueos/contrib/llvm/include/llvm/IR/
HDType.h31 class LLVMContext; variable
82 LLVMContext &Context;
92 explicit Type(LLVMContext &C, TypeID tid) in Type()
128 LLVMContext &getContext() const { return Context; } in getContext()
384 static Type *getPrimitiveType(LLVMContext &C, TypeID IDNumber);
389 static Type *getVoidTy(LLVMContext &C);
390 static Type *getLabelTy(LLVMContext &C);
391 static Type *getHalfTy(LLVMContext &C);
392 static Type *getFloatTy(LLVMContext &C);
393 static Type *getDoubleTy(LLVMContext &C);
[all …]
HDLLVMContext.h37 class LLVMContext {
40 LLVMContext();
41 ~LLVMContext();
96 LLVMContext(LLVMContext&) LLVM_DELETED_FUNCTION;
97 void operator=(LLVMContext&) LLVM_DELETED_FUNCTION;
112 extern LLVMContext &getGlobalContext();
115 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LLVMContext, LLVMContextRef) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() argument
119 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
120 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
123 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap()
[all …]
HDTypeBuilder.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 …]
HDAttributes.h36 class LLVMContext; variable
125 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
126 static Attribute get(LLVMContext &Context, StringRef Kind,
131 static Attribute getWithAlignment(LLVMContext &Context, uint64_t Align);
132 static Attribute getWithStackAlignment(LLVMContext &Context, uint64_t Align);
221 static AttributeSet get(LLVMContext &C,
223 static AttributeSet get(LLVMContext &C,
227 static AttributeSet getImpl(LLVMContext &C,
241 static AttributeSet get(LLVMContext &C, ArrayRef<AttributeSet> Attrs);
242 static AttributeSet get(LLVMContext &C, unsigned Index,
[all …]
HDMetadata.h25 class LLVMContext; variable
43 explicit MDString(LLVMContext &C);
45 static MDString *get(LLVMContext &Context, StringRef Str);
46 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);
HDDerivedTypes.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 …]
HDConstants.h63 static ConstantInt *getTrue(LLVMContext &Context);
64 static ConstantInt *getFalse(LLVMContext &Context);
91 static ConstantInt *get(LLVMContext &Context, const APInt &V);
257 static ConstantFP *get(LLVMContext &Context, const APFloat &V);
394 static Constant *getAnon(LLVMContext &Ctx,
404 static StructType *getTypeForElements(LLVMContext &Ctx,
662 static Constant *get(LLVMContext &Context, ArrayRef<uint8_t> Elts);
663 static Constant *get(LLVMContext &Context, ArrayRef<uint16_t> Elts);
664 static Constant *get(LLVMContext &Context, ArrayRef<uint32_t> Elts);
665 static Constant *get(LLVMContext &Context, ArrayRef<uint64_t> Elts);
[all …]
HDIntrinsics.h27 class LLVMContext; variable
52 FunctionType *getType(LLVMContext &Context, ID id,
61 AttributeSet getAttributes(LLVMContext &C, ID id);
/trueos/contrib/llvm/lib/IR/
HDLLVMContext.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 …]
HDType.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 …]
HDDebugLoc.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()
HDAttributes.cpp33 Attribute Attribute::get(LLVMContext &Context, Attribute::AttrKind Kind, in get()
57 Attribute Attribute::get(LLVMContext &Context, StringRef Kind, StringRef Val) { in get()
77 Attribute Attribute::getWithAlignment(LLVMContext &Context, uint64_t Align) { in getWithAlignment()
83 Attribute Attribute::getWithStackAlignment(LLVMContext &Context, in getWithStackAlignment()
399 AttributeSetNode *AttributeSetNode::get(LLVMContext &C, in get()
527 AttributeSet::getImpl(LLVMContext &C, in getImpl()
551 AttributeSet AttributeSet::get(LLVMContext &C, in get()
585 AttributeSet AttributeSet::get(LLVMContext &C, in get()
595 AttributeSet AttributeSet::get(LLVMContext &C, unsigned Index, AttrBuilder &B) { in get()
624 AttributeSet AttributeSet::get(LLVMContext &C, unsigned Index, in get()
[all …]
/trueos/contrib/llvm/tools/clang/include/clang/CodeGen/
HDCodeGenAction.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);
/trueos/contrib/llvm/include/llvm/IRReader/
HDIRReader.h25 class LLVMContext; variable
32 LLVMContext &Context);
39 LLVMContext &Context);
45 Module *ParseIR(MemoryBuffer *Buffer, SMDiagnostic &Err, LLVMContext &Context);
51 LLVMContext &Context);
/trueos/contrib/llvm/include/llvm/Support/
HDDebugLoc.h23 class LLVMContext; variable
82 MDNode *getScope(const LLVMContext &Ctx) const;
86 MDNode *getInlinedAt(const LLVMContext &Ctx) const;
90 const LLVMContext &Ctx) const;
95 MDNode *getAsMDNode(const LLVMContext &Ctx) const;
102 void dump(const LLVMContext &Ctx) const;
HDLeakDetector.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);
/trueos/contrib/llvm/include/llvm/Assembly/
HDParser.h24 class LLVMContext; variable
35 LLVMContext &Context ///< Context in which to allocate globals info.
48 LLVMContext &Context
59 LLVMContext &Context
/trueos/contrib/llvm/include/llvm/Bitcode/
HDReaderWriter.h23 class LLVMContext; variable
34 LLVMContext &Context,
43 LLVMContext &Context,
52 LLVMContext &Context,
58 Module *ParseBitcodeFile(MemoryBuffer *Buffer, LLVMContext &Context,
/trueos/contrib/llvm/tools/clang/lib/CodeGen/
HDCodeGenAction.cpp61 LLVMContext &C) : in BackendConsumer()
155 LLVMContext &Ctx = TheModule->getContext(); in HandleTranslationUnit()
156 LLVMContext::InlineAsmDiagHandlerTy OldHandler = in HandleTranslationUnit()
287 CodeGenAction::CodeGenAction(unsigned _Act, LLVMContext *_VMContext) in CodeGenAction()
289 VMContext(_VMContext ? _VMContext : new LLVMContext), in CodeGenAction()
317 llvm::LLVMContext *CodeGenAction::takeLLVMContext() { in takeLLVMContext()
446 EmitAssemblyAction::EmitAssemblyAction(llvm::LLVMContext *_VMContext) in EmitAssemblyAction()
450 EmitBCAction::EmitBCAction(llvm::LLVMContext *_VMContext) in EmitBCAction()
454 EmitLLVMAction::EmitLLVMAction(llvm::LLVMContext *_VMContext) in EmitLLVMAction()
458 EmitLLVMOnlyAction::EmitLLVMOnlyAction(llvm::LLVMContext *_VMContext) in EmitLLVMOnlyAction()
[all …]
/trueos/contrib/llvm/lib/Bitcode/Reader/
HDBitcodeReader.h30 class LLVMContext; variable
48 LLVMContext &Context;
50 BitcodeReaderValueList(LLVMContext &C) : Context(C) {} in BitcodeReaderValueList()
98 LLVMContext &Context;
100 BitcodeReaderMDValueList(LLVMContext& C) : Context(C) {} in BitcodeReaderMDValueList()
126 LLVMContext &Context;
226 explicit BitcodeReader(MemoryBuffer *buffer, LLVMContext &C) in BitcodeReader()
232 explicit BitcodeReader(DataStreamer *streamer, LLVMContext &C) in BitcodeReader()
/trueos/contrib/llvm/lib/Analysis/
HDAliasAnalysis.cpp95 MDNode *CSTag = CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa); in getModRefInfo()
153 MDNode *CS2Tag = CS2.getInstruction()->getMetadata(LLVMContext::MD_tbaa); in getModRefInfo()
173 MDNode *CS1Tag = CS1.getInstruction()->getMetadata(LLVMContext::MD_tbaa); in getModRefInfo()
230 LI->getMetadata(LLVMContext::MD_tbaa)); in getLocation()
236 SI->getMetadata(LLVMContext::MD_tbaa)); in getLocation()
242 VI->getMetadata(LLVMContext::MD_tbaa)); in getLocation()
249 CXI->getMetadata(LLVMContext::MD_tbaa)); in getLocation()
256 RMWI->getMetadata(LLVMContext::MD_tbaa)); in getLocation()
267 MDNode *TBAATag = MTI->getMetadata(LLVMContext::MD_tbaa); in getLocationForSource()
280 MDNode *TBAATag = MTI->getMetadata(LLVMContext::MD_tbaa); in getLocationForDest()
/trueos/contrib/llvm/lib/IRReader/
HDIRReader.cpp35 LLVMContext &Context) { in getLazyIRModule()
54 LLVMContext &Context) { in getLazyIRFileModule()
66 LLVMContext &Context) { in ParseIR()
85 LLVMContext &Context) { in ParseIRFile()
/trueos/contrib/llvm/lib/Target/ARM/
HDARMConstantPoolValue.h27 class LLVMContext; variable
65 ARMConstantPoolValue(LLVMContext &C, unsigned id, ARMCP::ARMCPKind Kind,
191 ARMConstantPoolSymbol(LLVMContext &C, const char *s, unsigned id,
196 static ARMConstantPoolSymbol *Create(LLVMContext &C, const char *s,
226 ARMConstantPoolMBB(LLVMContext &C, const MachineBasicBlock *mbb, unsigned id,
231 static ARMConstantPoolMBB *Create(LLVMContext &C,
/trueos/contrib/llvm/lib/AsmParser/
HDParser.cpp28 LLVMContext &Context) { in ParseAssembly()
44 LLVMContext &Context) { in ParseAssemblyFile()
56 SMDiagnostic &Err, LLVMContext &Context) { in ParseAssemblyString()
/trueos/contrib/llvm/tools/bugpoint/
HDBugDriver.h34 class LLVMContext; variable
47 LLVMContext& Context;
67 LLVMContext& ctxt);
72 LLVMContext& getContext() const { return Context; } in getContext()
303 LLVMContext& ctxt);

123456789