Searched refs:AddrInst (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | AddrModeMatcher.cpp | 153 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/ |
D | CodeGenPrepare.cpp | 3144 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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 2625 bool matchOperationAddr(User *AddrInst, unsigned Opcode, unsigned Depth, 3743 bool AddressingModeMatcher::matchOperationAddr(User *AddrInst, unsigned Opcode, in matchOperationAddr() argument 3756 return matchAddr(AddrInst->getOperand(0), Depth); in matchOperationAddr() 3758 auto AS = AddrInst->getType()->getPointerAddressSpace(); in matchOperationAddr() 3761 if (TLI.getValueType(DL, AddrInst->getOperand(0)->getType()) == PtrTy) in matchOperationAddr() 3762 return matchAddr(AddrInst->getOperand(0), Depth); in matchOperationAddr() 3768 if (AddrInst->getOperand(0)->getType()->isIntOrPtrTy() && in matchOperationAddr() 3772 AddrInst->getOperand(0)->getType() != AddrInst->getType()) in matchOperationAddr() 3773 return matchAddr(AddrInst->getOperand(0), Depth); in matchOperationAddr() 3777 = AddrInst->getOperand(0)->getType()->getPointerAddressSpace(); in matchOperationAddr() [all …]
|