Home
last modified time | relevance | path

Searched refs:InitKind (Results 1 – 22 of 22) sorted by relevance

/external/llvm-project/clang/include/clang/AST/
DDeclOpenMP.h175 enum InitKind { enum
242 InitKind getInitializerKind() const { in getInitializerKind()
243 return static_cast<InitKind>(OMPDeclareReductionDeclBits.InitializerKind); in getInitializerKind()
252 void setInitializer(Expr *E, InitKind IK) { in setInitializer()
/external/clang/include/clang/Sema/
DInitialization.h451 enum InitKind { enum
471 InitKind Kind : 8;
479 InitializationKind(InitKind Kind, InitContext Context, SourceLocation Loc1, in InitializationKind()
552 InitKind getKind() const { in getKind()
DSema.h5127 LambdaCaptureInitKind InitKind, Expr *&Init) { in actOnLambdaInitCaptureInitialization() argument
5129 Loc, ByRef, Id, InitKind != LambdaCaptureInitKind::CopyInit, Init)); in actOnLambdaInitCaptureInitialization()
/external/llvm-project/clang/include/clang/Sema/
DInitialization.h563 enum InitKind { enum
603 InitKind Kind : 8;
611 InitializationKind(InitKind Kind, InitContext Context, SourceLocation Loc1, in InitializationKind()
702 InitKind getKind() const { in getKind()
DDeclSpec.h2669 LambdaCaptureInitKind InitKind; member
2676 LambdaCaptureInitKind InitKind, ExprResult Init, in LambdaCapture()
2680 InitKind(InitKind), Init(Init), InitCaptureType(InitCaptureType), in LambdaCapture()
2697 LambdaCaptureInitKind InitKind, in addCapture()
2701 Captures.push_back(LambdaCapture(Kind, Loc, Id, EllipsisLoc, InitKind, Init, in addCapture()
DSema.h6465 IdentifierInfo *Id, LambdaCaptureInitKind InitKind, Expr *&Init) { in actOnLambdaInitCaptureInitialization() argument
6468 InitKind != LambdaCaptureInitKind::CopyInit, Init)); in actOnLambdaInitCaptureInitialization()
/external/llvm/include/llvm/TableGen/
DRecord.h254 enum InitKind : uint8_t { enum
278 const InitKind Kind;
287 InitKind getKind() const { return Kind; } in getKind()
290 explicit Init(InitKind K, uint8_t Opc = 0) : Kind(K), Opc(Opc) {} in Kind()
391 explicit TypedInit(InitKind K, RecTy *T, uint8_t Opc = 0)
725 explicit OpInit(InitKind K, RecTy *Type, uint8_t Opc) in OpInit()
/external/clang/lib/Sema/
DSemaLambda.cpp988 switch (C->InitKind) { in ActOnStartOfLambdaDefinition()
1010 assert(C->InitKind == LambdaCaptureInitKind::NoInit && in ActOnStartOfLambdaDefinition()
1461 InitializationKind InitKind = InitializationKind::CreateDirect(Loc, Loc, Loc); in performLambdaVarCaptureInitialization() local
1462 InitializationSequence Init(S, Entities.back(), InitKind, Ref); in performLambdaVarCaptureInitialization()
1463 return Init.Perform(S, Entities.back(), InitKind, Ref); in performLambdaVarCaptureInitialization()
DSemaCast.cpp1506 InitializationKind InitKind in TryStaticImplicitCast() local
1514 InitializationSequence InitSeq(Self, Entity, InitKind, SrcExprRaw); in TryStaticImplicitCast()
1526 ExprResult Result = InitSeq.Perform(Self, Entity, InitKind, SrcExprRaw); in TryStaticImplicitCast()
DSemaDeclCXX.cpp3361 InitializationKind InitKind in BuildImplicitBaseInitializer() local
3363 InitializationSequence InitSeq(SemaRef, InitEntity, InitKind, None); in BuildImplicitBaseInitializer()
3364 BaseInit = InitSeq.Perform(SemaRef, InitEntity, InitKind, None); in BuildImplicitBaseInitializer()
3398 InitializationKind InitKind in BuildImplicitBaseInitializer() local
3401 InitializationSequence InitSeq(SemaRef, InitEntity, InitKind, CopyCtorArg); in BuildImplicitBaseInitializer()
3402 BaseInit = InitSeq.Perform(SemaRef, InitEntity, InitKind, CopyCtorArg); in BuildImplicitBaseInitializer()
3550 InitializationKind InitKind = in BuildImplicitMemberInitializer() local
3554 InitializationSequence InitSeq(SemaRef, Entities.back(), InitKind, in BuildImplicitMemberInitializer()
3558 = InitSeq.Perform(SemaRef, Entities.back(), InitKind, in BuildImplicitMemberInitializer()
3591 InitializationKind InitKind = in BuildImplicitMemberInitializer() local
[all …]
DSemaExprCXX.cpp1065 InitializationKind InitKind = InitializationKind::CreateDirect(Loc, Loc, Loc); in captureThis() local
1066 InitializationSequence Init(S, Entity, InitKind, StarThis); in captureThis()
1067 ExprResult ER = Init.Perform(S, Entity, InitKind, StarThis); in captureThis()
4400 InitializationKind InitKind(InitializationKind::CreateDirect(KWLoc, KWLoc, in evaluateTypeTrait() local
4402 InitializationSequence Init(S, To, InitKind, ArgExprs); in evaluateTypeTrait()
4406 ExprResult Result = Init.Perform(S, To, InitKind, ArgExprs); in evaluateTypeTrait()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
DRecord.h302 enum InitKind : uint8_t { enum
331 const InitKind Kind;
340 InitKind getKind() const { return Kind; } in getKind()
343 explicit Init(InitKind K, uint8_t Opc = 0) : Kind(K), Opc(Opc) {} in Kind()
429 explicit TypedInit(InitKind K, RecTy *T, uint8_t Opc = 0)
729 explicit OpInit(InitKind K, RecTy *Type, uint8_t Opc) in OpInit()
/external/llvm-project/llvm/include/llvm/TableGen/
DRecord.h285 enum InitKind : uint8_t { enum
313 const InitKind Kind;
323 InitKind getKind() const { return Kind; } in getKind()
326 explicit Init(InitKind K, uint8_t Opc = 0) : Kind(K), Opc(Opc) {} in Kind()
409 explicit TypedInit(InitKind K, RecTy *T, uint8_t Opc = 0)
701 explicit OpInit(InitKind K, RecTy *Type, uint8_t Opc) in OpInit()
/external/llvm-project/clang/lib/Sema/
DSemaLambda.cpp1104 switch (C->InitKind) { in ActOnStartOfLambdaDefinition()
1127 assert(C->InitKind == LambdaCaptureInitKind::NoInit && in ActOnStartOfLambdaDefinition()
1617 InitializationKind InitKind = in BuildCaptureInit() local
1619 InitializationSequence InitSeq(*this, Entity, InitKind, InitExpr); in BuildCaptureInit()
1620 return InitSeq.Perform(*this, Entity, InitKind, InitExpr); in BuildCaptureInit()
DSemaCast.cpp1736 InitializationKind InitKind in TryStaticImplicitCast() local
1747 InitializationSequence InitSeq(Self, Entity, InitKind, SrcExprRaw); in TryStaticImplicitCast()
1759 ExprResult Result = InitSeq.Perform(Self, Entity, InitKind, SrcExprRaw); in TryStaticImplicitCast()
DSemaDeclCXX.cpp4609 InitializationKind InitKind in BuildImplicitBaseInitializer() local
4611 InitializationSequence InitSeq(SemaRef, InitEntity, InitKind, None); in BuildImplicitBaseInitializer()
4612 BaseInit = InitSeq.Perform(SemaRef, InitEntity, InitKind, None); in BuildImplicitBaseInitializer()
4646 InitializationKind InitKind in BuildImplicitBaseInitializer() local
4649 InitializationSequence InitSeq(SemaRef, InitEntity, InitKind, CopyCtorArg); in BuildImplicitBaseInitializer()
4650 BaseInit = InitSeq.Perform(SemaRef, InitEntity, InitKind, CopyCtorArg); in BuildImplicitBaseInitializer()
4741 InitializationKind InitKind = in BuildImplicitMemberInitializer() local
4745 InitializationSequence InitSeq(SemaRef, Entity, InitKind, CtorArgE); in BuildImplicitMemberInitializer()
4747 InitSeq.Perform(SemaRef, Entity, InitKind, MultiExprArg(&CtorArgE, 1)); in BuildImplicitMemberInitializer()
4773 InitializationKind InitKind = in BuildImplicitMemberInitializer() local
[all …]
DSemaExprCXX.cpp5168 InitializationKind InitKind(InitializationKind::CreateDirect(KWLoc, KWLoc, in evaluateTypeTrait() local
5170 InitializationSequence Init(S, To, InitKind, ArgExprs); in evaluateTypeTrait()
5174 ExprResult Result = Init.Perform(S, To, InitKind, ArgExprs); in evaluateTypeTrait()
/external/clang/lib/Parse/
DParseExprCXX.cpp847 LambdaCaptureInitKind InitKind = LambdaCaptureInitKind::NoInit; in ParseLambdaIntroducer() local
893 InitKind = LambdaCaptureInitKind::DirectInit; in ParseLambdaIntroducer()
917 InitKind = LambdaCaptureInitKind::CopyInit; in ParseLambdaIntroducer()
919 InitKind = LambdaCaptureInitKind::ListInit; in ParseLambdaIntroducer()
1017 Loc, Kind == LCK_ByRef, Id, InitKind, InitExpr); in ParseLambdaIntroducer()
1020 Intro.addCapture(Kind, Loc, Id, EllipsisLoc, InitKind, Init, in ParseLambdaIntroducer()
/external/llvm-project/clang/lib/Parse/
DParseExprCXX.cpp909 LambdaCaptureInitKind InitKind = LambdaCaptureInitKind::NoInit; in ParseLambdaIntroducer() local
975 InitKind = LambdaCaptureInitKind::DirectInit; in ParseLambdaIntroducer()
999 InitKind = LambdaCaptureInitKind::CopyInit; in ParseLambdaIntroducer()
1001 InitKind = LambdaCaptureInitKind::ListInit; in ParseLambdaIntroducer()
1071 bool InitCapture = InitKind != LambdaCaptureInitKind::NoInit; in ParseLambdaIntroducer()
1137 Loc, Kind == LCK_ByRef, EllipsisLoc, Id, InitKind, InitExpr); in ParseLambdaIntroducer()
1144 Intro.addCapture(Kind, Loc, Id, EllipsisLoc, InitKind, Init, in ParseLambdaIntroducer()
DParseDecl.cpp2196 enum class InitKind { Uninitialized, Equal, CXXDirect, CXXBraced }; in ParseDeclarationAfterDeclaratorAndAttributes() enum
2197 InitKind TheInitKind; in ParseDeclarationAfterDeclaratorAndAttributes()
2200 TheInitKind = InitKind::Equal; in ParseDeclarationAfterDeclaratorAndAttributes()
2202 TheInitKind = InitKind::CXXDirect; in ParseDeclarationAfterDeclaratorAndAttributes()
2205 TheInitKind = InitKind::CXXBraced; in ParseDeclarationAfterDeclaratorAndAttributes()
2207 TheInitKind = InitKind::Uninitialized; in ParseDeclarationAfterDeclaratorAndAttributes()
2208 if (TheInitKind != InitKind::Uninitialized) in ParseDeclarationAfterDeclaratorAndAttributes()
2275 case InitKind::Equal: { in ParseDeclarationAfterDeclaratorAndAttributes()
2332 case InitKind::CXXDirect: { in ParseDeclarationAfterDeclaratorAndAttributes()
2388 case InitKind::CXXBraced: { in ParseDeclarationAfterDeclaratorAndAttributes()
[all …]
/external/llvm-project/llvm/lib/Transforms/IPO/
DOpenMPOpt.cpp109 ICVInitValue InitKind; member
248 ICV.InitKind = Init; \ in initializeInternalControlVars()
250 switch (ICV.InitKind) { \ in initializeInternalControlVars()
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp2703 auto IK = static_cast<OMPDeclareReductionDecl::InitKind>(Record.readInt()); in VisitOMPDeclareReductionDecl()