Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILLegalizePass.cpp126 Type *GEPType = GEP->getPointerOperandType(); in fixI8UseChain() local
129 GEPType = GV->getValueType(); in fixI8UseChain()
131 GEPType = AI->getAllocatedType(); in fixI8UseChain()
133 if (auto *ArrTy = dyn_cast<ArrayType>(GEPType)) in fixI8UseChain()
134 GEPType = ArrTy; in fixI8UseChain()
136 GEPType = ArrayType::get(ElementType, 1); // its a scalar in fixI8UseChain()
139 GEPType, PtrOperand, {Builder.getInt32(0), Builder.getInt32(Index)}, in fixI8UseChain()
229 Type *GEPType = ElementType; in fixI8UseChain() local
233 GEPType = ArrayType::get(ElementType, 1); // its a scalar in fixI8UseChain()
246 GEPType, BasePtr, {Builder.getInt32(0), Builder.getInt32(Index)}, in fixI8UseChain()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3082 Type *GEPType = GEP.getType(); in visitGetElementPtrInst() local
3092 if (auto *GEPFVTy = dyn_cast<FixedVectorType>(GEPType)) { in visitGetElementPtrInst()
3149 APInt Offset(DL.getIndexTypeSizeInBits(GEPType), 0); in visitGetElementPtrInst()
3166 if (GEPType->isVectorTy() && llvm::any_of(GEP.operands(), [](Value *Op) { in visitGetElementPtrInst()
3183 ElementCount EC = cast<VectorType>(GEPType)->getElementCount(); in visitGetElementPtrInst()
3214 GEPType == Y->getType()) { in visitGetElementPtrInst()
3283 if (GEPType->isVectorTy()) in visitGetElementPtrInst()