Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp735 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy); in canReplaceGEPIdxWithZero() local
764 return isObjectSizeLessThanOrEq(GEPI->getOperand(0), TyAllocSize, DL) && in canReplaceGEPIdxWithZero()
DInstructionCombining.cpp1566 uint64_t TyAllocSize = DL.getTypeAllocSize(Ty); in visitGetElementPtrInst() local
1571 if (TyAllocSize == 1) { in visitGetElementPtrInst()
1576 if (TyAllocSize == 1ULL << C) in visitGetElementPtrInst()
1580 if (TyAllocSize == C) in visitGetElementPtrInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp882 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy); in canReplaceGEPIdxWithZero() local
909 return isObjectSizeLessThanOrEq(GEPI->getOperand(0), TyAllocSize, DL) && in canReplaceGEPIdxWithZero()
DInstructionCombining.cpp1964 uint64_t TyAllocSize = DL.getTypeAllocSize(GEPEltType); in visitGetElementPtrInst() local
1969 if (TyAllocSize == 1) { in visitGetElementPtrInst()
1974 if (TyAllocSize == 1ULL << C) in visitGetElementPtrInst()
1978 if (TyAllocSize == C) in visitGetElementPtrInst()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp3542 uint64_t TyAllocSize = Q.DL.getTypeAllocSize(Ty); in SimplifyGEPInst() local
3544 if (TyAllocSize == 0) in SimplifyGEPInst()
3562 if (TyAllocSize == 1 && in SimplifyGEPInst()
3572 TyAllocSize == 1ULL << C) in SimplifyGEPInst()
3580 m_SpecificInt(TyAllocSize)))) in SimplifyGEPInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp4071 uint64_t TyAllocSize = Q.DL.getTypeAllocSize(Ty); in SimplifyGEPInst() local
4073 if (TyAllocSize == 0 && Ops[0]->getType() == GEPTy) in SimplifyGEPInst()
4091 if (TyAllocSize == 1 && in SimplifyGEPInst()
4101 TyAllocSize == 1ULL << C) in SimplifyGEPInst()
4109 m_SpecificInt(TyAllocSize)))) in SimplifyGEPInst()