Home
last modified time | relevance | path

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

12345678910>>...33

/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DLLVMContext.cpp35 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext() function in LLVMContext
51 assert(DeoptEntry->second == LLVMContext::OB_deopt && in LLVMContext()
56 assert(FuncletEntry->second == LLVMContext::OB_funclet && in LLVMContext()
61 assert(GCTransitionEntry->second == LLVMContext::OB_gc_transition && in LLVMContext()
66 assert(CFGuardTargetEntry->second == LLVMContext::OB_cfguardtarget && in LLVMContext()
83 LLVMContext::~LLVMContext() { delete pImpl; } in ~LLVMContext()
85 void LLVMContext::addModule(Module *M) { in addModule()
89 void LLVMContext::removeModule(Module *M) { in removeModule()
97 void LLVMContext::
106 LLVMContext::InlineAsmDiagHandlerTy
[all …]
DType.cpp39 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType()
165 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; } in getVoidTy()
166 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy()
167 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; } in getHalfTy()
168 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy()
169 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; } in getDoubleTy()
170 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; } in getMetadataTy()
171 Type *Type::getTokenTy(LLVMContext &C) { return &C.pImpl->TokenTy; } in getTokenTy()
172 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; } in getX86_FP80Ty()
173 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; } in getFP128Ty()
[all …]
/external/llvm/lib/IR/
DLLVMContext.cpp35 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext() function in LLVMContext
142 assert(DeoptEntry->second == LLVMContext::OB_deopt && in LLVMContext()
147 assert(FuncletEntry->second == LLVMContext::OB_funclet && in LLVMContext()
152 assert(GCTransitionEntry->second == LLVMContext::OB_gc_transition && in LLVMContext()
157 LLVMContext::~LLVMContext() { delete pImpl; } in ~LLVMContext()
159 void LLVMContext::addModule(Module *M) { in addModule()
163 void LLVMContext::removeModule(Module *M) { in removeModule()
171 void LLVMContext::
180 LLVMContext::InlineAsmDiagHandlerTy
181 LLVMContext::getInlineAsmDiagnosticHandler() const { in getInlineAsmDiagnosticHandler()
[all …]
DType.cpp26 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType()
154 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; } in getVoidTy()
155 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy()
156 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; } in getHalfTy()
157 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy()
158 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; } in getDoubleTy()
159 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; } in getMetadataTy()
160 Type *Type::getTokenTy(LLVMContext &C) { return &C.pImpl->TokenTy; } in getTokenTy()
161 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; } in getX86_FP80Ty()
162 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()
161 GenericDINode *GenericDINode::getImpl(LLVMContext &Context, unsigned Tag, in getImpl()
215 DISubrange *DISubrange::getImpl(LLVMContext &Context, int64_t Count, int64_t Lo, in getImpl()
221 DIEnumerator *DIEnumerator::getImpl(LLVMContext &Context, int64_t Value, in getImpl()
230 DIBasicType *DIBasicType::getImpl(LLVMContext &Context, unsigned Tag, in getImpl()
243 LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File, in getImpl()
258 LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File, in getImpl()
279 LLVMContext &Context, MDString &Identifier, unsigned Tag, MDString *Name, in buildODRType()
313 LLVMContext &Context, MDString &Identifier, unsigned Tag, MDString *Name, in getODRType()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DType.h33 class LLVMContext; variable
81 LLVMContext &Context;
91 explicit Type(LLVMContext &C, TypeID tid) in Type()
130 LLVMContext &getContext() const { return Context; } in getContext()
403 static Type *getPrimitiveType(LLVMContext &C, TypeID IDNumber);
408 static Type *getVoidTy(LLVMContext &C);
409 static Type *getLabelTy(LLVMContext &C);
410 static Type *getHalfTy(LLVMContext &C);
411 static Type *getFloatTy(LLVMContext &C);
412 static Type *getDoubleTy(LLVMContext &C);
[all …]
DAttributes.h42 class LLVMContext; variable
91 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
92 static Attribute get(LLVMContext &Context, StringRef Kind,
94 static Attribute get(LLVMContext &Context, AttrKind Kind, Type *Ty);
98 static Attribute getWithAlignment(LLVMContext &Context, Align Alignment);
99 static Attribute getWithStackAlignment(LLVMContext &Context, Align Alignment);
100 static Attribute getWithDereferenceableBytes(LLVMContext &Context,
102 static Attribute getWithDereferenceableOrNullBytes(LLVMContext &Context,
104 static Attribute getWithAllocSizeArgs(LLVMContext &Context,
107 static Attribute getWithByValType(LLVMContext &Context, Type *Ty);
[all …]
DLLVMContext.h63 class LLVMContext {
66 LLVMContext();
67 LLVMContext(LLVMContext &) = delete;
68 LLVMContext &operator=(const LLVMContext &) = delete;
69 ~LLVMContext();
148 using YieldCallbackTy = void (*)(LLVMContext *Context, void *OpaqueHandle);
314 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LLVMContext, LLVMContextRef) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() argument
318 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
319 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
322 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap()
[all …]
DDebugInfoMetadata.h41 static CLASS *getDistinct(LLVMContext &Context, \
45 static Temp##CLASS getTemporary(LLVMContext &Context, \
51 static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \
54 static CLASS *getIfExists(LLVMContext &Context, \
123 DINode(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
141 static MDString *getCanonicalMDString(LLVMContext &Context, StringRef S) { in getCanonicalMDString()
218 GenericDINode(LLVMContext &C, StorageType Storage, unsigned Hash, in GenericDINode()
229 static GenericDINode *getImpl(LLVMContext &Context, unsigned Tag,
236 static GenericDINode *getImpl(LLVMContext &Context, unsigned Tag,
292 DISubrange(LLVMContext &C, StorageType Storage, Metadata *Node, in DISubrange()
[all …]
/external/llvm/include/llvm/IR/
DType.h32 class LLVMContext; variable
80 LLVMContext &Context;
87 explicit Type(LLVMContext &C, TypeID tid) in Type()
126 LLVMContext &getContext() const { return Context; } in getContext()
361 static Type *getPrimitiveType(LLVMContext &C, TypeID IDNumber);
366 static Type *getVoidTy(LLVMContext &C);
367 static Type *getLabelTy(LLVMContext &C);
368 static Type *getHalfTy(LLVMContext &C);
369 static Type *getFloatTy(LLVMContext &C);
370 static Type *getDoubleTy(LLVMContext &C);
[all …]
DAttributes.h39 class LLVMContext; variable
87 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
88 static Attribute get(LLVMContext &Context, StringRef Kind,
93 static Attribute getWithAlignment(LLVMContext &Context, uint64_t Align);
94 static Attribute getWithStackAlignment(LLVMContext &Context, uint64_t Align);
95 static Attribute getWithDereferenceableBytes(LLVMContext &Context,
97 static Attribute getWithDereferenceableOrNullBytes(LLVMContext &Context,
99 static Attribute getWithAllocSizeArgs(LLVMContext &Context,
223 static AttributeSet get(LLVMContext &C,
225 static AttributeSet get(LLVMContext &C,
[all …]
DLLVMContext.h43 class LLVMContext {
46 LLVMContext();
47 ~LLVMContext();
137 typedef void (*YieldCallbackTy)(LLVMContext *Context, void *OpaqueHandle);
240 LLVMContext(LLVMContext&) = delete;
241 void operator=(LLVMContext&) = delete;
255 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LLVMContext, LLVMContextRef) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() argument
259 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
260 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
263 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap()
[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, \
140 DINode(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
158 static MDString *getCanonicalMDString(LLVMContext &Context, StringRef S) { in getCanonicalMDString()
242 GenericDINode(LLVMContext &C, StorageType Storage, unsigned Hash,
253 static GenericDINode *getImpl(LLVMContext &Context, unsigned Tag,
260 static GenericDINode *getImpl(LLVMContext &Context, unsigned Tag,
317 DISubrange(LLVMContext &C, StorageType Storage, int64_t Count,
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DType.h32 class LLVMContext; variable
80 LLVMContext &Context;
89 explicit Type(LLVMContext &C, TypeID tid) in Type()
128 LLVMContext &getContext() const { return Context; } in getContext()
372 static Type *getPrimitiveType(LLVMContext &C, TypeID IDNumber);
377 static Type *getVoidTy(LLVMContext &C);
378 static Type *getLabelTy(LLVMContext &C);
379 static Type *getHalfTy(LLVMContext &C);
380 static Type *getFloatTy(LLVMContext &C);
381 static Type *getDoubleTy(LLVMContext &C);
[all …]
DAttributes.h38 class LLVMContext; variable
86 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
87 static Attribute get(LLVMContext &Context, StringRef Kind,
92 static Attribute getWithAlignment(LLVMContext &Context, uint64_t Align);
93 static Attribute getWithStackAlignment(LLVMContext &Context, uint64_t Align);
94 static Attribute getWithDereferenceableBytes(LLVMContext &Context,
96 static Attribute getWithDereferenceableOrNullBytes(LLVMContext &Context,
98 static Attribute getWithAllocSizeArgs(LLVMContext &Context,
219 static AttributeSet get(LLVMContext &C,
221 static AttributeSet get(LLVMContext &C,
[all …]
DLLVMContext.h48 class LLVMContext {
51 LLVMContext();
52 LLVMContext(LLVMContext &) = delete;
53 LLVMContext &operator=(const LLVMContext &) = delete;
54 ~LLVMContext();
146 typedef void (*YieldCallbackTy)(LLVMContext *Context, void *OpaqueHandle);
279 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LLVMContext, LLVMContextRef) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() argument
283 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
284 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
287 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap()
[all …]
/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.cpp343 case LLVMContext::MD_dbg: in combineLoadToNewType()
344 case LLVMContext::MD_tbaa: in combineLoadToNewType()
345 case LLVMContext::MD_prof: in combineLoadToNewType()
346 case LLVMContext::MD_fpmath: in combineLoadToNewType()
347 case LLVMContext::MD_tbaa_struct: in combineLoadToNewType()
348 case LLVMContext::MD_invariant_load: in combineLoadToNewType()
349 case LLVMContext::MD_alias_scope: in combineLoadToNewType()
350 case LLVMContext::MD_noalias: in combineLoadToNewType()
351 case LLVMContext::MD_nontemporal: in combineLoadToNewType()
352 case LLVMContext::MD_mem_parallel_loop_access: in combineLoadToNewType()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitcode/
DBitcodeReader.h31 class LLVMContext; variable
38 std::error_code errorToErrorCodeAndEmitErrors(LLVMContext &Ctx, Error Err);
41 ErrorOr<T> expectedToErrorOrAndEmitErrors(LLVMContext &Ctx, Expected<T> Val) { in expectedToErrorOrAndEmitErrors()
80 Expected<std::unique_ptr<Module>> getModuleImpl(LLVMContext &Context,
98 Expected<std::unique_ptr<Module>> getLazyModule(LLVMContext &Context,
103 Expected<std::unique_ptr<Module>> parseModule(LLVMContext &Context);
139 getLazyBitcodeModule(MemoryBufferRef Buffer, LLVMContext &Context,
148 std::unique_ptr<MemoryBuffer> &&Buffer, LLVMContext &Context,
167 LLVMContext &Context);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IRReader/
DIRReader.h27 class LLVMContext; variable
36 SMDiagnostic &Err, LLVMContext &Context,
45 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
56 LLVMContext &Context,
68 LLVMContext &Context,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DValueTypes.h28 class LLVMContext; variable
64 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) { in getIntegerVT()
73 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements,
85 static EVT getVectorVT(LLVMContext &Context, EVT VT, ElementCount EC) { in getVectorVT()
332 EVT getRoundIntegerType(LLVMContext &Context) const { in getRoundIntegerType()
343 EVT getHalfSizedIntegerVT(LLVMContext &Context) const { in getHalfSizedIntegerVT()
357 EVT widenIntegerVectorElementType(LLVMContext &Context) const { in widenIntegerVectorElementType()
366 EVT getHalfNumVectorElementsVT(LLVMContext &Context) const { in getHalfNumVectorElementsVT()
381 EVT getPow2VectorType(LLVMContext &Context) const { in getPow2VectorType()
399 Type *getTypeForEVT(LLVMContext &Context) const;
[all …]
/external/llvm/include/llvm/Bitcode/
DReaderWriter.h28 class LLVMContext; variable
47 LLVMContext &Context,
55 LLVMContext &Context);
61 LLVMContext &Context);
66 LLVMContext &Context);
72 LLVMContext &Context);
76 LLVMContext &Context);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/AsmParser/
DParser.h21 class LLVMContext; variable
44 parseAssemblyFile(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
65 LLVMContext &Context,
95 LLVMContext &Context, SlotMapping *Slots = nullptr,
121 LLVMContext &Context,
140 LLVMContext &Context,
/external/llvm/unittests/Transforms/Utils/
DValueMapperTest.cpp23 LLVMContext Context; in TEST()
32 LLVMContext Context; in TEST()
68 LLVMContext Context; in TEST()
109 LLVMContext Context; in TEST()
117 LLVMContext Context; in TEST()
133 LLVMContext Context; in TEST()
148 LLVMContext Context; in TEST()
161 LLVMContext Context; in TEST()
174 LLVMContext C; in TEST()
186 LLVMContext C; in TEST()
[all …]

12345678910>>...33