Home
last modified time | relevance | path

Searched refs:MDNodeOpsKey (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/IR/
DLLVMContextImpl.h172 class MDNodeOpsKey {
179 MDNodeOpsKey(ArrayRef<Metadata *> Ops) in MDNodeOpsKey() function
183 MDNodeOpsKey(const NodeTy *N, unsigned Offset = 0)
230 template <> struct MDNodeKeyImpl<MDTuple> : MDNodeOpsKey {
231 MDNodeKeyImpl(ArrayRef<Metadata *> Ops) : MDNodeOpsKey(Ops) {}
232 MDNodeKeyImpl(const MDTuple *N) : MDNodeOpsKey(N) {}
239 return MDNodeOpsKey::calculateHash(N);
268 template <> struct MDNodeKeyImpl<GenericDINode> : MDNodeOpsKey {
272 : MDNodeOpsKey(DwarfOps), Tag(Tag), Header(Header) {}
274 : MDNodeOpsKey(N, 1), Tag(N->getTag()), Header(N->getRawHeader()) {}
[all …]
DLLVMContextImpl.cpp181 unsigned MDNodeOpsKey::calculateHash(MDNode *N, unsigned Offset) { in calculateHash()
194 unsigned MDNodeOpsKey::calculateHash(ArrayRef<Metadata *> Ops) { in calculateHash()