Home
last modified time | relevance | path

Searched refs:NewInit (Results 1 – 23 of 23) 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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DModuleUtils.cpp56 Constant *NewInit = ConstantArray::get(AT, CurrentCtors); in appendToGlobalArray() local
60 (void)new GlobalVariable(M, NewInit->getType(), false, in appendToGlobalArray()
61 GlobalValue::AppendingLinkage, NewInit, Array); in appendToGlobalArray()
/external/llvm-project/llvm/lib/Transforms/Utils/
DModuleUtils.cpp58 Constant *NewInit = ConstantArray::get(AT, CurrentCtors); in appendToGlobalArray() local
62 (void)new GlobalVariable(M, NewInit->getType(), false, in appendToGlobalArray()
63 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-project/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp867 Constant *NewInit = ConstantStruct::getAnon(M.getContext(), GlobalInits); in buildBitSetsFromGlobalVariables() local
869 new GlobalVariable(M, NewInit->getType(), /*isConstant=*/true, in buildBitSetsFromGlobalVariables()
870 GlobalValue::PrivateLinkage, NewInit); in buildBitSetsFromGlobalVariables()
873 StructType *NewTy = cast<StructType>(NewInit->getType()); in buildBitSetsFromGlobalVariables()
886 NewInit->getType(), CombinedGlobal, CombinedGlobalIdxs); in buildBitSetsFromGlobalVariables()
DWholeProgramDevirt.cpp1677 auto NewInit = ConstantStruct::getAnon( in rebuildGlobal() local
1682 new GlobalVariable(M, NewInit->getType(), B.GV->isConstant(), in rebuildGlobal()
1683 GlobalVariable::PrivateLinkage, NewInit, "", B.GV); in rebuildGlobal()
1697 NewInit->getType(), NewGV, in rebuildGlobal()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp858 Constant *NewInit = ConstantStruct::getAnon(M.getContext(), GlobalInits); in buildBitSetsFromGlobalVariables() local
860 new GlobalVariable(M, NewInit->getType(), /*isConstant=*/true, in buildBitSetsFromGlobalVariables()
861 GlobalValue::PrivateLinkage, NewInit); in buildBitSetsFromGlobalVariables()
864 StructType *NewTy = cast<StructType>(NewInit->getType()); in buildBitSetsFromGlobalVariables()
877 NewInit->getType(), CombinedGlobal, CombinedGlobalIdxs); in buildBitSetsFromGlobalVariables()
DWholeProgramDevirt.cpp1522 auto NewInit = ConstantStruct::getAnon( in rebuildGlobal() local
1527 new GlobalVariable(M, NewInit->getType(), B.GV->isConstant(), in rebuildGlobal()
1528 GlobalVariable::PrivateLinkage, NewInit, "", B.GV); in rebuildGlobal()
1542 NewInit->getType(), NewGV, in rebuildGlobal()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp5443 MemInitResult NewInit = BuildBaseInitializer(BaseTInfo->getType(), in InstantiateMemInitializers() local
5447 if (NewInit.isInvalid()) { in InstantiateMemInitializers()
5452 NewInits.push_back(NewInit.get()); in InstantiateMemInitializers()
5466 MemInitResult NewInit; in InstantiateMemInitializers() local
5479 NewInit = BuildBaseInitializer(TInfo->getType(), TInfo, TempInit.get(), in InstantiateMemInitializers()
5482 NewInit = BuildDelegatingInitializer(TInfo, TempInit.get(), in InstantiateMemInitializers()
5495 NewInit = BuildMemberInitializer(Member, TempInit.get(), in InstantiateMemInitializers()
5509 NewInit = BuildMemberInitializer(IndirectMember, TempInit.get(), in InstantiateMemInitializers()
5513 if (NewInit.isInvalid()) { in InstantiateMemInitializers()
5517 NewInits.push_back(NewInit.get()); in InstantiateMemInitializers()
DSemaTemplateInstantiate.cpp2995 ExprResult NewInit = SubstInitializer(OldInit, TemplateArgs, in InstantiateInClassInitializer() local
2997 Expr *Init = NewInit.get(); in InstantiateInClassInitializer()
DTreeTransform.h11499 ExprResult NewInit; in TransformCXXNewExpr() local
11501 NewInit = getDerived().TransformInitializer(OldInit, true); in TransformCXXNewExpr()
11502 if (NewInit.isInvalid()) in TransformCXXNewExpr()
11525 NewInit.get() == OldInit && in TransformCXXNewExpr()
11579 AllocTypeInfo, ArraySize, E->getDirectInitRange(), 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-10.0/llvm/lib/TableGen/
DRecord.cpp760 if (Init *NewInit = LHS->convertInitializerTo(getType())) in Fold() local
761 return NewInit; in Fold()
/external/llvm-project/llvm/lib/TableGen/
DRecord.cpp732 if (Init *NewInit = LHS->convertInitializerTo(getType())) in Fold() local
733 return NewInit; in Fold()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAutoUpgrade.cpp884 Constant *NewInit = ConstantArray::get(ArrayType::get(EltTy, N), NewCtors); in UpgradeGlobalVariable() local
886 return new GlobalVariable(NewInit->getType(), false, GV->getLinkage(), in UpgradeGlobalVariable()
887 NewInit, GV->getName()); in UpgradeGlobalVariable()
/external/llvm-project/llvm/lib/IR/
DAutoUpgrade.cpp1006 Constant *NewInit = ConstantArray::get(ArrayType::get(EltTy, N), NewCtors); in UpgradeGlobalVariable() local
1008 return new GlobalVariable(NewInit->getType(), false, GV->getLinkage(), in UpgradeGlobalVariable()
1009 NewInit, GV->getName()); in UpgradeGlobalVariable()
/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()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp2134 Constant *NewInit = ConstantFP::get(DestTy, IsSigned ? in OptimizeShadowIV() local
2170 NewPH->addIncoming(NewInit, PH->getIncomingBlock(Entry)); in OptimizeShadowIV()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp2139 Constant *NewInit = ConstantFP::get(DestTy, IsSigned ? in OptimizeShadowIV() local
2175 NewPH->addIncoming(NewInit, PH->getIncomingBlock(Entry)); in OptimizeShadowIV()