/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 262 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/ |
D | GlobalOpt.cpp | 310 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/ |
D | GlobalOpt.cpp | 305 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/ |
D | SemaInit.cpp | 383 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/ |
D | SemaInit.cpp | 492 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 …]
|