Home
last modified time | relevance | path

Searched refs:getValueKind (Results 1 – 25 of 74) sorted by relevance

123

/external/clang/lib/AST/
DExprClassification.cpp56 case Cl::CL_LValue: assert(getValueKind() == VK_LValue); break; in ClassifyImpl()
57 case Cl::CL_XValue: assert(getValueKind() == VK_XValue); break; in ClassifyImpl()
67 case Cl::CL_PRValue: assert(getValueKind() == VK_RValue); break; in ClassifyImpl()
254 return ClassifyExprValueKind(Lang, E, E->getValueKind()); in ClassifyInternal()
259 cast<PseudoObjectExpr>(E)->getValueKind()); in ClassifyInternal()
264 return ClassifyExprValueKind(Lang, E, E->getValueKind()); in ClassifyInternal()
399 return ClassifyExprValueKind(Lang, E, E->getValueKind()); in ClassifyInternal()
DASTImporter.cpp5403 T, E->getValueKind(), in VisitDeclRefExpr()
5536 Importer.Import(E->getLParenLoc()), TInfo, T, E->getValueKind(), in VisitCompoundLiteralExpr()
5616 T, E->getValueKind(), in VisitUnaryOperator()
5660 T, E->getValueKind(), in VisitBinaryOperator()
5686 ToRHS, T, E->getValueKind(), E->getObjectKind()); in VisitConditionalOperator()
5719 T, E->getValueKind(), E->getObjectKind()); in VisitBinaryConditionalOperator()
5732 Importer.Import(E->getExprLoc()), T, E->getValueKind(), in VisitOpaqueValueExpr()
5759 T, E->getValueKind(), in VisitCompoundAssignOperator()
5787 SubExpr, &BasePath, E->getValueKind()); in VisitImplicitCastExpr()
5808 E->getValueKind(), E->getCastKind(), in VisitCStyleCastExpr()
[all …]
DExpr.cpp3253 assert((E->getValueKind() == VK_LValue && in getObjCProperty()
3293 (ICE->getValueKind() != VK_RValue && ICE->getCastKind() == CK_NoOp)) in getSourceBitField()
3333 if (ICE->getValueKind() != VK_RValue && in refersToVectorElement()
3469 AssocExprs[ResultIndex]->getValueKind(), in GenericSelectionExpr()
3529 Init->getValueKind(), Init->getObjectKind(), in DesignatedInitExpr()
3766 VK = semantics[resultIndex]->getValueKind(); in Create()
/external/llvm-project/clang/lib/AST/
DExprClassification.cpp56 case Cl::CL_LValue: assert(getValueKind() == VK_LValue); break; in ClassifyImpl()
57 case Cl::CL_XValue: assert(getValueKind() == VK_XValue); break; in ClassifyImpl()
67 case Cl::CL_PRValue: assert(getValueKind() == VK_RValue); break; in ClassifyImpl()
280 return ClassifyExprValueKind(Lang, E, E->getValueKind()); in ClassifyInternal()
285 cast<PseudoObjectExpr>(E)->getValueKind()); in ClassifyInternal()
290 return ClassifyExprValueKind(Lang, E, E->getValueKind()); in ClassifyInternal()
428 return ClassifyExprValueKind(Lang, E, E->getValueKind()); in ClassifyInternal()
DASTImporter.cpp6480 ExprValueKind VK = E->getValueKind(); in VisitChooseExpr()
6549 E->getValueKind(), ToFoundD, ToResInfo, E->isNonOdrUse()); in VisitDeclRefExpr()
6699 ToLParenLoc, ToTypeSourceInfo, ToType, E->getValueKind(), in VisitCompoundLiteralExpr()
6797 E->getValueKind(), E->getObjectKind(), ToOperatorLoc, E->canOverflow(), in VisitUnaryOperator()
6841 E->getValueKind(), E->getObjectKind(), ToOperatorLoc, in VisitBinaryOperator()
6858 E->getValueKind(), E->getObjectKind()); in VisitConditionalOperator()
6877 ToQuestionLoc, ToColonLoc, ToType, E->getValueKind(), in VisitBinaryConditionalOperator()
6920 ToLocation, ToType, E->getValueKind(), E->getObjectKind(), ToSourceExpr); in VisitOpaqueValueExpr()
6933 ToLHS, ToRHS, ToType, E->getValueKind(), E->getObjectKind(), in VisitArraySubscriptExpr()
6952 E->getValueKind(), E->getObjectKind(), ToOperatorLoc, in VisitCompoundAssignOperator()
[all …]
DExprObjC.cpp279 switch (getValueKind()) { in getCallReturnType()
/external/clang/lib/Sema/
DSemaPseudoObject.cpp65 refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildObjCPropertyRefExpr()
71 refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildObjCPropertyRefExpr()
81 refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildObjCSubscriptRefExpr()
91 refExpr->getValueKind(), refExpr->getQualifierLoc(), in rebuildMSPropertyRefExpr()
103 refExpr->getType(), refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildMSPropertySubscriptExpr()
133 uop->getValueKind(), in rebuild()
175 rebuiltExpr->getValueKind(), in rebuild()
365 e->getValueKind(), e->getObjectKind(), in capture()
449 capturedRHS->getValueKind(), in buildAssignmentOperation()
464 result.get()->getValueKind(), in buildAssignmentOperation()
[all …]
DSemaCoroutine.cpp246 if (E->getValueKind() == VK_RValue) in BuildCoawaitExpr()
313 if (E->getValueKind() == VK_RValue) in BuildCoyieldExpr()
DSemaExprCXX.cpp444 E = ImpCastExprToType(E, UnqualT, CK_NoOp, E->getValueKind()).get(); in BuildCXXTypeId()
3228 nullptr, Result.get()->getValueKind()); in BuildCXXCastArgument()
3613 CK_DerivedToBase, From->getValueKind(), in PerformImplicitConversion()
3705 From->getValueKind()).get(); in PerformImplicitConversion()
3726 From->getValueKind() : VK_RValue; in PerformImplicitConversion()
4861 ExprValueKind VK = isIndirect ? VK_RValue : LHS.get()->getValueKind(); in CheckPointerToMemberOperands()
4920 VK = LHS.get()->getValueKind(); in CheckPointerToMemberOperands()
5142 VK = NonThrow->getValueKind(); in CXXCheckConditionalOperands()
5202 ExprValueKind LVK = LHS.get()->getValueKind(); in CXXCheckConditionalOperands()
5203 ExprValueKind RVK = RHS.get()->getValueKind(); in CXXCheckConditionalOperands()
[all …]
DSemaExprMember.cpp1636 VK = POE->getSyntacticForm()->getValueKind(); in LookupMemberExpr()
1638 VK = BaseExpr.get()->getValueKind(); in LookupMemberExpr()
1773 VK = BaseExpr->getValueKind(); in BuildFieldReferenceExpr()
DSemaExpr.cpp2628 ExprValueKind VK = From->getValueKind(); in PerformObjectMemberConversion()
4423 VK = LHSExp->getValueKind(); in CreateBuiltinArraySubscriptExpr()
5228 Fn->getValueKind(), FDecl); in ActOnCallExpr()
7053 && commonExpr->getValueKind() == RHSExpr->getValueKind() in ActOnConditionalOp()
7066 commonExpr->getValueKind(), in ActOnConditionalOp()
10847 VK = LHS.get()->getValueKind(); in CreateBuiltinBinOp()
10942 VK = RHS.get()->getValueKind(); in CreateBuiltinBinOp()
11455 if (Input.get()->getValueKind() != VK_RValue && in CreateBuiltinUnaryOp()
11457 VK = Input.get()->getValueKind(); in CreateBuiltinUnaryOp()
11466 VK = Input.get()->getValueKind(); in CreateBuiltinUnaryOp()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.h65 StringRef getValueKind(Type *Ty, StringRef TypeQual,
133 ValueKind getValueKind(Type *Ty, StringRef TypeQual,
DAMDGPUHSAMetadataStreamer.cpp102 ValueKind MetadataStreamerV2::getValueKind(Type *Ty, StringRef TypeQual, in getValueKind() function in llvm::AMDGPU::HSAMD::MetadataStreamerV2
357 emitKernelArg(DL, Ty, getValueKind(Arg.getType(), TypeQual, BaseTypeName), in emitKernelArg()
549 StringRef MetadataStreamerV3::getValueKind(Type *Ty, StringRef TypeQual, in getValueKind() function in llvm::AMDGPU::HSAMD::MetadataStreamerV3
780 getValueKind(Arg.getType(), TypeQual, BaseTypeName), Offset, in emitKernelArg()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.h67 StringRef getValueKind(Type *Ty, StringRef TypeQual,
134 ValueKind getValueKind(Type *Ty, StringRef TypeQual,
DAMDGPUHSAMetadataStreamer.cpp119 ValueKind MetadataStreamerV2::getValueKind(Type *Ty, StringRef TypeQual, in getValueKind() function in llvm::AMDGPU::HSAMD::MetadataStreamerV2
347 getValueKind(ArgTy, TypeQual, BaseTypeName), PointeeAlign, Name, in emitKernelArg()
538 StringRef MetadataStreamerV3::getValueKind(Type *Ty, StringRef TypeQual, in getValueKind() function in llvm::AMDGPU::HSAMD::MetadataStreamerV3
743 getValueKind(ArgTy, TypeQual, BaseTypeName), Offset, Args, in emitKernelArg()
/external/llvm-project/clang/lib/Sema/
DSemaPseudoObject.cpp64 refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildObjCPropertyRefExpr()
70 refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildObjCPropertyRefExpr()
80 refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildObjCSubscriptRefExpr()
90 refExpr->getValueKind(), refExpr->getQualifierLoc(), in rebuildMSPropertyRefExpr()
102 refExpr->getType(), refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildMSPropertySubscriptExpr()
131 S.Context, e, uop->getOpcode(), uop->getType(), uop->getValueKind(), in rebuild()
170 rebuiltExpr->getType(), rebuiltExpr->getValueKind(), in rebuild()
363 e->getValueKind(), e->getObjectKind(), in capture()
451 capturedRHS->getValueKind(), OK_Ordinary, in buildAssignmentOperation()
466 result.get()->getValueKind(), OK_Ordinary, opcLoc, in buildAssignmentOperation()
[all …]
DSemaExprCXX.cpp596 E = ImpCastExprToType(E, UnqualT, CK_NoOp, E->getValueKind()).get(); in BuildCXXTypeId()
3936 nullptr, Result.get()->getValueKind(), in BuildCXXCastArgument()
4227 From = ImpCastExprToType(From, ToType, CK_NoOp, From->getValueKind(), in PerformImplicitConversion()
4336 CK_DerivedToBase, From->getValueKind(), in PerformImplicitConversion()
4441 From->getValueKind()).get(); in PerformImplicitConversion()
4471 ExprValueKind VK = From->getValueKind(); in PerformImplicitConversion()
5672 ExprValueKind VK = isIndirect ? VK_RValue : LHS.get()->getValueKind(); in CheckPointerToMemberOperands()
5739 VK = LHS.get()->getValueKind(); in CheckPointerToMemberOperands()
6099 VK = NonThrow->getValueKind(); in CXXCheckConditionalOperands()
6168 ExprValueKind LVK = LHS.get()->getValueKind(); in CXXCheckConditionalOperands()
[all …]
DSemaExprMember.cpp1603 VK = POE->getSyntacticForm()->getValueKind(); in LookupMemberExpr()
1605 VK = BaseExpr.get()->getValueKind(); in LookupMemberExpr()
1780 VK = BaseExpr->getValueKind(); in BuildFieldReferenceExpr()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DReplaceAutoPtrCheck.cpp36 AST_MATCHER(Expr, isLValue) { return Node.getValueKind() == VK_LValue; } in AST_MATCHER()
/external/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp184 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in computeNumValueSiteCounts()
203 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in lowerValueProfileInst()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp617 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in computeNumValueSiteCounts()
635 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in lowerValueProfileInst()
641 bool IsMemOpSize = (Ind->getValueKind()->getZExtValue() == in lowerValueProfileInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp586 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in computeNumValueSiteCounts()
604 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in lowerValueProfileInst()
610 bool IsRange = (Ind->getValueKind()->getZExtValue() == in lowerValueProfileInst()
/external/llvm/include/llvm/IR/
DIntrinsicInst.h387 ConstantInt *getValueKind() const { in getValueKind() function
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DASTResultSynthesizer.cpp285 bool is_lvalue = last_expr->getValueKind() == VK_LValue && in SynthesizeBodyResult()
/external/llvm-project/clang/include/clang/AST/
DExpr.h272 bool isLValue() const { return getValueKind() == VK_LValue; } in isLValue()
273 bool isRValue() const { return getValueKind() == VK_RValue; } in isRValue()
274 bool isXValue() const { return getValueKind() == VK_XValue; } in isXValue()
275 bool isGLValue() const { return getValueKind() != VK_RValue; } in isGLValue()
432 ExprValueKind getValueKind() const { in getValueKind() function
999 : Expr(SC, subexpr->getType(), subexpr->getValueKind(), in FullExpr()
2047 : Expr(ParenExprClass, val->getType(), val->getValueKind(), in ParenExpr()
2659 : Expr(MatrixSubscriptExprClass, T, Base->getValueKind(), in MatrixSubscriptExpr()

123