/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | MDBuilder.h | 31 class MDNode; variable 54 MDNode *createFPMath(float Accuracy); 61 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight); 64 MDNode *createBranchWeights(ArrayRef<uint32_t> Weights); 67 MDNode *createUnpredictable(); 73 MDNode *createFunctionEntryCount(uint64_t Count, bool Synthetic, 77 MDNode *createFunctionSectionPrefix(StringRef Prefix); 80 MDNode *createMisExpect(uint64_t Index, uint64_t LikelyWeight, 88 MDNode *createRange(const APInt &Lo, const APInt &Hi); 91 MDNode *createRange(Constant *Lo, Constant *Hi); [all …]
|
D | Metadata.h | 646 explicit AAMDNodes(MDNode *T, MDNode *TS, MDNode *S, MDNode *N) in AAMDNodes() 661 MDNode *TBAA = nullptr; 664 MDNode *TBAAStruct = nullptr; 667 MDNode *Scope = nullptr; 670 MDNode *NoAlias = nullptr; 691 return AAMDNodes(DenseMapInfo<MDNode *>::getEmptyKey(), 696 return AAMDNodes(DenseMapInfo<MDNode *>::getTombstoneKey(), 701 return DenseMapInfo<MDNode *>::getHashValue(Val.TBAA) ^ 702 DenseMapInfo<MDNode *>::getHashValue(Val.TBAAStruct) ^ 703 DenseMapInfo<MDNode *>::getHashValue(Val.Scope) ^ [all …]
|
D | Verifier.h | 33 class MDNode; variable 54 DenseMap<const MDNode *, TBAABaseNodeSummary> TBAABaseNodes; 58 DenseMap<const MDNode *, bool> TBAAScalarNodes; 62 MDNode *getFieldNodeFromTBAABaseNode(Instruction &I, const MDNode *BaseNode, 65 const MDNode *BaseNode, 68 const MDNode *BaseNode, 71 bool isValidScalarTBAANode(const MDNode *MD); 79 bool visitTBAAMetadata(Instruction &I, const MDNode *MD);
|
D | DebugLoc.h | 48 explicit DebugLoc(const MDNode *N); 79 static DebugLoc get(unsigned Line, unsigned Col, const MDNode *Scope, 80 const MDNode *InlinedAt = nullptr, 90 DenseMap<const MDNode *, MDNode *> &Cache, 95 MDNode *getScope() const; 101 MDNode *getInlinedAtScope() const; 113 MDNode *getAsMDNode() const { return Loc; } in getAsMDNode()
|
D | GlobalObject.h | 27 class MDNode; variable 140 MDNode *getMetadata(unsigned KindID) const; 141 MDNode *getMetadata(StringRef Kind) const; 148 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 149 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 157 void setMetadata(unsigned KindID, MDNode *MD); 158 void setMetadata(StringRef Kind, MDNode *MD); 163 void addMetadata(unsigned KindID, MDNode &MD); 164 void addMetadata(StringRef Kind, MDNode &MD); 170 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
D | IRBuilder.h | 53 class MDNode; variable 96 MDNode *DefaultFPMathTag; 106 IRBuilderBase(LLVMContext &context, MDNode *FPMathTag = nullptr, 213 MDNode *getDefaultFPMathTag() const { return DefaultFPMathTag; } in getDefaultFPMathTag() 222 void setDefaultFPMathTag(MDNode *FPMathTag) { DefaultFPMathTag = FPMathTag; } in setDefaultFPMathTag() 301 MDNode *FPMathTag; 454 MDNode *TBAATag = nullptr, MDNode *ScopeTag = nullptr, 455 MDNode *NoAliasTag = nullptr) { 461 bool isVolatile = false, MDNode *TBAATag = nullptr, 462 MDNode *ScopeTag = nullptr, [all …]
|
D | AutoUpgrade.h | 24 class MDNode; variable 67 MDNode *UpgradeTBAANode(MDNode &TBAANode); 89 MDNode *upgradeInstructionLoopAttachment(MDNode &N);
|
D | Instruction.h | 35 class MDNode; variable 244 MDNode *getMetadata(unsigned KindID) const { 251 MDNode *getMetadata(StringRef Kind) const { 260 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const { 268 SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const { 280 void setMetadata(unsigned KindID, MDNode *Node); 281 void setMetadata(StringRef Kind, MDNode *Node); 465 MDNode *getMetadataImpl(unsigned KindID) const; 466 MDNode *getMetadataImpl(StringRef Kind) const; 468 getAllMetadataImpl(SmallVectorImpl<std::pair<unsigned, MDNode *>> &) const; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | MDBuilder.cpp | 28 MDNode *MDBuilder::createFPMath(float Accuracy) { in createFPMath() 34 return MDNode::get(Context, Op); in createFPMath() 37 MDNode *MDBuilder::createBranchWeights(uint32_t TrueWeight, in createBranchWeights() 42 MDNode *MDBuilder::createBranchWeights(ArrayRef<uint32_t> Weights) { in createBranchWeights() 52 return MDNode::get(Context, Vals); in createBranchWeights() 55 MDNode *MDBuilder::createUnpredictable() { in createUnpredictable() 56 return MDNode::get(Context, None); in createUnpredictable() 59 MDNode *MDBuilder::createFunctionEntryCount( in createFunctionEntryCount() 75 return MDNode::get(Context, Ops); in createFunctionEntryCount() 78 MDNode *MDBuilder::createFunctionSectionPrefix(StringRef Prefix) { in createFunctionSectionPrefix() [all …]
|
D | Metadata.cpp | 87 return MDNode::get(Context, None); in canonicalizeMetadataForValue() 90 auto *N = dyn_cast<MDNode>(MD); in canonicalizeMetadataForValue() 96 return MDNode::get(Context, None); in canonicalizeMetadataForValue() 304 auto *OwnerMD = dyn_cast<MDNode>(Owner.get<Metadata *>()); in resolveAllUses() 314 if (auto *N = dyn_cast<MDNode>(&MD)) in getOrCreate() 320 if (auto *N = dyn_cast<MDNode>(&MD)) in getIfExists() 326 if (auto *N = dyn_cast<MDNode>(&MD)) in isReplaceable() 480 void *MDNode::operator new(size_t Size, unsigned NumOps) { in operator new() 494 LLVM_NO_SANITIZE_MEMORY_ATTRIBUTE void MDNode::operator delete(void *Mem) { in operator delete() 495 MDNode *N = static_cast<MDNode *>(Mem); in operator delete() [all …]
|
D | DebugLoc.cpp | 19 DebugLoc::DebugLoc(const MDNode *L) : Loc(const_cast<MDNode *>(L)) {} in DebugLoc() 35 MDNode *DebugLoc::getScope() const { in getScope() 45 MDNode *DebugLoc::getInlinedAtScope() const { in getInlinedAtScope() 51 const MDNode *Scope = getInlinedAtScope(); in getFnDebugLoc() 71 DebugLoc DebugLoc::get(unsigned Line, unsigned Col, const MDNode *Scope, in get() 72 const MDNode *InlinedAt, bool ImplicitCode) { in get() 78 const_cast<MDNode *>(Scope), in get() 79 const_cast<MDNode *>(InlinedAt), ImplicitCode); in get() 84 DenseMap<const MDNode *, MDNode *> &Cache, in appendInlinedAt() argument
|
D | AbstractCallSite.cpp | 42 MDNode *CallbackMD = Callee->getMetadata(LLVMContext::MD_callback); in getCallbackUses() 47 MDNode *OpMD = cast<MDNode>(Op.get()); in getCallbackUses() 93 MDNode *CallbackMD = Callee->getMetadata(LLVMContext::MD_callback); in AbstractCallSite() 101 MDNode *CallbackEncMD = nullptr; in AbstractCallSite() 103 MDNode *OpMD = cast<MDNode>(Op.get()); in AbstractCallSite()
|
D | DebugInfo.cpp | 43 DISubprogram *llvm::getDISubprogram(const MDNode *Scope) { in getDISubprogram() 199 auto *N = dyn_cast<MDNode>(DDI->getVariable()); in processDeclare() 214 auto *N = dyn_cast<MDNode>(DVI->getVariable()); in processValue() 281 static MDNode *stripDebugLocFromLoopID(MDNode *N) { in stripDebugLocFromLoopID() 299 auto TempNode = MDNode::getTemporary(N->getContext(), None); in stripDebugLocFromLoopID() 308 MDNode *LoopID = MDNode::get(N->getContext(), Args); in stripDebugLocFromLoopID() 320 DenseMap<MDNode*, MDNode*> LoopIDsMap; in stripDebugInfo() 388 MDNode *EmptySubroutineType; 407 MDNode::get(C, {}))) {} in DebugTypeInfoRemoval() 418 MDNode *mapNode(Metadata *N) { return dyn_cast_or_null<MDNode>(map(N)); } in mapNode() [all …]
|
D | IRBuilder.cpp | 101 MDNode *TBAATag, MDNode *ScopeTag, in CreateMemSet() 102 MDNode *NoAliasTag) { in CreateMemSet() 129 MDNode *TBAATag, MDNode *ScopeTag, MDNode *NoAliasTag) { in CreateElementUnorderedAtomicMemSet() 157 bool isVolatile, MDNode *TBAATag, in CreateMemCpy() 158 MDNode *TBAAStructTag, MDNode *ScopeTag, in CreateMemCpy() 159 MDNode *NoAliasTag) { in CreateMemCpy() 168 MDNode *TBAATag, MDNode *TBAAStructTag, in CreateMemCpy() 169 MDNode *ScopeTag, MDNode *NoAliasTag) { in CreateMemCpy() 205 uint32_t ElementSize, MDNode *TBAATag, MDNode *TBAAStructTag, in CreateElementUnorderedAtomicMemCpy() 206 MDNode *ScopeTag, MDNode *NoAliasTag) { in CreateElementUnorderedAtomicMemCpy() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | TypeBasedAliasAnalysis.cpp | 136 static bool isNewFormatTypeNode(const MDNode *N) { in isNewFormatTypeNode() 140 if (!isa<MDNode>(N->getOperand(0))) in isNewFormatTypeNode() 193 using TBAANode = TBAANodeImpl<const MDNode>; 194 using MutableTBAANode = TBAANodeImpl<MDNode>; 223 return dyn_cast_or_null<MDNode>(Node->getOperand(0)); in getBaseType() 227 return dyn_cast_or_null<MDNode>(Node->getOperand(1)); in getAccessType() 257 using TBAAStructTagNode = TBAAStructTagNodeImpl<const MDNode>; 258 using MutableTBAAStructTagNode = TBAAStructTagNodeImpl<MDNode>; 266 const MDNode *Node = nullptr; 270 explicit TBAAStructTypeNode(const MDNode *N) : Node(N) {} in TBAAStructTypeNode() [all …]
|
D | ScopedNoAliasAA.cpp | 59 const MDNode *Node = nullptr; 63 explicit AliasScopeNode(const MDNode *N) : Node(N) {} in AliasScopeNode() 66 const MDNode *getNode() const { return Node; } in getNode() 69 const MDNode *getDomain() const { in getDomain() 72 return dyn_cast_or_null<MDNode>(Node->getOperand(1)); in getDomain() 85 const MDNode *AScopes = LocA.AATags.Scope, *BScopes = LocB.AATags.Scope; in alias() 87 const MDNode *ANoAlias = LocA.AATags.NoAlias, *BNoAlias = LocB.AATags.NoAlias; in alias() 133 static void collectMDInDomain(const MDNode *List, const MDNode *Domain, in collectMDInDomain() 134 SmallPtrSetImpl<const MDNode *> &Nodes) { in collectMDInDomain() 136 if (const MDNode *MD = dyn_cast<MDNode>(MDOp)) in collectMDInDomain() [all …]
|
D | LoopInfo.cpp | 490 MDNode *Loop::getLoopID() const { in getLoopID() 491 MDNode *LoopID = nullptr; in getLoopID() 498 MDNode *MD = TI->getMetadata(LLVMContext::MD_loop); in getLoopID() 514 void Loop::setLoopID(MDNode *LoopID) const { in setLoopID() 529 MDNode *DisableUnrollMD = in setLoopAlreadyUnrolled() 530 MDNode::get(Context, MDString::get(Context, "llvm.loop.unroll.disable")); in setLoopAlreadyUnrolled() 531 MDNode *LoopID = getLoopID(); in setLoopAlreadyUnrolled() 532 MDNode *NewLoopID = makePostTransformationMetadata( in setLoopAlreadyUnrolled() 538 MDNode *DesiredLoopIdMetadata = getLoopID(); in isAnnotatedParallel() 543 MDNode *ParallelAccesses = in isAnnotatedParallel() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Metadata.h | 626 explicit AAMDNodes(MDNode *T = nullptr, MDNode *S = nullptr, 627 MDNode *N = nullptr) 639 MDNode *TBAA; 642 MDNode *Scope; 645 MDNode *NoAlias; 652 return AAMDNodes(DenseMapInfo<MDNode *>::getEmptyKey(), 657 return AAMDNodes(DenseMapInfo<MDNode *>::getTombstoneKey(), 662 return DenseMapInfo<MDNode *>::getHashValue(Val.TBAA) ^ 663 DenseMapInfo<MDNode *>::getHashValue(Val.Scope) ^ 664 DenseMapInfo<MDNode *>::getHashValue(Val.NoAlias); [all …]
|
D | GlobalObject.h | 27 class MDNode; variable 86 MDNode *getMetadata(unsigned KindID) const; 87 MDNode *getMetadata(StringRef Kind) const; 94 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 95 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 103 void setMetadata(unsigned KindID, MDNode *MD); 104 void setMetadata(StringRef Kind, MDNode *MD); 109 void addMetadata(unsigned KindID, MDNode &MD); 110 void addMetadata(StringRef Kind, MDNode &MD); 116 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
D | DebugLoc.h | 49 explicit DebugLoc(const MDNode *N); 80 static DebugLoc get(unsigned Line, unsigned Col, const MDNode *Scope, 81 const MDNode *InlinedAt = nullptr); 85 MDNode *getScope() const; 91 MDNode *getInlinedAtScope() const; 103 MDNode *getAsMDNode() const { return Loc; } in getAsMDNode()
|
D | Instruction.h | 36 class MDNode; variable 175 MDNode *getMetadata(unsigned KindID) const { in getMetadata() 182 MDNode *getMetadata(StringRef Kind) const { in getMetadata() 191 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const { in getAllMetadata() 199 SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const { in getAllMetadataOtherThanDebugLoc() 211 void setMetadata(unsigned KindID, MDNode *Node); 212 void setMetadata(StringRef Kind, MDNode *Node); 355 MDNode *getMetadataImpl(unsigned KindID) const; 356 MDNode *getMetadataImpl(StringRef Kind) const; 358 getAllMetadataImpl(SmallVectorImpl<std::pair<unsigned, MDNode *>> &) const; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | ValueMapper.cpp | 203 SmallVector<MDNode *, 16> POT; // Post-order traversal. 212 Metadata &getFwdReference(MDNode &Op); 216 SmallVector<MDNode *, 16> DistinctWorklist; 220 SmallVector<MDNode *, 16> POTStorage; 243 Metadata *map(const MDNode &N); 265 Metadata *mapTopLevelUniquedNode(const MDNode &FirstN); 284 MDNode *mapDistinctNode(const MDNode &N); 303 bool createPOT(UniquedGraph &G, const MDNode &FirstN); 312 MDNode *visitOperands(UniquedGraph &G, MDNode::op_iterator &I, 313 MDNode::op_iterator E, bool &HasChanged); [all …]
|
D | InlineFunction.cpp | 772 MDNode *M = in PropagateParallelLoopAccessMetadata() 774 MDNode *CallAccessGroup = in PropagateParallelLoopAccessMetadata() 789 if (MDNode *PM = in PropagateParallelLoopAccessMetadata() 791 M = MDNode::concatenate(PM, M); in PropagateParallelLoopAccessMetadata() 799 MDNode *UnitedAccGroups = uniteAccessGroups( in PropagateParallelLoopAccessMetadata() 815 SetVector<const MDNode *> MD; in CloneAliasScopeMetadata() 824 if (const MDNode *M = J.getMetadata(LLVMContext::MD_alias_scope)) in CloneAliasScopeMetadata() 826 if (const MDNode *M = J.getMetadata(LLVMContext::MD_noalias)) in CloneAliasScopeMetadata() 837 const MDNode *M = cast<MDNode>(Queue.pop_back_val()); in CloneAliasScopeMetadata() 839 if (const MDNode *M1 = dyn_cast<MDNode>(M->getOperand(i))) in CloneAliasScopeMetadata() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600OpenCLImageTypeLoweringPass.cpp | 92 GetFunctionFromMDNode(MDNode *Node) { in GetFunctionFromMDNode() 107 MDNode *ArgNode = dyn_cast_or_null<MDNode>(Node->getOperand(i + 1)); in GetFunctionFromMDNode() 124 AccessQualFromMD(MDNode *KernelMDNode, unsigned ArgIdx) { in AccessQualFromMD() 125 MDNode *ArgAQNode = cast<MDNode>(KernelMDNode->getOperand(2)); in AccessQualFromMD() 130 ArgTypeFromMD(MDNode *KernelMDNode, unsigned ArgIdx) { in ArgTypeFromMD() 131 MDNode *ArgTypeNode = cast<MDNode>(KernelMDNode->getOperand(3)); in ArgTypeFromMD() 136 GetArgMD(MDNode *KernelMDNode, unsigned OpIdx) { in GetArgMD() 139 MDNode *Node = cast<MDNode>(KernelMDNode->getOperand(i + 1)); in GetArgMD() 228 bool replaceImageAndSamplerUses(Function *F, MDNode *KernelMDNode) { in replaceImageAndSamplerUses() 268 std::tuple<Function *, MDNode *> [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | TypeBasedAliasAnalysis.h | 27 class MDNode; variable 55 bool Aliases(const MDNode *A, const MDNode *B) const; 56 bool PathAliases(const MDNode *A, const MDNode *B) const;
|