Home
last modified time | relevance | path

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

12345678910>>...45

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DLLVMContext.cpp35 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext() function in LLVMContext
73 assert(DeoptEntry->second == LLVMContext::OB_deopt && in LLVMContext()
78 assert(FuncletEntry->second == LLVMContext::OB_funclet && in LLVMContext()
83 assert(GCTransitionEntry->second == LLVMContext::OB_gc_transition && in LLVMContext()
100 LLVMContext::~LLVMContext() { delete pImpl; } in ~LLVMContext()
102 void LLVMContext::addModule(Module *M) { in addModule()
106 void LLVMContext::removeModule(Module *M) { in removeModule()
114 void LLVMContext::
123 LLVMContext::InlineAsmDiagHandlerTy
124 LLVMContext::getInlineAsmDiagnosticHandler() const { in getInlineAsmDiagnosticHandler()
[all …]
DType.cpp39 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType()
161 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; } in getVoidTy()
162 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy()
163 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; } in getHalfTy()
164 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy()
165 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; } in getDoubleTy()
166 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; } in getMetadataTy()
167 Type *Type::getTokenTy(LLVMContext &C) { return &C.pImpl->TokenTy; } in getTokenTy()
168 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; } in getX86_FP80Ty()
169 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 …]
/external/swiftshader/third_party/LLVM/include/llvm/
DType.h26 class LLVMContext; variable
75 LLVMContext &Context;
82 explicit Type(LLVMContext &C, TypeID tid) in Type()
110 LLVMContext &getContext() const { return Context; } in getContext()
302 static Type *getPrimitiveType(LLVMContext &C, TypeID IDNumber);
307 static Type *getVoidTy(LLVMContext &C);
308 static Type *getLabelTy(LLVMContext &C);
309 static Type *getFloatTy(LLVMContext &C);
310 static Type *getDoubleTy(LLVMContext &C);
311 static Type *getMetadataTy(LLVMContext &C);
[all …]
DLLVMContext.h32 class LLVMContext {
35 LLVMContext();
36 ~LLVMContext();
88 LLVMContext(LLVMContext&);
89 void operator=(LLVMContext&);
104 extern LLVMContext &getGlobalContext();
DMetadata.h27 class LLVMContext; variable
42 explicit MDString(LLVMContext &C, StringRef S);
45 static MDString *get(LLVMContext &Context, StringRef Str);
46 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);
/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.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,
224 static AttributeSet get(LLVMContext &C,
226 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/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-7.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()
390 static Type *getPrimitiveType(LLVMContext &C, TypeID IDNumber);
395 static Type *getVoidTy(LLVMContext &C);
396 static Type *getLabelTy(LLVMContext &C);
397 static Type *getHalfTy(LLVMContext &C);
398 static Type *getFloatTy(LLVMContext &C);
399 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,
97 static Attribute getWithAlignment(LLVMContext &Context, uint64_t Align);
98 static Attribute getWithStackAlignment(LLVMContext &Context, uint64_t Align);
99 static Attribute getWithDereferenceableBytes(LLVMContext &Context,
101 static Attribute getWithDereferenceableOrNullBytes(LLVMContext &Context,
103 static Attribute getWithAllocSizeArgs(LLVMContext &Context,
225 static AttributeSet get(LLVMContext &C, const AttrBuilder &B);
226 static AttributeSet get(LLVMContext &C, ArrayRef<Attribute> Attrs);
[all …]
DLLVMContext.h69 class LLVMContext {
72 LLVMContext();
73 LLVMContext(LLVMContext &) = delete;
74 LLVMContext &operator=(const LLVMContext &) = delete;
75 ~LLVMContext();
175 using YieldCallbackTy = void (*)(LLVMContext *Context, void *OpaqueHandle);
342 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LLVMContext, LLVMContextRef) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() argument
346 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
347 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
350 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 …]
/external/swiftshader/third_party/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
47 LLVMContext::~LLVMContext() { delete pImpl; } in ~LLVMContext()
49 void LLVMContext::addModule(Module *M) { in addModule()
53 void LLVMContext::removeModule(Module *M) { in removeModule()
61 void LLVMContext::
70 LLVMContext::InlineAsmDiagHandlerTy
71 LLVMContext::getInlineAsmDiagnosticHandler() const { in getInlineAsmDiagnosticHandler()
77 void *LLVMContext::getInlineAsmDiagnosticContext() const { in getInlineAsmDiagnosticContext()
[all …]
DType.cpp25 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType()
200 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; } in getVoidTy()
201 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy()
202 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy()
203 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; } in getDoubleTy()
204 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; } in getMetadataTy()
205 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; } in getX86_FP80Ty()
206 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; } in getFP128Ty()
207 Type *Type::getPPC_FP128Ty(LLVMContext &C) { return &C.pImpl->PPC_FP128Ty; } in getPPC_FP128Ty()
208 Type *Type::getX86_MMXTy(LLVMContext &C) { return &C.pImpl->X86_MMXTy; } in getX86_MMXTy()
[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/swiftshader/third_party/LLVM/include/llvm/Support/
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 …]
DDebugLoc.h22 class LLVMContext; variable
81 MDNode *getScope(const LLVMContext &Ctx) const;
85 MDNode *getInlinedAt(const LLVMContext &Ctx) const;
89 const LLVMContext &Ctx) const;
94 MDNode *getAsMDNode(const LLVMContext &Ctx) const;
101 void dump(const LLVMContext &Ctx) const;
/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 …]

12345678910>>...45