Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DLLVMContextImpl.h171 class MDNodeOpsKey {
178 MDNodeOpsKey(ArrayRef<Metadata *> Ops) in MDNodeOpsKey() function
182 MDNodeOpsKey(const NodeTy *N, unsigned Offset = 0)
218 template <> struct MDNodeKeyImpl<MDTuple> : MDNodeOpsKey {
219 MDNodeKeyImpl(ArrayRef<Metadata *> Ops) : MDNodeOpsKey(Ops) {}
220 MDNodeKeyImpl(const MDTuple *N) : MDNodeOpsKey(N) {}
227 return MDNodeOpsKey::calculateHash(N);
256 template <> struct MDNodeKeyImpl<GenericDINode> : MDNodeOpsKey {
260 : MDNodeOpsKey(DwarfOps), Tag(Tag), Header(Header) {}
262 : MDNodeOpsKey(N, 1), Tag(N->getTag()), Header(N->getHeader()) {}
[all …]
DLLVMContextImpl.cpp205 unsigned MDNodeOpsKey::calculateHash(MDNode *N, unsigned Offset) { in calculateHash()
218 unsigned MDNodeOpsKey::calculateHash(ArrayRef<Metadata *> Ops) { in calculateHash()