Home
last modified time | relevance | path

Searched refs:InitVal (Results 1 – 25 of 25) sorted by relevance

/external/llvm/lib/IR/
DGlobals.cpp142 Constant *InitVal, const Twine &Name, in GlobalVariable() argument
147 InitVal != nullptr, Link, Name, AddressSpace), in GlobalVariable()
151 if (InitVal) { in GlobalVariable()
152 assert(InitVal->getType() == Ty && in GlobalVariable()
154 Op<0>() = InitVal; in GlobalVariable()
159 LinkageTypes Link, Constant *InitVal, in GlobalVariable() argument
165 InitVal != nullptr, Link, Name, AddressSpace), in GlobalVariable()
169 if (InitVal) { in GlobalVariable()
170 assert(InitVal->getType() == Ty && in GlobalVariable()
172 Op<0>() = InitVal; in GlobalVariable()
[all …]
/external/llvm/include/llvm/ADT/
DStringMap.h149 InitType &&InitVal) { in Create() argument
162 new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal)); in Create()
179 static StringMapEntry *Create(StringRef Key, InitType &&InitVal) { in Create() argument
181 return Create(Key, A, std::forward<InitType>(InitVal)); in Create()
/external/llvm/include/llvm/CodeGen/PBQP/
DMath.h36 Vector(unsigned Length, PBQPNum InitVal) in Vector() argument
41 std::fill(Data, Data + Length, InitVal); in Vector()
175 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) in Matrix() argument
177 std::fill(Data, Data + (Rows * Cols), InitVal); in Matrix()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp493 SVal InitVal = state->getSVal(InitEx, LC); in VisitDeclStmt() local
508 InitVal.getAs<loc::MemRegionVal>()) { in VisitDeclStmt()
509 InitVal = state->getSVal(M->getRegion()); in VisitDeclStmt()
510 assert(InitVal.getAs<nonloc::LazyCompoundVal>()); in VisitDeclStmt()
516 if (InitVal.isUnknown()) { in VisitDeclStmt()
522 InitVal = svalBuilder.conjureSymbolVal(nullptr, InitEx, LC, Ty, in VisitDeclStmt()
529 evalBind(Dst2, DS, UpdatedN, state->getLValue(VD, LC), InitVal, true); in VisitDeclStmt()
DExprEngineCXX.cpp593 SVal InitVal; in VisitLambdaExpr() local
597 InitVal = State->getSVal(InitExpr, LocCtxt); in VisitLambdaExpr()
603 InitVal = State->getSVal(SizeExpr, LocCtxt); in VisitLambdaExpr()
606 State = State->bindLoc(FieldLoc, InitVal); in VisitLambdaExpr()
DExprEngine.cpp494 SVal InitVal; in ProcessInitializer() local
504 InitVal = State->getSVal(*LValueLoc); in ProcessInitializer()
507 if (InitVal.isUnknownOrUndef()) { in ProcessInitializer()
509 InitVal = SVB.conjureSymbolVal(BMI->getInit(), stackFrame, in ProcessInitializer()
514 InitVal = State->getSVal(BMI->getInit(), stackFrame); in ProcessInitializer()
522 evalBind(Tmp, Init, Pred, FieldLoc, InitVal, /*isInit=*/true, &PP); in ProcessInitializer()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp885 Value *InitVal; in Codegen() local
887 InitVal = Init->Codegen(); in Codegen()
888 if (InitVal == 0) return 0; in Codegen()
890 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in Codegen()
894 Builder.CreateStore(InitVal, Alloca); in Codegen()
Dtoy.cpp1165 Value *InitVal; in Codegen() local
1167 InitVal = Init->Codegen(); in Codegen()
1168 if (InitVal == 0) return 0; in Codegen()
1170 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in Codegen()
1174 Builder.CreateStore(InitVal, Alloca); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp903 Value *InitVal; in Codegen() local
905 InitVal = Init->Codegen(); in Codegen()
906 if (InitVal == 0) return 0; in Codegen()
908 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in Codegen()
912 Builder.CreateStore(InitVal, Alloca); in Codegen()
Dtoy.cpp1267 Value *InitVal; in Codegen() local
1269 InitVal = Init->Codegen(); in Codegen()
1270 if (InitVal == 0) return 0; in Codegen()
1272 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in Codegen()
1276 Builder.CreateStore(InitVal, Alloca); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp981 Value *InitVal; in codegen() local
983 InitVal = Init->codegen(); in codegen()
984 if (!InitVal) in codegen()
987 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in codegen()
991 Builder.CreateStore(InitVal, Alloca); in codegen()
/external/llvm/include/llvm/IR/
DGlobalVariable.h132 void setInitializer(Constant *InitVal);
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp1125 Value *InitVal; in Codegen() local
1127 InitVal = Init->Codegen(); in Codegen()
1128 if (InitVal == 0) return 0; in Codegen()
1130 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in Codegen()
1134 Builder.CreateStore(InitVal, Alloca); in Codegen()
/external/llvm/include/llvm/MC/
DMCRegisterInfo.h202 void init(MCPhysReg InitVal, const MCPhysReg *DiffList) { in init() argument
203 Val = InitVal; in init()
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/
Dtoy.cpp1008 Value *InitVal; in IRGen() local
1010 InitVal = Init->IRGen(C); in IRGen()
1011 if (!InitVal) return nullptr; in IRGen()
1013 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in IRGen()
1016 C.getBuilder().CreateStore(InitVal, Alloca); in IRGen()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp1174 Value *InitVal; in codegen() local
1176 InitVal = Init->codegen(); in codegen()
1177 if (!InitVal) in codegen()
1180 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in codegen()
1184 Builder.CreateStore(InitVal, Alloca); in codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp1345 Value *InitVal; in Codegen() local
1347 InitVal = Init->Codegen(); in Codegen()
1348 if (InitVal == 0) return 0; in Codegen()
1350 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in Codegen()
1354 Builder.CreateStore(InitVal, Alloca); in Codegen()
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
Dtoy.cpp1008 Value *InitVal; in IRGen() local
1010 InitVal = Init->IRGen(C); in IRGen()
1011 if (!InitVal) return nullptr; in IRGen()
1013 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in IRGen()
1016 C.getBuilder().CreateStore(InitVal, Alloca); in IRGen()
/external/llvm/examples/Kaleidoscope/Orc/initial/
Dtoy.cpp1008 Value *InitVal; in IRGen() local
1010 InitVal = Init->IRGen(C); in IRGen()
1011 if (!InitVal) return nullptr; in IRGen()
1013 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in IRGen()
1016 C.getBuilder().CreateStore(InitVal, Alloca); in IRGen()
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
Dtoy.cpp1009 Value *InitVal; in IRGen() local
1011 InitVal = Init->IRGen(C); in IRGen()
1012 if (!InitVal) return nullptr; in IRGen()
1014 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in IRGen()
1017 C.getBuilder().CreateStore(InitVal, Alloca); in IRGen()
/external/llvm/utils/TableGen/
DRegisterInfoEmitter.cpp576 DiffVec &diffEncode(DiffVec &V, unsigned InitVal, SparseBitVector<> List) { in diffEncode() argument
578 uint16_t Val = uint16_t(InitVal); in diffEncode()
589 DiffVec &diffEncode(DiffVec &V, unsigned InitVal, Iter Begin, Iter End) { in diffEncode() argument
591 uint16_t Val = uint16_t(InitVal); in diffEncode()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp223 bool loopCountMayWrapOrUnderFlow(const MachineOperand *InitVal,
1376 const MachineOperand *InitVal, const MachineOperand *EndVal, in loopCountMayWrapOrUnderFlow() argument
1380 if (!InitVal->isReg()) in loopCountMayWrapOrUnderFlow()
1389 if (checkForImmediate(*InitVal, Imm)) in loopCountMayWrapOrUnderFlow()
1392 unsigned Reg = InitVal->getReg(); in loopCountMayWrapOrUnderFlow()
/external/llvm/docs/tutorial/
DLangImpl7.rst809 Value *InitVal;
811 InitVal = Init->codegen();
812 if (!InitVal)
815 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0));
819 Builder.CreateStore(InitVal, Alloca);
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1627 Constant *InitVal = GV->getInitializer(); in TryToShrinkGlobalToBoolean() local
1628 assert(InitVal->getType() != Type::getInt1Ty(GV->getContext()) && in TryToShrinkGlobalToBoolean()
1635 IsOneZero = InitVal->isNullValue() && CI->isOne(); in TryToShrinkGlobalToBoolean()
1644 if (StoringOther || SI->getOperand(0) == InitVal) { in TryToShrinkGlobalToBoolean()
1679 NSI = SelectInst::Create(NLI, OtherVal, InitVal, "", LI); in TryToShrinkGlobalToBoolean()
/external/clang/lib/Sema/
DSemaDecl.cpp14361 const llvm::APSInt &InitVal = ECD->getInitVal(); in ActOnEnumBody() local
14364 if (InitVal.isUnsigned() || InitVal.isNonNegative()) in ActOnEnumBody()
14366 (unsigned)InitVal.getActiveBits()); in ActOnEnumBody()
14369 (unsigned)InitVal.getMinSignedBits()); in ActOnEnumBody()
14482 llvm::APSInt InitVal = ECD->getInitVal(); in ActOnEnumBody() local
14491 isRepresentableIntegerValue(Context, InitVal, Context.IntTy)) { in ActOnEnumBody()
14510 InitVal = InitVal.extOrTrunc(NewWidth); in ActOnEnumBody()
14511 InitVal.setIsSigned(NewSign); in ActOnEnumBody()
14512 ECD->setInitVal(InitVal); in ActOnEnumBody()
14541 llvm::APSInt InitVal = ECD->getInitVal(); in ActOnEnumBody() local
[all …]