| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A 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()
|
| H A D | Metadata.cpp | 1191 MDNode *Value::getMetadata(unsigned KindID) const { in getMetadata() 1196 return Info.lookup(KindID); in getMetadata() 1207 void Value::getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const { in getMetadata() argument 1209 getContext().pImpl->ValueMetadata[this].get(KindID, MDs); in getMetadata() 1228 void Value::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() argument 1237 Info.set(KindID, Node); in setMetadata() 1249 Info.erase(KindID); in setMetadata() 1262 void Value::addMetadata(unsigned KindID, MDNode &MD) { in addMetadata() argument 1266 getContext().pImpl->ValueMetadata[this].insert(KindID, MD); in addMetadata() 1273 bool Value::eraseMetadata(unsigned KindID) { in eraseMetadata() argument [all …]
|
| H A D | Core.cpp | 137 LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID, in LLVMCreateEnumAttribute() argument 140 auto AttrKind = (Attribute::AttrKind)KindID; in LLVMCreateEnumAttribute() 167 LLVMAttributeRef LLVMCreateTypeAttribute(LLVMContextRef C, unsigned KindID, in LLVMCreateTypeAttribute() argument 170 auto AttrKind = (Attribute::AttrKind)KindID; in LLVMCreateTypeAttribute() 907 LLVMValueRef LLVMGetMetadata(LLVMValueRef Inst, unsigned KindID) { in LLVMGetMetadata() argument 910 if (auto *MD = I->getMetadata(KindID)) in LLVMGetMetadata() 929 void LLVMSetMetadata(LLVMValueRef Inst, unsigned KindID, LLVMValueRef Val) { in LLVMSetMetadata() argument 932 unwrap<Instruction>(Inst)->setMetadata(KindID, N); in LLVMSetMetadata() 2469 unsigned KindID) { in LLVMGetEnumAttributeAtIndex() argument 2471 (Attribute::AttrKind)KindID)); in LLVMGetEnumAttributeAtIndex() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| H A 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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/ |
| H A 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A 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;
|
| H A D | Value.h | 577 MDNode *getMetadata(unsigned KindID) const; 585 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 601 bool hasMetadata(unsigned KindID) const { in hasMetadata() argument 602 return getMetadata(KindID) != nullptr; in hasMetadata() 614 void setMetadata(unsigned KindID, MDNode *Node); 620 void addMetadata(unsigned KindID, MDNode &MD); 627 bool eraseMetadata(unsigned KindID);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/bindings/go/llvm/ |
| H A D | IRBindings.cpp | 48 void LLVMSetMetadata2(LLVMValueRef Inst, unsigned KindID, LLVMMetadataRef MD) { in LLVMSetMetadata2() argument 50 unwrap<Instruction>(Inst)->setMetadata(KindID, N); in LLVMSetMetadata2()
|
| H A D | IRBindings.h | 44 void LLVMSetMetadata2(LLVMValueRef Inst, unsigned KindID, LLVMMetadataRef MD);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | InstructionSimplify.h | 69 MDNode *getMetadata(const Instruction *I, unsigned KindID) const { in getMetadata() 71 return I->getMetadata(KindID); in getMetadata()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm-c/ |
| H A D | Core.h | 593 LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID, 610 LLVMAttributeRef LLVMCreateTypeAttribute(LLVMContextRef C, unsigned KindID, 2584 unsigned KindID); 2589 unsigned KindID); 3131 LLVMValueRef LLVMGetMetadata(LLVMValueRef Val, unsigned KindID); 3136 void LLVMSetMetadata(LLVMValueRef Val, unsigned KindID, LLVMValueRef Node); 3292 unsigned KindID); 3297 unsigned KindID);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | OpenMPOpt.cpp | 2640 MDString *KindID = dyn_cast<MDString>(Op->getOperand(1)); in identifyKernels() local 2641 if (!KindID || KindID->getString() != "kernel") in identifyKernels()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| H A D | AsmMatcherEmitter.cpp | 2046 unsigned KindID = OperandConversionKinds.size(); in emitConvertFuncs() local 2052 ConversionTable.back().push_back(KindID); in emitConvertFuncs()
|