Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DAddrModeMatcher.cpp153 bool AddressingModeMatcher::MatchOperationAddr(User *AddrInst, unsigned Opcode, in MatchOperationAddr() argument
161 return MatchAddr(AddrInst->getOperand(0), Depth); in MatchOperationAddr()
164 if (TLI.getValueType(AddrInst->getOperand(0)->getType()) == in MatchOperationAddr()
166 return MatchAddr(AddrInst->getOperand(0), Depth); in MatchOperationAddr()
171 if ((AddrInst->getOperand(0)->getType()->isPointerTy() || in MatchOperationAddr()
172 AddrInst->getOperand(0)->getType()->isIntegerTy()) && in MatchOperationAddr()
176 AddrInst->getOperand(0)->getType() != AddrInst->getType()) in MatchOperationAddr()
177 return MatchAddr(AddrInst->getOperand(0), Depth); in MatchOperationAddr()
183 if (MatchAddr(AddrInst->getOperand(1), Depth+1) && in MatchOperationAddr()
184 MatchAddr(AddrInst->getOperand(0), Depth+1)) in MatchOperationAddr()
[all …]
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3144 bool AddressingModeMatcher::matchOperationAddr(User *AddrInst, unsigned Opcode, in matchOperationAddr() argument
3157 return matchAddr(AddrInst->getOperand(0), Depth); in matchOperationAddr()
3159 auto AS = AddrInst->getType()->getPointerAddressSpace(); in matchOperationAddr()
3162 if (TLI.getValueType(DL, AddrInst->getOperand(0)->getType()) == PtrTy) in matchOperationAddr()
3163 return matchAddr(AddrInst->getOperand(0), Depth); in matchOperationAddr()
3169 if ((AddrInst->getOperand(0)->getType()->isPointerTy() || in matchOperationAddr()
3170 AddrInst->getOperand(0)->getType()->isIntegerTy()) && in matchOperationAddr()
3174 AddrInst->getOperand(0)->getType() != AddrInst->getType()) in matchOperationAddr()
3175 return matchAddr(AddrInst->getOperand(0), Depth); in matchOperationAddr()
3179 = AddrInst->getOperand(0)->getType()->getPointerAddressSpace(); in matchOperationAddr()
[all …]