Home
last modified time | relevance | path

Searched refs:SubInit (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp262 Constant *SubInit = nullptr; in CleanupConstantGlobalUsers() local
264 SubInit = ConstantFoldLoadThroughGEPConstantExpr(Init, CE); in CleanupConstantGlobalUsers()
265 Changed |= CleanupConstantGlobalUsers(CE, SubInit, DL, TLI); in CleanupConstantGlobalUsers()
281 Constant *SubInit = nullptr; in CleanupConstantGlobalUsers() local
286 SubInit = ConstantFoldLoadThroughGEPConstantExpr(Init, CE); in CleanupConstantGlobalUsers()
292 SubInit = Constant::getNullValue(GEP->getResultElementType()); in CleanupConstantGlobalUsers()
294 Changed |= CleanupConstantGlobalUsers(GEP, SubInit, DL, TLI); in CleanupConstantGlobalUsers()
/external/llvm-project/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp310 Constant *SubInit = nullptr; in CleanupConstantGlobalUsers() local
312 SubInit = ConstantFoldLoadThroughGEPConstantExpr(Init, CE); in CleanupConstantGlobalUsers()
313 Changed |= CleanupConstantGlobalUsers(CE, SubInit, DL, GetTLI); in CleanupConstantGlobalUsers()
329 Constant *SubInit = nullptr; in CleanupConstantGlobalUsers() local
334 SubInit = ConstantFoldLoadThroughGEPConstantExpr(Init, CE); in CleanupConstantGlobalUsers()
340 SubInit = Constant::getNullValue(GEP->getResultElementType()); in CleanupConstantGlobalUsers()
342 Changed |= CleanupConstantGlobalUsers(GEP, SubInit, DL, GetTLI); in CleanupConstantGlobalUsers()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp305 Constant *SubInit = nullptr; in CleanupConstantGlobalUsers() local
307 SubInit = ConstantFoldLoadThroughGEPConstantExpr(Init, CE); in CleanupConstantGlobalUsers()
308 Changed |= CleanupConstantGlobalUsers(CE, SubInit, DL, GetTLI); in CleanupConstantGlobalUsers()
324 Constant *SubInit = nullptr; in CleanupConstantGlobalUsers() local
329 SubInit = ConstantFoldLoadThroughGEPConstantExpr(Init, CE); in CleanupConstantGlobalUsers()
335 SubInit = Constant::getNullValue(GEP->getResultElementType()); in CleanupConstantGlobalUsers()
337 Changed |= CleanupConstantGlobalUsers(GEP, SubInit, DL, GetTLI); in CleanupConstantGlobalUsers()
/external/clang/lib/Sema/
DSemaInit.cpp383 MultiExprArg SubInit; in PerformEmptyInit() local
407 SubInit = InitExpr; in PerformEmptyInit()
414 InitializationSequence InitSeq(SemaRef, Entity, Kind, SubInit); in PerformEmptyInit()
468 InitSeq.Diagnose(SemaRef, Entity, Kind, SubInit); in PerformEmptyInit()
481 : InitSeq.Perform(SemaRef, Entity, Kind, SubInit); in PerformEmptyInit()
3801 Expr *SubInit[1] = {InitList->getInit(0)}; in TryListInitialization() local
3803 IsStringInit(SubInit[0], DestAT, S.Context) == SIF_None) { in TryListInitialization()
3810 Sequence.InitializeFrom(S, Entity, SubKind, SubInit, in TryListInitialization()
3920 Expr *SubInit[1] = { InitList->getInit(0) }; in TryListInitialization() local
3921 Sequence.InitializeFrom(S, Entity, SubKind, SubInit, in TryListInitialization()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaInit.cpp492 MultiExprArg SubInit; in PerformEmptyInit() local
516 SubInit = InitExpr; in PerformEmptyInit()
523 InitializationSequence InitSeq(SemaRef, Entity, Kind, SubInit); in PerformEmptyInit()
577 InitSeq.Diagnose(SemaRef, Entity, Kind, SubInit); in PerformEmptyInit()
596 : InitSeq.Perform(SemaRef, Entity, Kind, SubInit); in PerformEmptyInit()
4345 Expr *SubInit[1] = {InitList->getInit(0)}; in TryListInitialization() local
4347 IsStringInit(SubInit[0], DestAT, S.Context) == SIF_None) { in TryListInitialization()
4354 Sequence.InitializeFrom(S, Entity, SubKind, SubInit, in TryListInitialization()
4470 Expr *SubInit[1] = { Init }; in TryListInitialization() local
4471 Sequence.InitializeFrom(S, Entity, SubKind, SubInit, in TryListInitialization()
[all …]