Home
last modified time | relevance | path

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

12345678910>>...14

/external/llvm/include/llvm/IR/
DType.h31 class LLVMContext; variable
79 LLVMContext &Context;
86 explicit Type(LLVMContext &C, TypeID tid) in Type()
115 LLVMContext &getContext() const { return Context; } in getContext()
369 static Type *getPrimitiveType(LLVMContext &C, TypeID IDNumber);
374 static Type *getVoidTy(LLVMContext &C);
375 static Type *getLabelTy(LLVMContext &C);
376 static Type *getHalfTy(LLVMContext &C);
377 static Type *getFloatTy(LLVMContext &C);
378 static Type *getDoubleTy(LLVMContext &C);
[all …]
DLLVMContext.h40 class LLVMContext {
43 LLVMContext();
44 ~LLVMContext();
106 typedef void (*YieldCallbackTy)(LLVMContext *Context, void *OpaqueHandle);
202 LLVMContext(LLVMContext&) = delete;
203 void operator=(LLVMContext&) = delete;
218 extern LLVMContext &getGlobalContext();
221 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LLVMContext, LLVMContextRef) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() argument
225 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
226 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
[all …]
DAttributes.h36 class LLVMContext; variable
84 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
85 static Attribute get(LLVMContext &Context, StringRef Kind,
90 static Attribute getWithAlignment(LLVMContext &Context, uint64_t Align);
91 static Attribute getWithStackAlignment(LLVMContext &Context, uint64_t Align);
92 static Attribute getWithDereferenceableBytes(LLVMContext &Context,
94 static Attribute getWithDereferenceableOrNullBytes(LLVMContext &Context,
193 static AttributeSet get(LLVMContext &C,
195 static AttributeSet get(LLVMContext &C,
199 static AttributeSet getImpl(LLVMContext &C,
[all …]
DTypeBuilder.h114 static PointerType *get(LLVMContext &Context) { in get()
125 static ArrayType *get(LLVMContext &Context) { in get()
132 static ArrayType *get(LLVMContext &Context) { in get()
162 static IntegerType *get(LLVMContext &Context) { \
191 static IntegerType *get(LLVMContext &C) { in get()
198 static Type *get(LLVMContext& C) { in get()
206 static Type *get(LLVMContext& C) { in get()
214 static Type *get(LLVMContext& C) { return Type::getFloatTy(C); } in get()
218 static Type *get(LLVMContext& C) { return Type::getDoubleTy(C); } in get()
222 static Type *get(LLVMContext& C) { return Type::getX86_FP80Ty(C); } in get()
[all …]
DDebugInfoMetadata.h24 static CLASS *getDistinct(LLVMContext &Context, \
28 static Temp##CLASS getTemporary(LLVMContext &Context, \
34 static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \
37 static CLASS *getIfExists(LLVMContext &Context, \
152 DINode(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
170 static MDString *getCanonicalMDString(LLVMContext &Context, StringRef S) { in getCanonicalMDString()
251 GenericDINode(LLVMContext &C, StorageType Storage, unsigned Hash,
262 static GenericDINode *getImpl(LLVMContext &Context, unsigned Tag,
269 static GenericDINode *getImpl(LLVMContext &Context, unsigned Tag,
325 DISubrange(LLVMContext &C, StorageType Storage, int64_t Count,
[all …]
DMetadata.h31 class LLVMContext; variable
185 static MetadataAsValue *get(LLVMContext &Context, Metadata *MD);
186 static MetadataAsValue *getIfExists(LLVMContext &Context, Metadata *MD);
211 LLVMContext &Context;
216 ReplaceableMetadataImpl(LLVMContext &Context) in ReplaceableMetadataImpl()
222 LLVMContext &getContext() const { return Context; } in getContext()
289 LLVMContext &getContext() const { return V->getContext(); } in getContext()
520 static MDString *get(LLVMContext &Context, StringRef Str);
521 static MDString *get(LLVMContext &Context, const char *Str) { in get()
657 PointerUnion<LLVMContext *, ReplaceableMetadataImpl *> Ptr;
[all …]
DDerivedTypes.h29 class LLVMContext; variable
41 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType()
59 static IntegerType *get(LLVMContext &C, unsigned NumBits);
150 explicit CompositeType(LLVMContext &C, TypeID tid) : Type(C, tid) {} in CompositeType()
193 StructType(LLVMContext &C) in StructType()
212 static StructType *create(LLVMContext &Context, StringRef Name);
213 static StructType *create(LLVMContext &Context);
218 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements,
220 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements);
225 static StructType *get(LLVMContext &Context, ArrayRef<Type*> Elements,
[all …]
DConstants.h64 static ConstantInt *getTrue(LLVMContext &Context);
65 static ConstantInt *getFalse(LLVMContext &Context);
92 static ConstantInt *get(LLVMContext &Context, const APInt &V);
263 static ConstantFP *get(LLVMContext &Context, const APFloat &V);
421 static Constant *getAnon(LLVMContext &Ctx,
431 static StructType *getTypeForElements(LLVMContext &Ctx,
698 static Constant *get(LLVMContext &Context, ArrayRef<uint8_t> Elts);
699 static Constant *get(LLVMContext &Context, ArrayRef<uint16_t> Elts);
700 static Constant *get(LLVMContext &Context, ArrayRef<uint32_t> Elts);
701 static Constant *get(LLVMContext &Context, ArrayRef<uint64_t> Elts);
[all …]
/external/llvm/lib/IR/
DLLVMContext.cpp28 static ManagedStatic<LLVMContext> GlobalContext;
30 LLVMContext& llvm::getGlobalContext() { in getGlobalContext()
34 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext() function in LLVMContext
132 assert(DeoptEntry->second == LLVMContext::OB_deopt && in LLVMContext()
137 assert(FuncletEntry->second == LLVMContext::OB_funclet && in LLVMContext()
141 LLVMContext::~LLVMContext() { delete pImpl; } in ~LLVMContext()
143 void LLVMContext::addModule(Module *M) { in addModule()
147 void LLVMContext::removeModule(Module *M) { in removeModule()
155 void LLVMContext::
164 LLVMContext::InlineAsmDiagHandlerTy
[all …]
DType.cpp26 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType()
218 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; } in getVoidTy()
219 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy()
220 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; } in getHalfTy()
221 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy()
222 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; } in getDoubleTy()
223 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; } in getMetadataTy()
224 Type *Type::getTokenTy(LLVMContext &C) { return &C.pImpl->TokenTy; } in getTokenTy()
225 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; } in getX86_FP80Ty()
226 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; } in getFP128Ty()
[all …]
DDebugInfoMetadata.cpp22 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, in DILocation()
41 DILocation *DILocation::getImpl(LLVMContext &Context, unsigned Line, in getImpl()
176 GenericDINode *GenericDINode::getImpl(LLVMContext &Context, unsigned Tag, in getImpl()
231 DISubrange *DISubrange::getImpl(LLVMContext &Context, int64_t Count, int64_t Lo, in getImpl()
237 DIEnumerator *DIEnumerator::getImpl(LLVMContext &Context, int64_t Value, in getImpl()
246 DIBasicType *DIBasicType::getImpl(LLVMContext &Context, unsigned Tag, in getImpl()
259 LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File, in getImpl()
274 LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File, in getImpl()
293 DISubroutineType *DISubroutineType::getImpl(LLVMContext &Context, in getImpl()
302 DIFile *DIFile::getImpl(LLVMContext &Context, MDString *Filename, in getImpl()
[all …]
DDiagnosticInfo.cpp188 void llvm::emitOptimizationRemark(LLVMContext &Ctx, const char *PassName, in emitOptimizationRemark()
194 void llvm::emitOptimizationRemarkMissed(LLVMContext &Ctx, const char *PassName, in emitOptimizationRemarkMissed()
201 void llvm::emitOptimizationRemarkAnalysis(LLVMContext &Ctx, in emitOptimizationRemarkAnalysis()
210 void llvm::emitOptimizationRemarkAnalysisFPCommute(LLVMContext &Ctx, in emitOptimizationRemarkAnalysisFPCommute()
219 void llvm::emitOptimizationRemarkAnalysisAliasing(LLVMContext &Ctx, in emitOptimizationRemarkAnalysisAliasing()
233 void llvm::emitLoopVectorizeWarning(LLVMContext &Ctx, const Function &Fn, in emitLoopVectorizeWarning()
239 void llvm::emitLoopInterleaveWarning(LLVMContext &Ctx, const Function &Fn, in emitLoopInterleaveWarning()
/external/clang/include/clang/CodeGen/
DCodeGenAction.h17 class LLVMContext; variable
31 llvm::LLVMContext *VMContext;
38 CodeGenAction(unsigned _Act, llvm::LLVMContext *_VMContext = nullptr);
64 llvm::LLVMContext *takeLLVMContext();
72 EmitAssemblyAction(llvm::LLVMContext *_VMContext = nullptr);
78 EmitBCAction(llvm::LLVMContext *_VMContext = nullptr);
84 EmitLLVMAction(llvm::LLVMContext *_VMContext = nullptr);
90 EmitLLVMOnlyAction(llvm::LLVMContext *_VMContext = nullptr);
96 EmitCodeGenOnlyAction(llvm::LLVMContext *_VMContext = nullptr);
102 EmitObjAction(llvm::LLVMContext *_VMContext = nullptr);
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp340 case LLVMContext::MD_dbg: in combineLoadToNewType()
341 case LLVMContext::MD_tbaa: in combineLoadToNewType()
342 case LLVMContext::MD_prof: in combineLoadToNewType()
343 case LLVMContext::MD_fpmath: in combineLoadToNewType()
344 case LLVMContext::MD_tbaa_struct: in combineLoadToNewType()
345 case LLVMContext::MD_invariant_load: in combineLoadToNewType()
346 case LLVMContext::MD_alias_scope: in combineLoadToNewType()
347 case LLVMContext::MD_noalias: in combineLoadToNewType()
348 case LLVMContext::MD_nontemporal: in combineLoadToNewType()
349 case LLVMContext::MD_mem_parallel_loop_access: in combineLoadToNewType()
[all …]
/external/llvm/include/llvm/LTO/
DLTOModule.h48 std::unique_ptr<LLVMContext> OwnedContext;
63 std::unique_ptr<LLVMContext> Context);
95 createFromFile(LLVMContext &Context, const char *path, TargetOptions options);
97 createFromOpenFile(LLVMContext &Context, int fd, const char *path,
100 createFromOpenFileSlice(LLVMContext &Context, int fd, const char *path,
103 createFromBuffer(LLVMContext &Context, const void *mem, size_t length,
111 StringRef path, LLVMContext *Context);
211 LLVMContext *Context);
/external/llvm/include/llvm/CodeGen/
DValueTypes.h25 class LLVMContext; variable
61 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) { in getIntegerVT()
70 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) { in getVectorVT()
276 EVT getRoundIntegerType(LLVMContext &Context) const { in getRoundIntegerType()
288 EVT getHalfSizedIntegerVT(LLVMContext &Context) const { in getHalfSizedIntegerVT()
302 EVT widenIntegerVectorElementType(LLVMContext &Context) const { in widenIntegerVectorElementType()
316 EVT getPow2VectorType(LLVMContext &Context) const { in getPow2VectorType()
334 Type *getTypeForEVT(LLVMContext &Context) const;
365 static EVT getExtendedIntegerVT(LLVMContext &C, unsigned BitWidth);
366 static EVT getExtendedVectorVT(LLVMContext &C, EVT VT,
/external/llvm/include/llvm/IRReader/
DIRReader.h25 class LLVMContext; variable
33 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
40 LLVMContext &Context);
46 LLVMContext &Context);
/external/llvm/include/llvm/ProfileData/
DSampleProfReader.h234 SampleProfileReader(std::unique_ptr<MemoryBuffer> B, LLVMContext &C) in SampleProfileReader()
267 create(StringRef Filename, LLVMContext &C);
271 create(std::unique_ptr<MemoryBuffer> &B, LLVMContext &C);
282 LLVMContext &Ctx;
290 SampleProfileReaderText(std::unique_ptr<MemoryBuffer> B, LLVMContext &C) in SampleProfileReaderText()
305 SampleProfileReaderBinary(std::unique_ptr<MemoryBuffer> B, LLVMContext &C) in SampleProfileReaderBinary()
370 SampleProfileReaderGCC(std::unique_ptr<MemoryBuffer> B, LLVMContext &C) in SampleProfileReaderGCC()
/external/llvm/include/llvm/Bitcode/
DReaderWriter.h28 class LLVMContext; variable
39 LLVMContext &Context,
47 LLVMContext &Context);
53 LLVMContext &Context);
59 LLVMContext &Context);
63 LLVMContext &Context);
/external/llvm/include/llvm/AsmParser/
DParser.h22 class LLVMContext; variable
40 LLVMContext &Context,
56 LLVMContext &Context,
66 LLVMContext &Context,
/external/llvm/lib/Bitcode/Reader/
DBitReader.cpp50 LLVMContext &Ctx = *unwrap(ContextRef); in LLVMParseBitcodeInContext()
52 LLVMContext::DiagnosticHandlerTy OldDiagnosticHandler = in LLVMParseBitcodeInContext()
77 LLVMContext &Ctx = *unwrap(ContextRef); in LLVMParseBitcodeInContext2()
95 LLVMContext &Ctx = *unwrap(ContextRef); in LLVMGetBitcodeModuleInContext()
96 LLVMContext::DiagnosticHandlerTy OldDiagnosticHandler = in LLVMGetBitcodeModuleInContext()
124 LLVMContext &Ctx = *unwrap(ContextRef); in LLVMGetBitcodeModuleInContext2()
/external/llvm/lib/Analysis/
DScopedNoAliasAA.cpp102 LLVMContext::MD_noalias))) in getModRefInfo()
106 CS.getInstruction()->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo()
119 CS1.getInstruction()->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo()
120 CS2.getInstruction()->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo()
124 CS2.getInstruction()->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo()
125 CS1.getInstruction()->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo()
DTypeBasedAliasAnalysis.cpp331 if (const MDNode *M = CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefBehavior()
351 CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
364 CS1.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
366 CS2.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
462 MDNode::getMostGenericTBAA(N.TBAA, getMetadata(LLVMContext::MD_tbaa)); in getAAMetadata()
464 N.TBAA = getMetadata(LLVMContext::MD_tbaa); in getAAMetadata()
468 N.Scope, getMetadata(LLVMContext::MD_alias_scope)); in getAAMetadata()
470 N.Scope = getMetadata(LLVMContext::MD_alias_scope); in getAAMetadata()
474 MDNode::intersect(N.NoAlias, getMetadata(LLVMContext::MD_noalias)); in getAAMetadata()
476 N.NoAlias = getMetadata(LLVMContext::MD_noalias); in getAAMetadata()
/external/llvm/unittests/AsmParser/
DAsmParserTest.cpp24 LLVMContext &Ctx = getGlobalContext(); in TEST()
37 LLVMContext &Ctx = getGlobalContext(); in TEST()
50 LLVMContext &Ctx = getGlobalContext(); in TEST()
69 LLVMContext &Ctx = getGlobalContext(); in TEST()
120 LLVMContext &Ctx = getGlobalContext(); in TEST()
/external/llvm/unittests/Bitcode/
DBitReaderTest.cpp54 static std::unique_ptr<Module> getLazyModuleFromAssembly(LLVMContext &Context, in getLazyModuleFromAssembly()
83 getStreamedModuleFromAssembly(LLVMContext &Context, SmallString<1024> &Mem, in getStreamedModuleFromAssembly()
132 LLVMContext Context; in TEST()
146 LLVMContext Context; in TEST()
210 LLVMContext Context; in TEST()
224 LLVMContext Context; in TEST()
251 LLVMContext Context; in TEST()

12345678910>>...14