| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Globals.cpp | 417 if (InitVal) { in GlobalVariable() 418 assert(InitVal->getType() == Ty && in GlobalVariable() 420 Op<0>() = InitVal; in GlobalVariable() 432 InitVal != nullptr, Link, Name, in GlobalVariable() 441 if (InitVal) { in GlobalVariable() 442 assert(InitVal->getType() == Ty && in GlobalVariable() 444 Op<0>() = InitVal; in GlobalVariable() 461 void GlobalVariable::setInitializer(Constant *InitVal) { in setInitializer() argument 462 if (!InitVal) { in setInitializer() 471 assert(InitVal->getType() == getValueType() && in setInitializer() [all …]
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/ |
| H A D | Mangling.cpp | 58 const auto *InitVal = GV->getInitializer(); in add() local 61 if (isa<ConstantAggregateZero>(InitVal)) in add() 63 const auto *InitIntValue = dyn_cast<ConstantInt>(InitVal); in add()
|
| H A D | Layer.cpp | 62 const auto *InitVal = GV.getInitializer(); in IRMaterializationUnit() local 65 if (isa<ConstantAggregateZero>(InitVal)) in IRMaterializationUnit() 67 const auto *InitIntValue = dyn_cast<ConstantInt>(InitVal); in IRMaterializationUnit()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/PBQP/ |
| H A D | Math.h | 34 Vector(unsigned Length, PBQPNum InitVal) in Vector() argument 36 std::fill(Data.get(), Data.get() + Length, InitVal); in Vector() 133 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) in Matrix() argument 136 std::fill(Data.get(), Data.get() + (Rows * Cols), InitVal); in Matrix()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | ModuloSchedule.cpp | 40 InitVal = 0; in getPhiRegs() 44 InitVal = Phi.getOperand(i).getReg(); in getPhiRegs() 379 unsigned InitVal = 0; in generateExistingPhis() local 381 getPhiRegs(*BBI, BB, InitVal, LoopVal); in generateExistingPhis() 398 InitVal, NewReg); in generateExistingPhis() 431 PhiOp1 = InitVal; in generateExistingPhis() 461 PhiOp1 = InitVal; in generateExistingPhis() 1097 unsigned InitVal = 0; in rewritePhiValues() local 1099 getPhiRegs(PHI, BB, InitVal, LoopVal); in rewritePhiValues() 1111 NewVal = InitVal; in rewritePhiValues() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineCXX.cpp | 1144 SVal InitVal; in VisitLambdaExpr() local 1158 InitVal = *getObjectUnderConstruction(State, {LE, Idx}, LocCtxt); in VisitLambdaExpr() 1159 InitVal = State->getSVal(InitVal.getAsRegion()); in VisitLambdaExpr() 1163 InitVal = State->getSVal(InitExpr, LocCtxt); in VisitLambdaExpr() 1174 InitVal = State->getSVal(SizeExpr, LocCtxt); in VisitLambdaExpr() 1177 State = State->bindLoc(FieldLoc, InitVal, LocCtxt); in VisitLambdaExpr()
|
| H A D | ExprEngine.cpp | 425 SVal InitVal = State->getSVal(Init, LC); in createTemporaryRegionIfNeeded() local 426 if (InitVal.isUnknown()) { in createTemporaryRegionIfNeeded() 427 InitVal = getSValBuilder().conjureSymbolVal(Result, LC, Init->getType(), in createTemporaryRegionIfNeeded() 429 State = State->bindLoc(BaseReg.castAs<Loc>(), InitVal, LC, false); in createTemporaryRegionIfNeeded() 443 State = State->bindLoc(BaseReg.castAs<Loc>(), InitVal, LC, false); in createTemporaryRegionIfNeeded() 1027 SVal InitVal; in ProcessInitializer() local 1038 InitVal = State->getSVal(*LValueLoc); in ProcessInitializer() 1041 if (InitVal.isUnknownOrUndef()) { in ProcessInitializer() 1043 InitVal = SVB.conjureSymbolVal(BMI->getInit(), stackFrame, in ProcessInitializer() 1048 InitVal = State->getSVal(BMI->getInit(), stackFrame); in ProcessInitializer() [all …]
|
| H A D | ExprEngineC.cpp | 611 SVal InitVal = state->getSVal(InitEx, LC); in VisitDeclStmt() local 622 if (InitVal.isUnknown()) { in VisitDeclStmt() 628 InitVal = svalBuilder.conjureSymbolVal(nullptr, InitEx, LC, Ty, in VisitDeclStmt() 635 evalBind(Dst2, DS, UpdatedN, state->getLValue(VD, LC), InitVal, true); in VisitDeclStmt()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/ |
| H A D | toy-jit.cpp | 900 Value *InitVal; in Codegen() local 902 InitVal = Init->Codegen(); in Codegen() 903 if (InitVal == 0) return 0; in Codegen() 905 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in Codegen() 909 Builder.CreateStore(InitVal, Alloca); in Codegen()
|
| H A D | toy.cpp | 1264 Value *InitVal; in Codegen() local 1266 InitVal = Init->Codegen(); in Codegen() 1267 if (InitVal == 0) return 0; in Codegen() 1269 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in Codegen() 1273 Builder.CreateStore(InitVal, Alloca); in Codegen()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
| H A D | toy-jit.cpp | 882 Value *InitVal; in Codegen() local 884 InitVal = Init->Codegen(); in Codegen() 885 if (InitVal == 0) return 0; in Codegen() 887 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in Codegen() 891 Builder.CreateStore(InitVal, Alloca); in Codegen()
|
| H A D | toy.cpp | 1162 Value *InitVal; in Codegen() local 1164 InitVal = Init->Codegen(); in Codegen() 1165 if (InitVal == 0) return 0; in Codegen() 1167 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in Codegen() 1171 Builder.CreateStore(InitVal, Alloca); in Codegen()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | memcpy-const-vol-struct.ll | 8 define hidden void @InitVal() local_unnamed_addr {
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
| H A D | toy.cpp | 1003 Value *InitVal; in codegen() local 1005 InitVal = Init->codegen(); in codegen() 1006 if (!InitVal) in codegen() 1009 InitVal = ConstantFP::get(*TheContext, APFloat(0.0)); in codegen() 1013 Builder->CreateStore(InitVal, Alloca); in codegen()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter8/ |
| H A D | toy.cpp | 1008 Value *InitVal; in codegen() local 1010 InitVal = Init->codegen(); in codegen() 1011 if (!InitVal) in codegen() 1014 InitVal = ConstantFP::get(*TheContext, APFloat(0.0)); in codegen() 1018 Builder->CreateStore(InitVal, Alloca); in codegen()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
| H A D | toy.cpp | 986 Value *InitVal; in codegen() local 988 InitVal = Init->codegen(); in codegen() 989 if (!InitVal) in codegen() 992 InitVal = ConstantFP::get(*TheContext, APFloat(0.0)); in codegen() 996 Builder->CreateStore(InitVal, Alloca); in codegen()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter7/ |
| H A D | toy.cpp | 1009 Value *InitVal; in codegen() local 1011 InitVal = Init->codegen(); in codegen() 1012 if (!InitVal) in codegen() 1015 InitVal = ConstantFP::get(*TheContext, APFloat(0.0)); in codegen() 1019 Builder->CreateStore(InitVal, Alloca); in codegen()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
| H A D | toy.cpp | 1003 Value *InitVal; in codegen() local 1005 InitVal = Init->codegen(); in codegen() 1006 if (!InitVal) in codegen() 1009 InitVal = ConstantFP::get(*TheContext, APFloat(0.0)); in codegen() 1013 Builder->CreateStore(InitVal, Alloca); in codegen()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
| H A D | toy.cpp | 1003 Value *InitVal; in codegen() local 1005 InitVal = Init->codegen(); in codegen() 1006 if (!InitVal) in codegen() 1009 InitVal = ConstantFP::get(*TheContext, APFloat(0.0)); in codegen() 1013 Builder->CreateStore(InitVal, Alloca); in codegen()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 857 uint64_t AllocSize, Constant *InitVal, in OptimizeGlobalAddressOfAllocation() argument 879 if (!isa<UndefValue>(InitVal)) { in OptimizeGlobalAddressOfAllocation() 882 Builder.CreateMemSet(NewGV, InitVal, AllocSize, None); in OptimizeGlobalAddressOfAllocation() 1047 Constant *InitVal = getInitialValueOfAllocation(CI, TLI, Int8Ty); in tryToOptimizeStoreOfAllocationToGlobal() local 1048 if (!InitVal) in tryToOptimizeStoreOfAllocationToGlobal() 1078 OptimizeGlobalAddressOfAllocation(GV, CI, AllocSize, InitVal, DL, TLI); in tryToOptimizeStoreOfAllocationToGlobal() 1159 Constant *InitVal = GV->getInitializer(); in TryToShrinkGlobalToBoolean() local 1160 assert(InitVal->getType() != Type::getInt1Ty(GV->getContext()) && in TryToShrinkGlobalToBoolean() 1172 IsOneZero = InitVal->isNullValue() && CI->isOne(); in TryToShrinkGlobalToBoolean() 1224 if (StoringOther || SI->getOperand(0) == InitVal) { in TryToShrinkGlobalToBoolean() [all …]
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/initial/ |
| H A D | toy.cpp | 1122 Value *InitVal; in Codegen() local 1124 InitVal = Init->Codegen(); in Codegen() 1125 if (InitVal == 0) return 0; in Codegen() 1127 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in Codegen() 1131 Builder.CreateStore(InitVal, Alloca); in Codegen()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter9/ |
| H A D | toy.cpp | 1179 Value *InitVal; in codegen() local 1181 InitVal = Init->codegen(); in codegen() 1182 if (!InitVal) in codegen() 1185 InitVal = ConstantFP::get(*TheContext, APFloat(0.0)); in codegen() 1189 Builder->CreateStore(InitVal, Alloca); in codegen()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/ |
| H A D | toy.cpp | 1342 Value *InitVal; in Codegen() local 1344 InitVal = Init->Codegen(); in Codegen() 1345 if (InitVal == 0) return 0; in Codegen() 1347 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in Codegen() 1351 Builder.CreateStore(InitVal, Alloca); in Codegen()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | GlobalVariable.h | 146 void setInitializer(Constant *InitVal);
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCRegisterInfo.h | 207 void init(MCPhysReg InitVal, const MCPhysReg *DiffList) { in init() argument 208 Val = InitVal; in init()
|