Home
last modified time | relevance | path

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

12345678910>>...16

/freebsd-12.1/contrib/llvm/lib/IR/
H A DLLVMContext.cpp35 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext() function in LLVMContext
101 LLVMContext::~LLVMContext() { delete pImpl; } in ~LLVMContext()
103 void LLVMContext::addModule(Module *M) { in addModule()
107 void LLVMContext::removeModule(Module *M) { in removeModule()
115 void LLVMContext::
124 LLVMContext::InlineAsmDiagHandlerTy
135 void LLVMContext::setDiagnosticHandlerCallBack( in setDiagnosticHandlerCallBack()
176 void *LLVMContext::getDiagnosticContext() const { in getDiagnosticContext()
186 void LLVMContext::yield() { in yield()
313 void LLVMContext::deleteGC(const Function &Fn) { in deleteGC()
[all …]
H A DType.cpp39 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType()
180 IntegerType *Type::getIntNTy(LLVMContext &C, unsigned N) { in getIntNTy()
184 PointerType *Type::getHalfPtrTy(LLVMContext &C, unsigned AS) { in getHalfPtrTy()
188 PointerType *Type::getFloatPtrTy(LLVMContext &C, unsigned AS) { in getFloatPtrTy()
200 PointerType *Type::getFP128PtrTy(LLVMContext &C, unsigned AS) { in getFP128PtrTy()
216 PointerType *Type::getInt1PtrTy(LLVMContext &C, unsigned AS) { in getInt1PtrTy()
220 PointerType *Type::getInt8PtrTy(LLVMContext &C, unsigned AS) { in getInt8PtrTy()
224 PointerType *Type::getInt16PtrTy(LLVMContext &C, unsigned AS) { in getInt16PtrTy()
228 PointerType *Type::getInt32PtrTy(LLVMContext &C, unsigned AS) { in getInt32PtrTy()
232 PointerType *Type::getInt64PtrTy(LLVMContext &C, unsigned AS) { in getInt64PtrTy()
[all …]
H A DAttributes.cpp521 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute()
536 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes()
551 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
559 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
567 AttributeSet AttributeSet::removeAttributes(LLVMContext &C, in removeAttributes()
651 AttributeSetNode *AttributeSetNode::get(LLVMContext &C, in get()
806 AttributeListImpl::AttributeListImpl(LLVMContext &C, in AttributeListImpl()
846 AttributeList AttributeList::getImpl(LLVMContext &C, in getImpl()
873 AttributeList::get(LLVMContext &C, in get()
909 AttributeList::get(LLVMContext &C, in get()
[all …]
H A DDebugInfoMetadata.cpp27 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, in DILocation()
49 DILocation *DILocation::getImpl(LLVMContext &Context, unsigned Line, in getImpl()
337 DIBasicType *DIBasicType::getImpl(LLVMContext &Context, unsigned Tag, in getImpl()
494 DIFile *DIFile::getImpl(LLVMContext &Context, MDString *Filename, in getImpl()
510 LLVMContext &Context, unsigned SourceLanguage, Metadata *File, in getImpl()
624 LLVMContext &Context, Metadata *Scope, MDString *Name, in getImpl()
677 DILexicalBlockFile *DILexicalBlockFile::getImpl(LLVMContext &Context, in getImpl()
698 DIModule *DIModule::getImpl(LLVMContext &Context, Metadata *Scope, in getImpl()
796 DILabel *DILabel::getImpl(LLVMContext &Context, Metadata *Scope, in getImpl()
808 DIExpression *DIExpression::getImpl(LLVMContext &Context, in getImpl()
[all …]
H A DIRBuilder.cpp117 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemSet()
123 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateMemSet()
147 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateElementUnorderedAtomicMemSet()
153 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateElementUnorderedAtomicMemSet()
182 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemCpy()
192 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateMemCpy()
223 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateElementUnorderedAtomicMemCpy()
233 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateElementUnorderedAtomicMemCpy()
262 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemMove()
268 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateMemMove()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DType.h33 class LLVMContext; variable
81 LLVMContext &Context;
91 explicit Type(LLVMContext &C, TypeID tid) in Type()
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);
402 static Type *getFP128Ty(LLVMContext &C);
404 static Type *getX86_MMXTy(LLVMContext &C);
[all …]
H A DAttributes.h42 class LLVMContext; variable
92 static Attribute get(LLVMContext &Context, StringRef Kind,
103 static Attribute getWithAllocSizeArgs(LLVMContext &Context,
233 LLVM_NODISCARD AttributeSet addAttribute(LLVMContext &C,
243 LLVM_NODISCARD AttributeSet addAttributes(LLVMContext &C,
348 static AttributeList get(LLVMContext &C,
350 static AttributeList get(LLVMContext &C,
373 static AttributeList get(LLVMContext &C, unsigned Index,
375 static AttributeList get(LLVMContext &C, unsigned Index,
377 static AttributeList get(LLVMContext &C, unsigned Index,
[all …]
H A DLLVMContext.h69 class LLVMContext {
72 LLVMContext();
73 LLVMContext(LLVMContext &) = delete;
74 LLVMContext &operator=(const LLVMContext &) = delete;
75 ~LLVMContext();
176 using YieldCallbackTy = void (*)(LLVMContext *Context, void *OpaqueHandle);
343 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LLVMContext, LLVMContextRef) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() argument
347 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
348 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
351 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap()
[all …]
H A DDebugInfoMetadata.h266 GenericDINode(LLVMContext &C, StorageType Storage, unsigned Hash,
340 DISubrange(LLVMContext &C, StorageType Storage, Metadata *Node,
347 static DISubrange *getImpl(LLVMContext &Context, int64_t Count,
400 DIEnumerator(LLVMContext &C, StorageType Storage, int64_t Value,
539 DIFile(LLVMContext &C, StorageType Storage,
742 DIBasicType(LLVMContext &C, StorageType Storage, unsigned Tag,
750 static DIBasicType *getImpl(LLVMContext &Context, unsigned Tag,
1961 DILexicalBlockFile(LLVMContext &C, StorageType Storage,
2354 static DIExpression *getImpl(LLVMContext &Context,
2601 getImpl(LLVMContext &Context, DIScope *Scope, StringRef Name,
[all …]
H A DDerivedTypes.h34 class LLVMContext; variable
44 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType()
63 static IntegerType *get(LLVMContext &C, unsigned NumBits);
164 explicit CompositeType(LLVMContext &C, TypeID tid) : Type(C, tid) {} in CompositeType()
202 StructType(LLVMContext &C) : CompositeType(C, StructTyID) {} in StructType()
223 static StructType *create(LLVMContext &Context, StringRef Name);
224 static StructType *create(LLVMContext &Context);
229 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements,
242 static StructType *get(LLVMContext &Context, ArrayRef<Type*> Elements,
246 static StructType *get(LLVMContext &Context, bool isPacked = false);
[all …]
H A DMetadata.h286 LLVMContext &Context;
297 LLVMContext &getContext() const { return Context; } in getContext()
381 LLVMContext &getContext() const { return V->getContext(); } in getContext()
616 static MDString *get(LLVMContext &Context, StringRef Str);
788 operator LLVMContext &() { return getContext(); }
795 LLVMContext &getContext() const {
798 return *Ptr.get<LLVMContext *>();
908 static inline MDTuple *getIfExists(LLVMContext &Context,
910 static inline MDTuple *getDistinct(LLVMContext &Context,
1153 static TempMDTuple getTemporary(LLVMContext &Context,
[all …]
H A DConstants.h96 static ConstantInt *getTrue(LLVMContext &Context);
97 static ConstantInt *getFalse(LLVMContext &Context);
124 static ConstantInt *get(LLVMContext &Context, const APInt &V);
292 static ConstantFP *get(LLVMContext &Context, const APFloat &V);
472 static Constant *getAnon(LLVMContext &Ctx,
482 static StructType *getTypeForElements(LLVMContext &Ctx,
712 static Constant *get(LLVMContext &Context, ArrayTy &Elts) {
778 static Constant *get(LLVMContext &Context, ArrayRef<float> Elts);
779 static Constant *get(LLVMContext &Context, ArrayRef<double> Elts);
821 explicit ConstantTokenNone(LLVMContext &Context)
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/CodeGen/
H A DCodeGenAction.h17 class LLVMContext; variable
51 llvm::LLVMContext *VMContext;
60 CodeGenAction(unsigned _Act, llvm::LLVMContext *_VMContext = nullptr);
79 llvm::LLVMContext *takeLLVMContext();
87 EmitAssemblyAction(llvm::LLVMContext *_VMContext = nullptr);
93 EmitBCAction(llvm::LLVMContext *_VMContext = nullptr);
99 EmitLLVMAction(llvm::LLVMContext *_VMContext = nullptr);
105 EmitLLVMOnlyAction(llvm::LLVMContext *_VMContext = nullptr);
111 EmitCodeGenOnlyAction(llvm::LLVMContext *_VMContext = nullptr);
117 EmitObjAction(llvm::LLVMContext *_VMContext = nullptr);
/freebsd-12.1/contrib/llvm/include/llvm/Bitcode/
H A DBitcodeReader.h32 class LLVMContext; variable
39 std::error_code errorToErrorCodeAndEmitErrors(LLVMContext &Ctx, Error Err);
42 ErrorOr<T> expectedToErrorOrAndEmitErrors(LLVMContext &Ctx, Expected<T> Val) { in expectedToErrorOrAndEmitErrors()
81 Expected<std::unique_ptr<Module>> getModuleImpl(LLVMContext &Context,
99 Expected<std::unique_ptr<Module>> getLazyModule(LLVMContext &Context,
104 Expected<std::unique_ptr<Module>> parseModule(LLVMContext &Context);
140 getLazyBitcodeModule(MemoryBufferRef Buffer, LLVMContext &Context,
149 std::unique_ptr<MemoryBuffer> &&Buffer, LLVMContext &Context,
168 LLVMContext &Context);
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A 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,
317 EVT getRoundIntegerType(LLVMContext &Context) const { in getRoundIntegerType()
328 EVT getHalfSizedIntegerVT(LLVMContext &Context) const { in getHalfSizedIntegerVT()
342 EVT widenIntegerVectorElementType(LLVMContext &Context) const { in widenIntegerVectorElementType()
351 EVT getHalfNumVectorElementsVT(LLVMContext &Context) const { in getHalfNumVectorElementsVT()
366 EVT getPow2VectorType(LLVMContext &Context) const { in getPow2VectorType()
384 Type *getTypeForEVT(LLVMContext &Context) const;
415 static EVT getExtendedIntegerVT(LLVMContext &C, unsigned BitWidth);
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/AsmParser/
H A DParser.h22 class LLVMContext; variable
45 parseAssemblyFile(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
66 LLVMContext &Context,
96 LLVMContext &Context, SlotMapping *Slots = nullptr,
122 LLVMContext &Context,
141 LLVMContext &Context,
/freebsd-12.1/contrib/llvm/include/llvm/ProfileData/
H A DSampleProfReader.h268 SampleProfileReader(std::unique_ptr<MemoryBuffer> B, LLVMContext &C,
317 create(const Twine &Filename, LLVMContext &C);
321 create(std::unique_ptr<MemoryBuffer> &B, LLVMContext &C);
338 LLVMContext &Ctx;
361 SampleProfileReaderText(std::unique_ptr<MemoryBuffer> B, LLVMContext &C) in SampleProfileReaderText()
376 SampleProfileReaderBinary(std::unique_ptr<MemoryBuffer> B, LLVMContext &C,
449 SampleProfileReaderRawBinary(std::unique_ptr<MemoryBuffer> B, LLVMContext &C) in SampleProfileReaderRawBinary()
474 LLVMContext &C) in SampleProfileReaderCompactBinary()
504 SampleProfileReaderGCC(std::unique_ptr<MemoryBuffer> B, LLVMContext &C) in SampleProfileReaderGCC()
546 std::unique_ptr<MemoryBuffer> B, LLVMContext &C, in SampleProfileReaderItaniumRemapper()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/LTO/legacy/
H A DLTOModule.h47 std::unique_ptr<LLVMContext> OwnedContext;
98 createFromFile(LLVMContext &Context, StringRef path,
101 createFromOpenFile(LLVMContext &Context, int fd, StringRef path, size_t size,
104 createFromOpenFileSlice(LLVMContext &Context, int fd, StringRef path,
108 createFromBuffer(LLVMContext &Context, const void *mem, size_t length,
111 createInLocalContext(std::unique_ptr<LLVMContext> Context, const void *mem,
205 LLVMContext &Context, bool ShouldBeLazy);
/freebsd-12.1/contrib/llvm/include/llvm/IRReader/
H A DIRReader.h27 class LLVMContext; variable
35 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
46 LLVMContext &Context,
58 LLVMContext &Context,
/freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/Orc/
H A DThreadSafeModule.h33 State(std::unique_ptr<LLVMContext> Ctx) : Ctx(std::move(Ctx)) {} in State()
35 std::unique_ptr<LLVMContext> Ctx;
59 ThreadSafeContext(std::unique_ptr<LLVMContext> NewCtx) in ThreadSafeContext()
67 LLVMContext *getContext() { return S ? S->Ctx.get() : nullptr; } in getContext()
71 const LLVMContext *getContext() const { return S ? S->Ctx.get() : nullptr; } in getContext()
110 ThreadSafeModule(std::unique_ptr<Module> M, std::unique_ptr<LLVMContext> Ctx) in ThreadSafeModule()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp483 case LLVMContext::MD_dbg: in combineLoadToNewType()
484 case LLVMContext::MD_tbaa: in combineLoadToNewType()
485 case LLVMContext::MD_prof: in combineLoadToNewType()
486 case LLVMContext::MD_fpmath: in combineLoadToNewType()
501 case LLVMContext::MD_align: in combineLoadToNewType()
508 case LLVMContext::MD_range: in combineLoadToNewType()
544 case LLVMContext::MD_dbg: in combineStoreToNewValue()
545 case LLVMContext::MD_tbaa: in combineStoreToNewValue()
546 case LLVMContext::MD_prof: in combineStoreToNewValue()
559 case LLVMContext::MD_range: in combineStoreToNewValue()
[all …]
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DScopedNoAliasAA.cpp104 Call->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo()
107 if (!mayAliasInScopes(Call->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo()
119 if (!mayAliasInScopes(Call1->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo()
120 Call2->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo()
123 if (!mayAliasInScopes(Call2->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo()
124 Call1->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo()
H A DVectorUtils.cpp551 LLVMContext &Ctx = Inst1->getContext(); in intersectAccessGroups()
561 for (auto Kind : {LLVMContext::MD_tbaa, LLVMContext::MD_alias_scope, in propagateMetadata()
562 LLVMContext::MD_noalias, LLVMContext::MD_fpmath, in propagateMetadata()
563 LLVMContext::MD_nontemporal, LLVMContext::MD_invariant_load, in propagateMetadata()
571 case LLVMContext::MD_tbaa: in propagateMetadata()
574 case LLVMContext::MD_alias_scope: in propagateMetadata()
577 case LLVMContext::MD_fpmath: in propagateMetadata()
580 case LLVMContext::MD_noalias: in propagateMetadata()
581 case LLVMContext::MD_nontemporal: in propagateMetadata()
582 case LLVMContext::MD_invariant_load: in propagateMetadata()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DGuardUtils.cpp29 OperandBundleDef DeoptOB(*Guard->getOperandBundle(LLVMContext::OB_deopt)); in makeGuardControlFlowExplicit()
45 if (auto *MD = Guard->getMetadata(LLVMContext::MD_make_implicit)) in makeGuardControlFlowExplicit()
46 CheckBI->setMetadata(LLVMContext::MD_make_implicit, MD); in makeGuardControlFlowExplicit()
49 CheckBI->setMetadata(LLVMContext::MD_prof, in makeGuardControlFlowExplicit()
H A DLocal.cpp2288 case LLVMContext::MD_dbg: in combineMetadata()
2290 case LLVMContext::MD_tbaa: in combineMetadata()
2304 case LLVMContext::MD_range: in combineMetadata()
2355 LLVMContext::MD_tbaa, LLVMContext::MD_alias_scope, in combineMetadataForCSE()
2356 LLVMContext::MD_noalias, LLVMContext::MD_range, in combineMetadataForCSE()
2357 LLVMContext::MD_invariant_load, LLVMContext::MD_nonnull, in combineMetadataForCSE()
2358 LLVMContext::MD_invariant_group, LLVMContext::MD_align, in combineMetadataForCSE()
2389 LLVMContext::MD_tbaa, LLVMContext::MD_alias_scope, in patchReplacementInstruction()
2390 LLVMContext::MD_noalias, LLVMContext::MD_range, in patchReplacementInstruction()
2391 LLVMContext::MD_fpmath, LLVMContext::MD_invariant_load, in patchReplacementInstruction()
[all …]

12345678910>>...16