Home
last modified time | relevance | path

Searched refs:ConstLength (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp4753 llvm::APSInt ConstLength; in EmitArraySectionExpr() local
4757 ConstLength = CL->zextOrTrunc(PointerWidthInBits); in EmitArraySectionExpr()
4770 --ConstLength; in EmitArraySectionExpr()
4786 : llvm::ConstantInt::get(IntPtrTy, ConstLength); in EmitArraySectionExpr()
4796 Idx = llvm::ConstantInt::get(IntPtrTy, ConstLength + ConstLowerBound); in EmitArraySectionExpr()
4805 ConstLength = *L; in EmitArraySectionExpr()
4811 ConstLength = CAT->getSize(); in EmitArraySectionExpr()
4821 ConstLength = ConstLength.zextOrTrunc(PointerWidthInBits); in EmitArraySectionExpr()
4822 --ConstLength; in EmitArraySectionExpr()
4823 Idx = llvm::ConstantInt::get(IntPtrTy, ConstLength); in EmitArraySectionExpr()
H A DCGOpenMPRuntime.cpp7079 llvm::APSInt ConstLength = Result.Val.getInt(); in isFinalArraySectionExpression() local
7080 return ConstLength.getSExtValue() != 1; in isFinalArraySectionExpression()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1176 auto *ConstLength = cast<ConstantInt>(CopyLength); in processMemCpyMemCpyDependence() local
1178 LocationSize::precise(ConstLength->getZExtValue())); in processMemCpyMemCpyDependence()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp20778 llvm::APSInt ConstLength = Result.Val.getInt(); in checkArrayExpressionDoesNotReferToWholeSize() local
20779 return CATy->getSExtSize() != ConstLength.getSExtValue(); in checkArrayExpressionDoesNotReferToWholeSize()
20814 llvm::APSInt ConstLength = Result.Val.getInt(); in checkArrayExpressionDoesNotReferToUnitySize() local
20815 return ConstLength.getSExtValue() != 1; in checkArrayExpressionDoesNotReferToUnitySize()