| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | LLVMContext.cpp | 36 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext() function 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::setDiagnosticHandlerCallBack( in setDiagnosticHandlerCallBack() 153 void LLVMContext::setMainRemarkStreamer( in setMainRemarkStreamer() 164 void LLVMContext::setLLVMRemarkStreamer( in setLLVMRemarkStreamer() 174 void *LLVMContext::getDiagnosticContext() const { in getDiagnosticContext() 184 void LLVMContext::yield() { in yield() 312 void LLVMContext::deleteGC(const Function &Fn) { in deleteGC() [all …]
|
| H A D | Type.cpp | 39 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType() 207 IntegerType *Type::getIntNTy(LLVMContext &C, unsigned N) { in getIntNTy() 211 PointerType *Type::getHalfPtrTy(LLVMContext &C, unsigned AS) { in getHalfPtrTy() 219 PointerType *Type::getFloatPtrTy(LLVMContext &C, unsigned AS) { in getFloatPtrTy() 231 PointerType *Type::getFP128PtrTy(LLVMContext &C, unsigned AS) { in getFP128PtrTy() 251 PointerType *Type::getInt1PtrTy(LLVMContext &C, unsigned AS) { in getInt1PtrTy() 255 PointerType *Type::getInt8PtrTy(LLVMContext &C, unsigned AS) { in getInt8PtrTy() 259 PointerType *Type::getInt16PtrTy(LLVMContext &C, unsigned AS) { in getInt16PtrTy() 263 PointerType *Type::getInt32PtrTy(LLVMContext &C, unsigned AS) { in getInt32PtrTy() 501 StructType *StructType::create(LLVMContext &Context) { in create() [all …]
|
| H A D | Attributes.cpp | 469 bool Attribute::hasParentContext(LLVMContext &C) const { in hasParentContext() 598 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute() 613 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes() 628 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute() 636 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute() 644 AttributeSet AttributeSet::removeAttributes(LLVMContext &C, in removeAttributes() 770 AttributeSetNode *AttributeSetNode::get(LLVMContext &C, in get() 1012 AttributeList AttributeList::getImpl(LLVMContext &C, in getImpl() 1040 AttributeList::get(LLVMContext &C, in get() 1077 AttributeList::get(LLVMContext &C, in get() [all …]
|
| H A D | Metadata.cpp | 122 LLVMContext &Context = getContext(); in handleChangedMetadata() 1341 if (KindID == LLVMContext::MD_dbg) { in setMetadata() 1367 setMetadata(LLVMContext::MD_annotation, MD); in addAnnotationMetadata() 1371 setMetadata(LLVMContext::MD_tbaa, N.TBAA); in setAAMetadata() 1379 if (KindID == LLVMContext::MD_dbg) in getMetadataImpl() 1468 addMetadata(LLVMContext::MD_type, in copyMetadata() 1500 LLVMContext::MD_type, in addTypeMetadata() 1511 addMetadata(LLVMContext::MD_vcall_visibility, in setVCallVisibilityMetadata() 1529 setMetadata(LLVMContext::MD_dbg, SP); in setSubprogram() 1546 addMetadata(LLVMContext::MD_dbg, *GV); in addDebugInfo() [all …]
|
| H A D | DebugInfoMetadata.cpp | 36 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, in DILocation() 58 DILocation *DILocation::getImpl(LLVMContext &Context, unsigned Line, in getImpl() 453 DIGenericSubrange *DIGenericSubrange::getImpl(LLVMContext &Context, in getImpl() 723 DIFile *DIFile::getImpl(LLVMContext &Context, MDString *Filename, in getImpl() 739 LLVMContext &Context, unsigned SourceLanguage, Metadata *File, in getImpl() 860 LLVMContext &Context, Metadata *Scope, MDString *Name, in getImpl() 940 DIModule *DIModule::getImpl(LLVMContext &Context, Metadata *File, in getImpl() 1041 DILabel *DILabel::getImpl(LLVMContext &Context, Metadata *Scope, in getImpl() 1053 DIExpression *DIExpression::getImpl(LLVMContext &Context, in getImpl() 1564 DIMacro *DIMacro::getImpl(LLVMContext &Context, unsigned MIType, in getImpl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Type.h | 32 class LLVMContext; variable 82 LLVMContext &Context; 92 explicit Type(LLVMContext &C, TypeID tid) in Type() 412 static Type *getVoidTy(LLVMContext &C); 413 static Type *getLabelTy(LLVMContext &C); 414 static Type *getHalfTy(LLVMContext &C); 415 static Type *getBFloatTy(LLVMContext &C); 416 static Type *getFloatTy(LLVMContext &C); 417 static Type *getDoubleTy(LLVMContext &C); 420 static Type *getFP128Ty(LLVMContext &C); [all …]
|
| H A D | Attributes.h | 43 class LLVMContext; variable 111 static Attribute get(LLVMContext &Context, StringRef Kind, 228 bool hasParentContext(LLVMContext &C) const; 294 LLVM_NODISCARD AttributeSet addAttribute(LLVMContext &C, 355 bool hasParentContext(LLVMContext &C) const; 419 static AttributeList get(LLVMContext &C, 421 static AttributeList get(LLVMContext &C, 447 static AttributeList get(LLVMContext &C, unsigned Index, 449 static AttributeList get(LLVMContext &C, unsigned Index, 452 static AttributeList get(LLVMContext &C, unsigned Index, [all …]
|
| H A D | LLVMContext.h | 68 class LLVMContext { 71 LLVMContext(); 72 LLVMContext(LLVMContext &) = delete; 73 LLVMContext &operator=(const LLVMContext &) = delete; 74 ~LLVMContext(); 158 using YieldCallbackTy = void (*)(LLVMContext *Context, void *OpaqueHandle); 324 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LLVMContext, LLVMContextRef) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() argument 328 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 329 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 332 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap() [all …]
|
| H A D | DebugInfoMetadata.h | 229 GenericDINode(LLVMContext &C, StorageType Storage, unsigned Hash, in GenericDINode() 305 static DISubrange *getImpl(LLVMContext &Context, int64_t Count, 366 DIGenericSubrange(LLVMContext &C, StorageType Storage, in DIGenericSubrange() 571 DIFile(LLVMContext &C, StorageType Storage, in DIFile() 775 DIBasicType(LLVMContext &C, StorageType Storage, unsigned Tag, in DIBasicType() 1870 getImpl(LLVMContext &Context, DIScope *Scope, StringRef Name, 2138 DILexicalBlockFile(LLVMContext &C, StorageType Storage, in DILexicalBlockFile() 2568 static DIExpression *getImpl(LLVMContext &Context, 3139 DILabel(LLVMContext &C, StorageType Storage, unsigned Line, 3553 DIArgList(LLVMContext &C, StorageType Storage, [all …]
|
| H A D | Metadata.h | 288 LLVMContext &Context; 299 LLVMContext &getContext() const { return Context; } in getContext() 386 LLVMContext &getContext() const { return V->getContext(); } in getContext() 623 static MDString *get(LLVMContext &Context, StringRef Str); 821 operator LLVMContext &() { return getContext(); } 828 LLVMContext &getContext() const { 831 return *Ptr.get<LLVMContext *>(); 941 static inline MDTuple *getIfExists(LLVMContext &Context, 943 static inline MDTuple *getDistinct(LLVMContext &Context, 1185 static TempMDTuple getTemporary(LLVMContext &Context, [all …]
|
| H A D | DerivedTypes.h | 34 class LLVMContext; variable 63 static IntegerType *get(LLVMContext &C, unsigned NumBits); 213 StructType(LLVMContext &C) : Type(C, StructTyID) {} in StructType() 234 static StructType *create(LLVMContext &Context, StringRef Name); 235 static StructType *create(LLVMContext &Context); 255 static StructType *get(LLVMContext &Context, bool isPacked = false); 264 LLVMContext &Ctx = elt1->getContext(); in get() 270 static StructType *getTypeByName(LLVMContext &C, StringRef Name); 633 explicit PointerType(LLVMContext &C, unsigned AddrSpace); 646 static PointerType *get(LLVMContext &C, unsigned AddressSpace); [all …]
|
| H A D | Statepoint.h | 150 if (auto Opt = getOperandBundle(LLVMContext::OB_gc_transition)) in gc_transition_args_begin() 155 if (auto Opt = getOperandBundle(LLVMContext::OB_gc_transition)) in gc_transition_args_end() 166 if (auto Opt = getOperandBundle(LLVMContext::OB_deopt)) in deopt_begin() 171 if (auto Opt = getOperandBundle(LLVMContext::OB_deopt)) in deopt_end() 184 if (auto Opt = getOperandBundle(LLVMContext::OB_gc_live)) in gc_args_begin() 191 if (auto Opt = getOperandBundle(LLVMContext::OB_gc_live)) in gc_args_end()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/CodeGen/ |
| H A D | CodeGenAction.h | 16 class LLVMContext; variable 51 llvm::LLVMContext *VMContext; 60 CodeGenAction(unsigned _Act, llvm::LLVMContext *_VMContext = nullptr); 79 llvm::LLVMContext *takeLLVMContext(); 89 EmitAssemblyAction(llvm::LLVMContext *_VMContext = nullptr); 95 EmitBCAction(llvm::LLVMContext *_VMContext = nullptr); 101 EmitLLVMAction(llvm::LLVMContext *_VMContext = nullptr); 107 EmitLLVMOnlyAction(llvm::LLVMContext *_VMContext = nullptr); 113 EmitCodeGenOnlyAction(llvm::LLVMContext *_VMContext = nullptr); 119 EmitObjAction(llvm::LLVMContext *_VMContext = nullptr);
|
| H A D | ModuleBuilder.h | 20 class LLVMContext; variable 89 llvm::Module* StartModule(llvm::StringRef ModuleName, llvm::LLVMContext &C); 100 llvm::LLVMContext& C,
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/AsmParser/ |
| H A D | Parser.h | 23 class LLVMContext; variable 46 LLVMContext &Context, 62 LLVMContext &Context, 86 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, 92 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, 114 MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, 128 LLVMContext &Context,
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | ValueTypes.h | 29 class LLVMContext; variable 65 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) { in getIntegerVT() 84 static EVT getVectorVT(LLVMContext &Context, EVT VT, ElementCount EC) { in getVectorVT() 381 EVT getRoundIntegerType(LLVMContext &Context) const { in getRoundIntegerType() 392 EVT getHalfSizedIntegerVT(LLVMContext &Context) const { in getHalfSizedIntegerVT() 406 EVT widenIntegerVectorElementType(LLVMContext &Context) const { in widenIntegerVectorElementType() 415 EVT getHalfNumVectorElementsVT(LLVMContext &Context) const { in getHalfNumVectorElementsVT() 425 EVT getDoubleNumVectorElementsVT(LLVMContext &Context) const { in getDoubleNumVectorElementsVT() 439 EVT getPow2VectorType(LLVMContext &Context) const { in getPow2VectorType() 457 Type *getTypeForEVT(LLVMContext &Context) const; [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Bitcode/ |
| H A D | BitcodeReader.h | 31 class LLVMContext; variable 41 std::error_code errorToErrorCodeAndEmitErrors(LLVMContext &Ctx, Error Err); 44 ErrorOr<T> expectedToErrorOrAndEmitErrors(LLVMContext &Ctx, Expected<T> Val) { in expectedToErrorOrAndEmitErrors() 84 getModuleImpl(LLVMContext &Context, bool MaterializeAll, 101 Expected<std::unique_ptr<Module>> getLazyModule(LLVMContext &Context, 107 LLVMContext &Context, DataLayoutCallbackTy DataLayoutCallback = 144 getLazyBitcodeModule(MemoryBufferRef Buffer, LLVMContext &Context, 153 std::unique_ptr<MemoryBuffer> &&Buffer, LLVMContext &Context, 172 MemoryBufferRef Buffer, LLVMContext &Context,
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IRReader/ |
| H A D | IRReader.h | 27 class LLVMContext; variable 39 SMDiagnostic &Err, LLVMContext &Context, 48 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, 56 MemoryBufferRef Buffer, SMDiagnostic &Err, LLVMContext &Context, 64 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | Parser.cpp | 33 LLVMContext Context; in parseAssemblyInto() 48 llvm::parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, in parseAssembly() 62 LLVMContext &Context, in parseAssemblyFile() 77 LLVMContext &Context, SlotMapping *Slots, in parseAssemblyWithIndex() 94 LLVMContext &Context, in parseAssemblyWithIndex() 103 LLVMContext &Context, SlotMapping *Slots, in parseAssemblyFileWithIndex() 121 LLVMContext &Context, SlotMapping *Slots, in parseAssemblyFileWithIndex() 129 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, in parseAssemblyFileWithIndexNoUpgradeDebugInfo() 138 LLVMContext &Context, in parseAssemblyString() 153 LLVMContext unusedContext; in parseSummaryIndexAssemblyInto()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | SampleProfReader.h | 275 LLVMContext &C); 281 LLVMContext &C); 284 void applyRemapping(LLVMContext &Ctx); 345 SampleProfileReader(std::unique_ptr<MemoryBuffer> B, LLVMContext &C, 444 create(const std::string Filename, LLVMContext &C, 452 create(std::unique_ptr<MemoryBuffer> &B, LLVMContext &C, 501 LLVMContext &Ctx; 547 SampleProfileReaderText(std::unique_ptr<MemoryBuffer> B, LLVMContext &C) in SampleProfileReaderText() 562 SampleProfileReaderBinary(std::unique_ptr<MemoryBuffer> B, LLVMContext &C, 786 LLVMContext &C) in SampleProfileReaderCompactBinary() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | ThreadSafeModule.h | 32 State(std::unique_ptr<LLVMContext> Ctx) : Ctx(std::move(Ctx)) {} in State() 34 std::unique_ptr<LLVMContext> Ctx; 53 ThreadSafeContext(std::unique_ptr<LLVMContext> NewCtx) in ThreadSafeContext() 61 LLVMContext *getContext() { return S ? S->Ctx.get() : nullptr; } in getContext() 65 const LLVMContext *getContext() const { return S ? S->Ctx.get() : nullptr; } in getContext() 104 ThreadSafeModule(std::unique_ptr<Module> M, std::unique_ptr<LLVMContext> Ctx) in ThreadSafeModule()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/LTO/legacy/ |
| H A D | LTOModule.h | 47 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, 217 LLVMContext &Context, bool ShouldBeLazy);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ScopedNoAliasAA.cpp | 83 Call->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo() 86 if (!mayAliasInScopes(Call->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo() 99 if (!mayAliasInScopes(Call1->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo() 100 Call2->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo() 103 if (!mayAliasInScopes(Call2->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo() 104 Call1->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo()
|
| H A D | TypeBasedAliasAnalysis.cpp | 413 if (const MDNode *M = Call->getMetadata(LLVMContext::MD_tbaa)) in getModRefBehavior() 433 if (const MDNode *M = Call->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo() 446 if (const MDNode *M1 = Call1->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo() 447 if (const MDNode *M2 = Call2->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo() 527 MDNode::getMostGenericTBAA(N.TBAA, getMetadata(LLVMContext::MD_tbaa)); in getAAMetadata() 530 N.Scope, getMetadata(LLVMContext::MD_alias_scope)); in getAAMetadata() 532 MDNode::intersect(N.NoAlias, getMetadata(LLVMContext::MD_noalias)); in getAAMetadata() 534 N.TBAA = getMetadata(LLVMContext::MD_tbaa); in getAAMetadata() 535 N.TBAAStruct = getMetadata(LLVMContext::MD_tbaa_struct); in getAAMetadata() 536 N.Scope = getMetadata(LLVMContext::MD_alias_scope); in getAAMetadata() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 154 NewBI->copyMetadata(*BI, {LLVMContext::MD_loop, LLVMContext::MD_dbg, in ConstantFoldTerminator() 178 NewBI->copyMetadata(*BI, {LLVMContext::MD_loop, LLVMContext::MD_dbg, in ConstantFoldTerminator() 2572 LLVMContext::MD_tbaa, LLVMContext::MD_alias_scope, in combineMetadataForCSE() 2573 LLVMContext::MD_noalias, LLVMContext::MD_range, in combineMetadataForCSE() 2574 LLVMContext::MD_invariant_load, LLVMContext::MD_nonnull, in combineMetadataForCSE() 2575 LLVMContext::MD_invariant_group, LLVMContext::MD_align, in combineMetadataForCSE() 2578 LLVMContext::MD_access_group, LLVMContext::MD_preserve_access_index}; in combineMetadataForCSE() 2657 LLVMContext::MD_tbaa, LLVMContext::MD_alias_scope, in patchReplacementInstruction() 2658 LLVMContext::MD_noalias, LLVMContext::MD_range, in patchReplacementInstruction() 2659 LLVMContext::MD_fpmath, LLVMContext::MD_invariant_load, in patchReplacementInstruction() [all …]
|