Searched refs:ConstLength (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 3063 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 …]
|
D | CGOpenMPRuntime.cpp | 5118 llvm::APSInt ConstLength; in isFinalArraySectionExpression() local 5119 if (!Length->EvaluateAsInt(ConstLength, CGF.getContext())) in isFinalArraySectionExpression() 5122 return ConstLength.getSExtValue() != 1; in isFinalArraySectionExpression()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExpr.cpp | 3937 llvm::APSInt ConstLength; in EmitOMPArraySectionExpr() local 3941 ConstLength = CL->zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr() 3953 --ConstLength; in EmitOMPArraySectionExpr() 3969 : llvm::ConstantInt::get(IntPtrTy, ConstLength); in EmitOMPArraySectionExpr() 3979 Idx = llvm::ConstantInt::get(IntPtrTy, ConstLength + ConstLowerBound); in EmitOMPArraySectionExpr() 3988 ConstLength = *L; in EmitOMPArraySectionExpr() 3993 ConstLength = CAT->getSize(); in EmitOMPArraySectionExpr() 4003 ConstLength = ConstLength.zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr() 4004 --ConstLength; in EmitOMPArraySectionExpr() 4005 Idx = llvm::ConstantInt::get(IntPtrTy, ConstLength); in EmitOMPArraySectionExpr()
|
D | CGOpenMPRuntime.cpp | 7379 llvm::APSInt ConstLength = Result.Val.getInt(); in isFinalArraySectionExpression() local 7380 return ConstLength.getSExtValue() != 1; in isFinalArraySectionExpression()
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 10396 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()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 16741 llvm::APSInt ConstLength = Result.Val.getInt(); in checkArrayExpressionDoesNotReferToWholeSize() local 16742 return CATy->getSize().getSExtValue() != ConstLength.getSExtValue(); in checkArrayExpressionDoesNotReferToWholeSize() 16777 llvm::APSInt ConstLength = Result.Val.getInt(); in checkArrayExpressionDoesNotReferToUnitySize() local 16778 return ConstLength.getSExtValue() != 1; in checkArrayExpressionDoesNotReferToUnitySize()
|