/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | GlobalObject.h | 128 bool hasMetadata(unsigned KindID) const { in hasMetadata() argument 129 return getMetadata(KindID) != nullptr; in hasMetadata() 140 MDNode *getMetadata(unsigned KindID) const; 148 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 157 void setMetadata(unsigned KindID, MDNode *MD); 163 void addMetadata(unsigned KindID, MDNode &MD); 175 bool eraseMetadata(unsigned KindID);
|
D | Instruction.h | 233 bool hasMetadata(unsigned KindID) const { 234 return getMetadata(KindID) != nullptr; 244 MDNode *getMetadata(unsigned KindID) const { 246 return getMetadataImpl(KindID); 280 void setMetadata(unsigned KindID, MDNode *Node); 465 MDNode *getMetadataImpl(unsigned KindID) const;
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | GlobalObject.h | 86 MDNode *getMetadata(unsigned KindID) const; 94 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 103 void setMetadata(unsigned KindID, MDNode *MD); 109 void addMetadata(unsigned KindID, MDNode &MD); 119 void eraseMetadata(unsigned KindID);
|
D | Instruction.h | 175 MDNode *getMetadata(unsigned KindID) const { in getMetadata() argument 177 return getMetadataImpl(KindID); in getMetadata() 211 void setMetadata(unsigned KindID, MDNode *Node); 355 MDNode *getMetadataImpl(unsigned KindID) const;
|
/external/llvm/include/llvm/IR/ |
D | GlobalObject.h | 83 MDNode *getMetadata(unsigned KindID) const; 91 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 100 void setMetadata(unsigned KindID, MDNode *MD); 106 void addMetadata(unsigned KindID, MDNode &MD); 116 void eraseMetadata(unsigned KindID);
|
D | Instruction.h | 161 MDNode *getMetadata(unsigned KindID) const { 163 return getMetadataImpl(KindID); 197 void setMetadata(unsigned KindID, MDNode *Node); 330 MDNode *getMetadataImpl(unsigned KindID) const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | AttributeImpl.h | 39 unsigned char KindID; ///< Holds the AttrEntryKind of the attribute variable 49 AttributeImpl(AttrEntryKind KindID) : KindID(KindID) {} in AttributeImpl() argument 58 bool isEnumAttribute() const { return KindID == EnumAttrEntry; } in isEnumAttribute() 59 bool isIntAttribute() const { return KindID == IntAttrEntry; } in isIntAttribute() 60 bool isStringAttribute() const { return KindID == StringAttrEntry; } in isStringAttribute() 61 bool isTypeAttribute() const { return KindID == TypeAttrEntry; } in isTypeAttribute()
|
D | Metadata.cpp | 1224 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() argument 1229 if (KindID == LLVMContext::MD_dbg) { in setMetadata() 1241 Info.set(KindID, *Node); in setMetadata() 1254 Info.erase(KindID); in setMetadata() 1270 MDNode *Instruction::getMetadataImpl(unsigned KindID) const { in getMetadataImpl() 1272 if (KindID == LLVMContext::MD_dbg) in getMetadataImpl() 1280 return Info.lookup(KindID); in getMetadataImpl() 1381 void GlobalObject::getMetadata(unsigned KindID, in getMetadata() argument 1384 getContext().pImpl->GlobalObjectMetadata[this].get(KindID, MDs); in getMetadata() 1393 void GlobalObject::addMetadata(unsigned KindID, MDNode &MD) { in addMetadata() argument [all …]
|
/external/llvm-project/llvm/lib/IR/ |
D | AttributeImpl.h | 40 unsigned char KindID; ///< Holds the AttrEntryKind of the attribute variable 50 AttributeImpl(AttrEntryKind KindID) : KindID(KindID) {} in AttributeImpl() argument 57 bool isEnumAttribute() const { return KindID == EnumAttrEntry; } in isEnumAttribute() 58 bool isIntAttribute() const { return KindID == IntAttrEntry; } in isIntAttribute() 59 bool isStringAttribute() const { return KindID == StringAttrEntry; } in isStringAttribute() 60 bool isTypeAttribute() const { return KindID == TypeAttrEntry; } in isTypeAttribute()
|
D | Metadata.cpp | 1179 MDNode *Value::getMetadata(unsigned KindID) const { in getMetadata() 1184 return Info.lookup(KindID); in getMetadata() 1195 void Value::getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const { in getMetadata() argument 1197 getContext().pImpl->ValueMetadata[this].get(KindID, MDs); in getMetadata() 1216 void Value::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() argument 1225 Info.set(KindID, Node); in setMetadata() 1237 Info.erase(KindID); in setMetadata() 1250 void Value::addMetadata(unsigned KindID, MDNode &MD) { in addMetadata() argument 1254 getContext().pImpl->ValueMetadata[this].insert(KindID, MD); in addMetadata() 1261 bool Value::eraseMetadata(unsigned KindID) { in eraseMetadata() argument [all …]
|
/external/llvm/lib/IR/ |
D | AttributeImpl.h | 37 unsigned char KindID; ///< Holds the AttrEntryKind of the attribute variable 50 AttributeImpl(AttrEntryKind KindID) : KindID(KindID) {} in AttributeImpl() argument 55 bool isEnumAttribute() const { return KindID == EnumAttrEntry; } in isEnumAttribute() 56 bool isIntAttribute() const { return KindID == IntAttrEntry; } in isIntAttribute() 57 bool isStringAttribute() const { return KindID == StringAttrEntry; } in isStringAttribute()
|
D | Metadata.cpp | 1203 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() argument 1208 if (KindID == LLVMContext::MD_dbg) { in setMetadata() 1220 Info.set(KindID, *Node); in setMetadata() 1233 Info.erase(KindID); in setMetadata() 1248 MDNode *Instruction::getMetadataImpl(unsigned KindID) const { in getMetadataImpl() 1250 if (KindID == LLVMContext::MD_dbg) in getMetadataImpl() 1258 return Info.lookup(KindID); in getMetadataImpl() 1347 void GlobalObject::getMetadata(unsigned KindID, in getMetadata() argument 1350 getContext().pImpl->GlobalObjectMetadata[this].get(KindID, MDs); in getMetadata() 1359 void GlobalObject::addMetadata(unsigned KindID, MDNode &MD) { in addMetadata() argument [all …]
|
D | Core.cpp | 134 LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID, in LLVMCreateEnumAttribute() argument 136 return wrap(Attribute::get(*unwrap(C), (Attribute::AttrKind)KindID, Val)); in LLVMCreateEnumAttribute() 665 LLVMValueRef LLVMGetMetadata(LLVMValueRef Inst, unsigned KindID) { in LLVMGetMetadata() argument 668 if (auto *MD = I->getMetadata(KindID)) in LLVMGetMetadata() 687 void LLVMSetMetadata(LLVMValueRef Inst, unsigned KindID, LLVMValueRef Val) { in LLVMSetMetadata() argument 690 unwrap<Instruction>(Inst)->setMetadata(KindID, N); in LLVMSetMetadata() 1849 unsigned KindID) { in LLVMGetEnumAttributeAtIndex() argument 1851 (Attribute::AttrKind)KindID)); in LLVMGetEnumAttributeAtIndex() 1861 unsigned KindID) { in LLVMRemoveEnumAttributeAtIndex() argument 1862 unwrap<Function>(F)->removeAttribute(Idx, (Attribute::AttrKind)KindID); in LLVMRemoveEnumAttributeAtIndex() [all …]
|
/external/llvm-project/clang/lib/Analysis/ |
D | CloneDetection.cpp | 571 if (ThisOccurence.KindID == OtherOccurence.KindID) in countPatternDifferences() 590 if (OtherOccurence.KindID < Variables.size()) in countPatternDifferences() 591 FirstSuggestion = Variables[OtherOccurence.KindID]; in countPatternDifferences() 596 Variables[ThisOccurence.KindID], ThisOccurence.Mention, in countPatternDifferences() 603 if (ThisOccurence.KindID < Other.Variables.size()) in countPatternDifferences() 604 SecondSuggestion = Other.Variables[ThisOccurence.KindID]; in countPatternDifferences() 609 Other.Variables[OtherOccurence.KindID], OtherOccurence.Mention, in countPatternDifferences()
|
/external/llvm-project/clang/include/clang/Analysis/ |
D | CloneDetection.h | 356 size_t KindID; member 360 VariableOccurence(size_t KindID, const Stmt *Mention) in VariableOccurence() 361 : KindID(KindID), Mention(Mention) {} in VariableOccurence()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Instruction.h | 266 bool hasMetadata(unsigned KindID) const { 267 return getMetadata(KindID) != nullptr; 277 MDNode *getMetadata(unsigned KindID) const { 279 return getMetadataImpl(KindID); 312 void setMetadata(unsigned KindID, MDNode *Node); 513 MDNode *getMetadataImpl(unsigned KindID) const;
|
D | Value.h | 561 MDNode *getMetadata(unsigned KindID) const; 569 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 585 bool hasMetadata(unsigned KindID) const { in hasMetadata() argument 586 return getMetadata(KindID) != nullptr; in hasMetadata() 598 void setMetadata(unsigned KindID, MDNode *Node); 604 void addMetadata(unsigned KindID, MDNode &MD); 611 bool eraseMetadata(unsigned KindID);
|
/external/llvm-project/llvm/bindings/go/llvm/ |
D | IRBindings.cpp | 48 void LLVMSetMetadata2(LLVMValueRef Inst, unsigned KindID, LLVMMetadataRef MD) { in LLVMSetMetadata2() argument 50 unwrap<Instruction>(Inst)->setMetadata(KindID, N); in LLVMSetMetadata2()
|
D | IRBindings.h | 44 void LLVMSetMetadata2(LLVMValueRef Inst, unsigned KindID, LLVMMetadataRef MD);
|
/external/llvm/bindings/go/llvm/ |
D | IRBindings.cpp | 83 void LLVMSetMetadata2(LLVMValueRef Inst, unsigned KindID, LLVMMetadataRef MD) { in LLVMSetMetadata2() argument 85 unwrap<Instruction>(Inst)->setMetadata(KindID, N); in LLVMSetMetadata2()
|
D | IRBindings.h | 50 void LLVMSetMetadata2(LLVMValueRef Inst, unsigned KindID, LLVMMetadataRef MD);
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | InstructionSimplify.h | 68 MDNode *getMetadata(const Instruction *I, unsigned KindID) const { in getMetadata() 70 return I->getMetadata(KindID); in getMetadata()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | InstructionSimplify.h | 65 MDNode *getMetadata(const Instruction *I, unsigned KindID) const { in getMetadata() 67 return I->getMetadata(KindID); in getMetadata()
|
/external/llvm/include/llvm-c/ |
D | Core.h | 510 LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID, 2019 unsigned KindID); 2024 unsigned KindID); 2464 LLVMValueRef LLVMGetMetadata(LLVMValueRef Val, unsigned KindID); 2469 void LLVMSetMetadata(LLVMValueRef Val, unsigned KindID, LLVMValueRef Node); 2605 unsigned KindID); 2610 unsigned KindID);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/ |
D | Core.h | 589 LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID, 2524 unsigned KindID); 2529 unsigned KindID); 3071 LLVMValueRef LLVMGetMetadata(LLVMValueRef Val, unsigned KindID); 3076 void LLVMSetMetadata(LLVMValueRef Val, unsigned KindID, LLVMValueRef Node); 3232 unsigned KindID); 3237 unsigned KindID);
|