Searched refs:ConstLength (Results 1 – 3 of 3) sorted by relevance
3063 llvm::APSInt ConstLength; in EmitOMPArraySectionExpr() local3066 if (Length->isIntegerConstantExpr(ConstLength, C)) { in EmitOMPArraySectionExpr()3067 ConstLength = ConstLength.zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr()3077 --ConstLength; in EmitOMPArraySectionExpr()3093 : llvm::ConstantInt::get(IntPtrTy, ConstLength); in EmitOMPArraySectionExpr()3103 Idx = llvm::ConstantInt::get(IntPtrTy, ConstLength + ConstLowerBound); in EmitOMPArraySectionExpr()3111 if (Length->isIntegerConstantExpr(ConstLength, C)) in EmitOMPArraySectionExpr()3115 ConstLength = CAT->getSize(); in EmitOMPArraySectionExpr()3125 ConstLength = ConstLength.zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr()3126 --ConstLength; in EmitOMPArraySectionExpr()[all …]
5118 llvm::APSInt ConstLength; in isFinalArraySectionExpression() local5119 if (!Length->EvaluateAsInt(ConstLength, CGF.getContext())) in isFinalArraySectionExpression()5122 return ConstLength.getSExtValue() != 1; in isFinalArraySectionExpression()
10396 llvm::APSInt ConstLength; in CheckArrayExpressionDoesNotReferToWholeSize() local10397 if (!Length->EvaluateAsInt(ConstLength, SemaRef.getASTContext())) in CheckArrayExpressionDoesNotReferToWholeSize()10400 return CATy->getSize().getSExtValue() != ConstLength.getSExtValue(); in CheckArrayExpressionDoesNotReferToWholeSize()10430 llvm::APSInt ConstLength; in CheckArrayExpressionDoesNotReferToUnitySize() local10431 if (!Length->EvaluateAsInt(ConstLength, SemaRef.getASTContext())) in CheckArrayExpressionDoesNotReferToUnitySize()10434 return ConstLength.getSExtValue() != 1; in CheckArrayExpressionDoesNotReferToUnitySize()