Home
last modified time | relevance | path

Searched refs:GEPTy (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp2074 Type *GEPTy = GetElementPtrInst::getGEPReturnType( in ConstantFoldGetElementPtr() local
2078 return UndefValue::get(GEPTy); in ConstantFoldGetElementPtr()
2082 return GEPTy->isVectorTy() && !C->getType()->isVectorTy() in ConstantFoldGetElementPtr()
2084 cast<VectorType>(GEPTy)->getNumElements(), C) in ConstantFoldGetElementPtr()
2101 Type *GEPTy = PointerType::get(Ty, PtrTy->getAddressSpace()); in ConstantFoldGetElementPtr() local
2103 GEPTy = VectorType::get(OrigGEPTy, VT->getNumElements()); in ConstantFoldGetElementPtr()
2109 GEPTy = VectorType::get(OrigGEPTy, VT->getNumElements()); in ConstantFoldGetElementPtr()
2114 return Constant::getNullValue(GEPTy); in ConstantFoldGetElementPtr()
/external/llvm/lib/IR/
DConstantFold.cpp2062 Type *GEPTy = PointerType::get(Ty, PtrTy->getAddressSpace()); in ConstantFoldGetElementPtrImpl() local
2064 GEPTy = VectorType::get(GEPTy, VT->getNumElements()); in ConstantFoldGetElementPtrImpl()
2065 return UndefValue::get(GEPTy); in ConstantFoldGetElementPtrImpl()
2080 Type *GEPTy = PointerType::get(Ty, PtrTy->getAddressSpace()); in ConstantFoldGetElementPtrImpl() local
2082 GEPTy = VectorType::get(GEPTy, VT->getNumElements()); in ConstantFoldGetElementPtrImpl()
2083 return Constant::getNullValue(GEPTy); in ConstantFoldGetElementPtrImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInstructionSimplify.cpp3873 Type *GEPTy = PointerType::get(LastType, AS); in SimplifyGEPInst() local
3875 GEPTy = VectorType::get(GEPTy, VT->getNumElements()); in SimplifyGEPInst()
3877 GEPTy = VectorType::get(GEPTy, VT->getNumElements()); in SimplifyGEPInst()
3880 return UndefValue::get(GEPTy); in SimplifyGEPInst()
3884 if (match(Ops[1], m_Zero()) && Ops[0]->getType() == GEPTy) in SimplifyGEPInst()
3893 if (TyAllocSize == 0 && Ops[0]->getType() == GEPTy) in SimplifyGEPInst()
3900 auto PtrToIntOrZero = [GEPTy](Value *P) -> Value * { in SimplifyGEPInst()
3902 return Constant::getNullValue(GEPTy); in SimplifyGEPInst()
3905 if (Temp->getType() == GEPTy) in SimplifyGEPInst()
3950 auto *CI = ConstantInt::get(GEPTy->getContext(), BasePtrOffset); in SimplifyGEPInst()
[all …]
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp3526 Type *GEPTy = PointerType::get(LastType, AS); in SimplifyGEPInst() local
3528 GEPTy = VectorType::get(GEPTy, VT->getNumElements()); in SimplifyGEPInst()
3531 return UndefValue::get(GEPTy); in SimplifyGEPInst()
3551 auto PtrToIntOrZero = [GEPTy](Value *P) -> Value * { in SimplifyGEPInst()
3553 return Constant::getNullValue(GEPTy); in SimplifyGEPInst()
3556 if (Temp->getType() == GEPTy) in SimplifyGEPInst()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp2248 Type *GEPTy = PointerType::get(LastType, PtrTy->getAddressSpace()); in SimplifyGEPInst() local
2249 return UndefValue::get(GEPTy); in SimplifyGEPInst()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp261 Type *GEPTy = cast<BitCastInst>(Ptr)->getSrcTy(); in getGEPInstruction() local
262 if (!isa<PointerType>(BitcastTy) || !isa<PointerType>(GEPTy)) in getGEPInstruction()
265 Type *Pointee2Ty = cast<PointerType>(GEPTy)->getPointerElementType(); in getGEPInstruction()