Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGExpr.cpp3063 llvm::APSInt ConstLength; in EmitOMPArraySectionExpr() local
3066 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 …]
DCGOpenMPRuntime.cpp5118 llvm::APSInt ConstLength; in isFinalArraySectionExpression() local
5119 if (!Length->EvaluateAsInt(ConstLength, CGF.getContext())) in isFinalArraySectionExpression()
5122 return ConstLength.getSExtValue() != 1; in isFinalArraySectionExpression()
/external/clang/lib/Sema/
DSemaOpenMP.cpp10396 llvm::APSInt ConstLength; in CheckArrayExpressionDoesNotReferToWholeSize() local
10397 if (!Length->EvaluateAsInt(ConstLength, SemaRef.getASTContext())) in CheckArrayExpressionDoesNotReferToWholeSize()
10400 return CATy->getSize().getSExtValue() != ConstLength.getSExtValue(); in CheckArrayExpressionDoesNotReferToWholeSize()
10430 llvm::APSInt ConstLength; in CheckArrayExpressionDoesNotReferToUnitySize() local
10431 if (!Length->EvaluateAsInt(ConstLength, SemaRef.getASTContext())) in CheckArrayExpressionDoesNotReferToUnitySize()
10434 return ConstLength.getSExtValue() != 1; in CheckArrayExpressionDoesNotReferToUnitySize()