Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopIdiomVectorize.cpp123 GetElementPtrInst *GEPA, GetElementPtrInst *GEPB,
128 GetElementPtrInst *GEPB, Value *ExtStart,
132 GetElementPtrInst *GEPB, Value *ExtStart,
135 void transformByteCompare(GetElementPtrInst *GEPA, GetElementPtrInst *GEPB,
302 GetElementPtrInst *GEPB = dyn_cast<GetElementPtrInst>(B); in recognizeByteCompare() local
304 if (!GEPA || !GEPB) in recognizeByteCompare()
308 Value *PtrB = GEPB->getPointerOperand(); in recognizeByteCompare()
313 !GEPB->getResultElementType()->isIntegerTy(8) || in recognizeByteCompare()
319 if (GEPA->getNumIndices() > 1 || GEPB->getNumIndices() > 1) in recognizeByteCompare()
323 Value *IdxB = GEPB->getOperand(GEPB->getNumIndices()); in recognizeByteCompare()
[all …]
H A DLoadStoreVectorizer.cpp1171 auto *GEPB = dyn_cast<GetElementPtrInst>(PtrB); in getConstantOffsetComplexAddrs() local
1172 if (!GEPA || !GEPB) in getConstantOffsetComplexAddrs()
1177 if (GEPA->getNumOperands() != GEPB->getNumOperands() || in getConstantOffsetComplexAddrs()
1178 GEPA->getPointerOperand() != GEPB->getPointerOperand()) in getConstantOffsetComplexAddrs()
1181 gep_type_iterator GTIB = gep_type_begin(GEPB); in getConstantOffsetComplexAddrs()