/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | LLVMContext.cpp | 35 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 …]
|
D | Type.cpp | 39 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 …]
|
D | Attributes.cpp | 80 Attribute Attribute::get(LLVMContext &Context, Attribute::AttrKind Kind, in get() 104 Attribute Attribute::get(LLVMContext &Context, StringRef Kind, StringRef Val) { in get() 124 Attribute Attribute::get(LLVMContext &Context, Attribute::AttrKind Kind, in get() 145 Attribute Attribute::getWithAlignment(LLVMContext &Context, Align A) { in getWithAlignment() 150 Attribute Attribute::getWithStackAlignment(LLVMContext &Context, Align A) { in getWithStackAlignment() 155 Attribute Attribute::getWithDereferenceableBytes(LLVMContext &Context, in getWithDereferenceableBytes() 161 Attribute Attribute::getWithDereferenceableOrNullBytes(LLVMContext &Context, in getWithDereferenceableOrNullBytes() 167 Attribute Attribute::getWithByValType(LLVMContext &Context, Type *Ty) { in getWithByValType() 172 Attribute::getWithAllocSizeArgs(LLVMContext &Context, unsigned ElemSizeArg, in getWithAllocSizeArgs() 589 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) { in get() [all …]
|
D | DebugInfoMetadata.cpp | 29 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, in DILocation() 51 DILocation *DILocation::getImpl(LLVMContext &Context, unsigned Line, in getImpl() 262 GenericDINode *GenericDINode::getImpl(LLVMContext &Context, unsigned Tag, in getImpl() 320 DISubrange *DISubrange::getImpl(LLVMContext &Context, int64_t Count, int64_t Lo, in getImpl() 327 DISubrange *DISubrange::getImpl(LLVMContext &Context, Metadata *CountNode, in getImpl() 335 DIEnumerator *DIEnumerator::getImpl(LLVMContext &Context, int64_t Value, in getImpl() 344 DIBasicType *DIBasicType::getImpl(LLVMContext &Context, unsigned Tag, in getImpl() 371 LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File, in getImpl() 388 LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File, in getImpl() 410 LLVMContext &Context, MDString &Identifier, unsigned Tag, MDString *Name, in buildODRType() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Type.h | 33 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 …]
|
D | Attributes.h | 42 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 …]
|
D | LLVMContext.h | 63 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 …]
|
D | DebugInfoMetadata.h | 41 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 …]
|
D | Metadata.h | 188 static MetadataAsValue *get(LLVMContext &Context, Metadata *MD); 189 static MetadataAsValue *getIfExists(LLVMContext &Context, Metadata *MD); 286 LLVMContext &Context; 291 ReplaceableMetadataImpl(LLVMContext &Context) : Context(Context) {} in ReplaceableMetadataImpl() 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); 617 static MDString *get(LLVMContext &Context, const char *Str) { in get() 779 PointerUnion<LLVMContext *, ReplaceableMetadataImpl *> Ptr; 782 ContextAndReplaceableUses(LLVMContext &Context) : Ptr(&Context) {} [all …]
|
D | Constants.h | 95 static ConstantInt *getTrue(LLVMContext &Context); 96 static ConstantInt *getFalse(LLVMContext &Context); 123 static ConstantInt *get(LLVMContext &Context, const APInt &V); 291 static ConstantFP *get(LLVMContext &Context, const APFloat &V); 471 static Constant *getAnon(LLVMContext &Ctx, 481 static StructType *getTypeForElements(LLVMContext &Ctx, 703 static Constant *get(LLVMContext &Context, ArrayRef<ElementTy> Elts) { 712 static Constant *get(LLVMContext &Context, ArrayTy &Elts) { 732 static Constant *getFP(LLVMContext &Context, ArrayRef<uint16_t> Elts); 733 static Constant *getFP(LLVMContext &Context, ArrayRef<uint32_t> Elts); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Type.h | 32 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 …]
|
D | Attributes.h | 38 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 …]
|
D | LLVMContext.h | 48 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 …]
|
D | Metadata.h | 174 static MetadataAsValue *get(LLVMContext &Context, Metadata *MD); 175 static MetadataAsValue *getIfExists(LLVMContext &Context, Metadata *MD); 271 LLVMContext &Context; 276 ReplaceableMetadataImpl(LLVMContext &Context) in ReplaceableMetadataImpl() 283 LLVMContext &getContext() const { return Context; } in getContext() 363 LLVMContext &getContext() const { return V->getContext(); } in getContext() 597 static MDString *get(LLVMContext &Context, StringRef Str); 598 static MDString *get(LLVMContext &Context, const char *Str) { in get() 737 PointerUnion<LLVMContext *, ReplaceableMetadataImpl *> Ptr; 740 ContextAndReplaceableUses(LLVMContext &Context) : Ptr(&Context) {} [all …]
|
D | DerivedTypes.h | 33 class LLVMContext; variable 43 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType() 62 static IntegerType *get(LLVMContext &C, unsigned NumBits); 162 explicit CompositeType(LLVMContext &C, TypeID tid) : Type(C, tid) {} in CompositeType() 200 StructType(LLVMContext &C) in StructType() 222 static StructType *create(LLVMContext &Context, StringRef Name); 223 static StructType *create(LLVMContext &Context); 228 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements, 230 static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements); 234 static StructType *get(LLVMContext &Context, ArrayRef<Type*> Elements, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitcode/ |
D | BitcodeReader.h | 31 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);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 28 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 …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IRReader/ |
D | IRReader.h | 27 class LLVMContext; variable 36 SMDiagnostic &Err, LLVMContext &Context, 45 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, 56 LLVMContext &Context, 68 LLVMContext &Context,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/AsmParser/ |
D | Parser.h | 21 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,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/ |
D | SampleProfReader.h | 256 LLVMContext &C); 262 LLVMContext &C); 265 void applyRemapping(LLVMContext &Ctx); 323 SampleProfileReader(std::unique_ptr<MemoryBuffer> B, LLVMContext &C, 396 create(const std::string Filename, LLVMContext &C, 402 create(std::unique_ptr<MemoryBuffer> &B, LLVMContext &C, 431 LLVMContext &Ctx; 456 SampleProfileReaderText(std::unique_ptr<MemoryBuffer> B, LLVMContext &C) in SampleProfileReaderText() 471 SampleProfileReaderBinary(std::unique_ptr<MemoryBuffer> B, LLVMContext &C, 549 SampleProfileReaderRawBinary(std::unique_ptr<MemoryBuffer> B, LLVMContext &C, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 183 MDNode *MD = SI->getMetadata(LLVMContext::MD_prof); in ConstantFoldTerminator() 201 SI->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator() 275 MDNode *MD = SI->getMetadata(LLVMContext::MD_prof); in ConstantFoldTerminator() 283 NewBr->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator() 290 MDNode *MakeImplicitMD = SI->getMetadata(LLVMContext::MD_make_implicit); in ConstantFoldTerminator() 292 NewBr->setMetadata(LLVMContext::MD_make_implicit, MakeImplicitMD); in ConstantFoldTerminator() 1478 LLVMContext &C = BB->getContext(); in insertDebugValuesForPHIs() 1611 static MetadataAsValue *wrapValueInMetadata(LLVMContext &C, Value *V) { in wrapValueInMetadata() 1795 LLVMContext &Ctx = DII->getContext(); in rewriteDebugUsers() 2313 case LLVMContext::MD_dbg: in combineMetadata() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClReaderWriter.h | 27 class LLVMContext; variable 65 LLVMContext &Context, 80 LLVMContext &Context, DiagnosticHandlerFunction DiagnosticHandler = nullptr, 88 NaClParseBitcodeFile(MemoryBufferRef Buffer, LLVMContext &Context, 97 LLVMContext &Context,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/ |
D | LTOModule.h | 47 std::unique_ptr<LLVMContext> OwnedContext; 100 createFromFile(LLVMContext &Context, StringRef path, 103 createFromOpenFile(LLVMContext &Context, int fd, StringRef path, size_t size, 106 createFromOpenFileSlice(LLVMContext &Context, int fd, StringRef path, 110 createFromBuffer(LLVMContext &Context, const void *mem, size_t length, 113 createInLocalContext(std::unique_ptr<LLVMContext> Context, const void *mem, 215 LLVMContext &Context, bool ShouldBeLazy);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IRReader/ |
D | IRReader.h | 26 class LLVMContext; variable 34 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, 41 LLVMContext &Context); 47 LLVMContext &Context);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
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()
|