Home
last modified time | relevance | path

Searched refs:NewInit (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DModuleUtils.cpp76 Constant *NewInit = ConstantArray::get(AT, CurrentCtors); in appendToGlobalArray() local
80 (void)new GlobalVariable(M, NewInit->getType(), false, in appendToGlobalArray()
81 GlobalValue::AppendingLinkage, NewInit, Array); in appendToGlobalArray()
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp518 Constant *NewInit = ConstantStruct::getAnon(M->getContext(), GlobalInits); in buildBitSetsFromGlobalVariables() local
520 new GlobalVariable(*M, NewInit->getType(), /*isConstant=*/true, in buildBitSetsFromGlobalVariables()
521 GlobalValue::PrivateLinkage, NewInit); in buildBitSetsFromGlobalVariables()
523 StructType *NewTy = cast<StructType>(NewInit->getType()); in buildBitSetsFromGlobalVariables()
542 NewInit->getType(), CombinedGlobal, CombinedGlobalIdxs); in buildBitSetsFromGlobalVariables()
DWholeProgramDevirt.cpp628 auto NewInit = ConstantStruct::getAnon( in rebuildGlobal() local
633 new GlobalVariable(M, NewInit->getType(), B.GV->isConstant(), in rebuildGlobal()
634 GlobalVariable::PrivateLinkage, NewInit, "", B.GV); in rebuildGlobal()
647 NewInit->getType(), NewGV, in rebuildGlobal()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp4295 MemInitResult NewInit = BuildBaseInitializer(BaseTInfo->getType(), in InstantiateMemInitializers() local
4299 if (NewInit.isInvalid()) { in InstantiateMemInitializers()
4304 NewInits.push_back(NewInit.get()); in InstantiateMemInitializers()
4318 MemInitResult NewInit; in InstantiateMemInitializers() local
4331 NewInit = BuildBaseInitializer(TInfo->getType(), TInfo, TempInit.get(), in InstantiateMemInitializers()
4334 NewInit = BuildDelegatingInitializer(TInfo, TempInit.get(), in InstantiateMemInitializers()
4347 NewInit = BuildMemberInitializer(Member, TempInit.get(), in InstantiateMemInitializers()
4361 NewInit = BuildMemberInitializer(IndirectMember, TempInit.get(), in InstantiateMemInitializers()
4365 if (NewInit.isInvalid()) { in InstantiateMemInitializers()
4369 NewInits.push_back(NewInit.get()); in InstantiateMemInitializers()
DSemaTemplateInstantiate.cpp2267 ExprResult NewInit = SubstInitializer(OldInit, TemplateArgs, in InstantiateInClassInitializer() local
2269 Expr *Init = NewInit.get(); in InstantiateInClassInitializer()
DTreeTransform.h9446 ExprResult NewInit; in TransformCXXNewExpr() local
9448 NewInit = getDerived().TransformInitializer(OldInit, true); in TransformCXXNewExpr()
9449 if (NewInit.isInvalid()) in TransformCXXNewExpr()
9474 NewInit.get() == OldInit && in TransformCXXNewExpr()
9534 NewInit.get()); in TransformCXXNewExpr()
/external/llvm/lib/TableGen/
DRecord.cpp713 if (Init *NewInit = BI->convertInitializerTo(IntRecTy::get())) in Fold() local
714 return NewInit; in Fold()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1531 Constant *NewInit = ConstantFP::get(DestTy, IsSigned ? in OptimizeShadowIV() local
1567 NewPH->addIncoming(NewInit, PH->getIncomingBlock(Entry)); in OptimizeShadowIV()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1847 Constant *NewInit = ConstantFP::get(DestTy, IsSigned ? in OptimizeShadowIV() local
1883 NewPH->addIncoming(NewInit, PH->getIncomingBlock(Entry)); in OptimizeShadowIV()