| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Globals.cpp | 407 Constant *InitVal, const Twine &Name, in GlobalVariable() argument 412 InitVal != nullptr, Link, Name, AddressSpace), in GlobalVariable() 418 if (InitVal) { in GlobalVariable() 419 assert(InitVal->getType() == Ty && in GlobalVariable() 421 Op<0>() = InitVal; in GlobalVariable() 426 LinkageTypes Link, Constant *InitVal, in GlobalVariable() argument 433 InitVal != nullptr, Link, Name, in GlobalVariable() 442 if (InitVal) { in GlobalVariable() 443 assert(InitVal->getType() == Ty && in GlobalVariable() 445 Op<0>() = InitVal; in GlobalVariable() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | ModuloSchedule.cpp | 37 unsigned &InitVal, unsigned &LoopVal) { in getPhiRegs() argument 40 InitVal = 0; in getPhiRegs() 44 InitVal = Phi.getOperand(i).getReg(); in getPhiRegs() 48 assert(InitVal != 0 && LoopVal != 0 && "Unexpected Phi structure."); in getPhiRegs() 388 unsigned InitVal = 0; in generateExistingPhis() local 390 getPhiRegs(*BBI, BB, InitVal, LoopVal); in generateExistingPhis() 407 InitVal, NewReg); in generateExistingPhis() 440 PhiOp1 = InitVal; in generateExistingPhis() 470 PhiOp1 = InitVal; in generateExistingPhis() 1118 unsigned InitVal = 0; in rewritePhiValues() local [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/Chapter8/ |
| H A D | toy.cpp | 1007 Value *InitVal; in codegen() local 1009 InitVal = Init->codegen(); in codegen() 1010 if (!InitVal) in codegen() 1013 InitVal = ConstantFP::get(*TheContext, APFloat(0.0)); in codegen() 1017 Builder->CreateStore(InitVal, Alloca); in codegen()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 861 uint64_t AllocSize, Constant *InitVal, in OptimizeGlobalAddressOfAllocation() argument 883 if (!isa<UndefValue>(InitVal)) { in OptimizeGlobalAddressOfAllocation() 886 Builder.CreateMemSet(NewGV, InitVal, AllocSize, std::nullopt); in OptimizeGlobalAddressOfAllocation() 1051 Constant *InitVal = getInitialValueOfAllocation(CI, TLI, Int8Ty); in tryToOptimizeStoreOfAllocationToGlobal() local 1052 if (!InitVal) in tryToOptimizeStoreOfAllocationToGlobal() 1082 OptimizeGlobalAddressOfAllocation(GV, CI, AllocSize, InitVal, DL, TLI); in tryToOptimizeStoreOfAllocationToGlobal() 1163 Constant *InitVal = GV->getInitializer(); in TryToShrinkGlobalToBoolean() local 1164 assert(InitVal->getType() != Type::getInt1Ty(GV->getContext()) && in TryToShrinkGlobalToBoolean() 1176 IsOneZero = InitVal->isNullValue() && CI->isOne(); in TryToShrinkGlobalToBoolean() 1228 if (StoringOther || SI->getOperand(0) == InitVal) { in TryToShrinkGlobalToBoolean() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | GlobalVariable.h | 146 void setInitializer(Constant *InitVal);
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineCXX.cpp | 1199 SVal InitVal; in VisitLambdaExpr() local 1220 InitVal = State->getSVal(OUC->getAsRegion()); in VisitLambdaExpr() 1224 InitVal = State->getSVal(InitExpr, LocCtxt); in VisitLambdaExpr() 1235 InitVal = State->getSVal(SizeExpr, LocCtxt); in VisitLambdaExpr() 1238 State = State->bindLoc(FieldLoc, InitVal, LocCtxt); in VisitLambdaExpr()
|
| H A D | ExprEngineC.cpp | 612 SVal InitVal = state->getSVal(InitEx, LC); in VisitDeclStmt() local 623 if (InitVal.isUnknown()) { in VisitDeclStmt() 629 InitVal = svalBuilder.conjureSymbolVal(nullptr, InitEx, LC, Ty, in VisitDeclStmt() 636 evalBind(Dst2, DS, UpdatedN, state->getLValue(VD, LC), InitVal, true); in VisitDeclStmt()
|
| H A D | ExprEngine.cpp | 432 SVal InitVal = State->getSVal(Init, LC); in createTemporaryRegionIfNeeded() local 433 if (InitVal.isUnknown()) { in createTemporaryRegionIfNeeded() 434 InitVal = getSValBuilder().conjureSymbolVal(Result, LC, Init->getType(), in createTemporaryRegionIfNeeded() 436 State = State->bindLoc(BaseReg.castAs<Loc>(), InitVal, LC, false); in createTemporaryRegionIfNeeded() 450 State = State->bindLoc(BaseReg.castAs<Loc>(), InitVal, LC, false); in createTemporaryRegionIfNeeded() 1192 SVal InitVal; in ProcessInitializer() local 1203 InitVal = State->getSVal(*LValueLoc); in ProcessInitializer() 1206 if (InitVal.isUnknownOrUndef()) { in ProcessInitializer() 1208 InitVal = SVB.conjureSymbolVal(BMI->getInit(), stackFrame, in ProcessInitializer() 1213 InitVal = State->getSVal(BMI->getInit(), stackFrame); in ProcessInitializer() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonHardwareLoops.cpp | 250 bool loopCountMayWrapOrUnderFlow(const MachineOperand *InitVal, 1412 const MachineOperand *InitVal, const MachineOperand *EndVal, in loopCountMayWrapOrUnderFlow() argument 1416 if (!InitVal->isReg()) in loopCountMayWrapOrUnderFlow() 1425 if (checkForImmediate(*InitVal, Imm)) in loopCountMayWrapOrUnderFlow() 1428 Register Reg = InitVal->getReg(); in loopCountMayWrapOrUnderFlow()
|