/external/llvm/lib/IR/ |
D | Globals.cpp | 132 Constant *InitVal, const Twine &Name, in GlobalVariable() argument 137 InitVal != nullptr, Link, Name), in GlobalVariable() 141 if (InitVal) { in GlobalVariable() 142 assert(InitVal->getType() == Ty && in GlobalVariable() 144 Op<0>() = InitVal; in GlobalVariable() 151 LinkageTypes Link, Constant *InitVal, in GlobalVariable() argument 157 InitVal != nullptr, Link, Name), in GlobalVariable() 161 if (InitVal) { in GlobalVariable() 162 assert(InitVal->getType() == Ty && in GlobalVariable() 164 Op<0>() = InitVal; in GlobalVariable() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | StringMap.h | 144 InitType InitVal) { in Create() argument 157 new (NewItem) StringMapEntry(KeyLength, std::move(InitVal)); in Create() 173 static StringMapEntry *Create(StringRef Key, InitType InitVal) { in Create() argument 175 return Create(Key, A, std::move(InitVal)); in Create()
|
/external/llvm/include/llvm/CodeGen/PBQP/ |
D | Math.h | 34 Vector(unsigned Length, PBQPNum InitVal) in Vector() argument 39 std::fill(Data, Data + Length, InitVal); in Vector() 183 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) in Matrix() argument 185 std::fill(Data, Data + (Rows * Cols), InitVal); in Matrix()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineC.cpp | 471 SVal InitVal = state->getSVal(InitEx, LC); in VisitDeclStmt() local 483 InitVal.getAs<loc::MemRegionVal>()) { in VisitDeclStmt() 484 InitVal = state->getSVal(M->getRegion()); in VisitDeclStmt() 485 assert(InitVal.getAs<nonloc::LazyCompoundVal>()); in VisitDeclStmt() 491 if (InitVal.isUnknown()) { in VisitDeclStmt() 497 InitVal = svalBuilder.conjureSymbolVal(nullptr, InitEx, LC, Ty, in VisitDeclStmt() 504 evalBind(Dst2, DS, UpdatedN, state->getLValue(VD, LC), InitVal, true); in VisitDeclStmt()
|
D | ExprEngine.cpp | 480 SVal InitVal; in ProcessInitializer() local 490 InitVal = State->getSVal(*LValueLoc); in ProcessInitializer() 493 if (InitVal.isUnknownOrUndef()) { in ProcessInitializer() 495 InitVal = SVB.conjureSymbolVal(BMI->getInit(), stackFrame, in ProcessInitializer() 500 InitVal = State->getSVal(BMI->getInit(), stackFrame); in ProcessInitializer() 508 evalBind(Tmp, Init, Pred, FieldLoc, InitVal, /*isInit=*/true, &PP); in ProcessInitializer()
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
D | toy-jit.cpp | 886 Value *InitVal; in Codegen() local 888 InitVal = Init->Codegen(); in Codegen() 889 if (InitVal == 0) return 0; in Codegen() 891 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in Codegen() 895 Builder.CreateStore(InitVal, Alloca); in Codegen()
|
D | toy.cpp | 1166 Value *InitVal; in Codegen() local 1168 InitVal = Init->Codegen(); in Codegen() 1169 if (InitVal == 0) return 0; in Codegen() 1171 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in Codegen() 1175 Builder.CreateStore(InitVal, Alloca); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 877 Value *InitVal; in Codegen() local 879 InitVal = Init->Codegen(); in Codegen() 880 if (InitVal == 0) return 0; in Codegen() 882 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in Codegen() 886 Builder.CreateStore(InitVal, Alloca); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
D | toy-jit.cpp | 904 Value *InitVal; in Codegen() local 906 InitVal = Init->Codegen(); in Codegen() 907 if (InitVal == 0) return 0; in Codegen() 909 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in Codegen() 913 Builder.CreateStore(InitVal, Alloca); in Codegen()
|
D | toy.cpp | 1268 Value *InitVal; in Codegen() local 1270 InitVal = Init->Codegen(); in Codegen() 1271 if (InitVal == 0) return 0; in Codegen() 1273 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in Codegen() 1277 Builder.CreateStore(InitVal, Alloca); in Codegen()
|
/external/llvm/include/llvm/IR/ |
D | GlobalVariable.h | 138 void setInitializer(Constant *InitVal);
|
/external/llvm/include/llvm/MC/ |
D | MCRegisterInfo.h | 199 void init(MCPhysReg InitVal, const MCPhysReg *DiffList) { in init() argument 200 Val = InitVal; in init()
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
D | toy.cpp | 1126 Value *InitVal; in Codegen() local 1128 InitVal = Init->Codegen(); in Codegen() 1129 if (InitVal == 0) return 0; in Codegen() 1131 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in Codegen() 1135 Builder.CreateStore(InitVal, Alloca); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
D | toy.cpp | 1446 Value *InitVal; in Codegen() local 1448 InitVal = Init->Codegen(); in Codegen() 1449 if (InitVal == 0) return 0; in Codegen() 1451 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in Codegen() 1455 Builder.CreateStore(InitVal, Alloca); in Codegen()
|
/external/llvm/utils/TableGen/ |
D | RegisterInfoEmitter.cpp | 573 DiffVec &diffEncode(DiffVec &V, unsigned InitVal, ArrayRef<unsigned> List) { in diffEncode() argument 575 uint16_t Val = uint16_t(InitVal); in diffEncode() 586 DiffVec &diffEncode(DiffVec &V, unsigned InitVal, Iter Begin, Iter End) { in diffEncode() argument 588 uint16_t Val = uint16_t(InitVal); in diffEncode()
|
/external/llvm/docs/tutorial/ |
D | LangImpl7.rst | 790 Value *InitVal; 792 InitVal = Init->Codegen(); 793 if (InitVal == 0) return 0; 795 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); 799 Builder.CreateStore(InitVal, Alloca);
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1632 Constant *InitVal = GV->getInitializer(); in TryToShrinkGlobalToBoolean() local 1633 assert(InitVal->getType() != Type::getInt1Ty(GV->getContext()) && in TryToShrinkGlobalToBoolean() 1640 IsOneZero = InitVal->isNullValue() && CI->isOne(); in TryToShrinkGlobalToBoolean() 1649 if (StoringOther || SI->getOperand(0) == InitVal) { in TryToShrinkGlobalToBoolean() 1684 NSI = SelectInst::Create(NLI, OtherVal, InitVal, "", LI); in TryToShrinkGlobalToBoolean()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 13136 const llvm::APSInt &InitVal = ECD->getInitVal(); in ActOnEnumBody() local 13139 if (InitVal.isUnsigned() || InitVal.isNonNegative()) in ActOnEnumBody() 13141 (unsigned)InitVal.getActiveBits()); in ActOnEnumBody() 13144 (unsigned)InitVal.getMinSignedBits()); in ActOnEnumBody() 13259 llvm::APSInt InitVal = ECD->getInitVal(); in ActOnEnumBody() local 13268 isRepresentableIntegerValue(Context, InitVal, Context.IntTy)) { in ActOnEnumBody() 13287 InitVal = InitVal.extOrTrunc(NewWidth); in ActOnEnumBody() 13288 InitVal.setIsSigned(NewSign); in ActOnEnumBody() 13289 ECD->setInitVal(InitVal); in ActOnEnumBody()
|