Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/lib/VMCore/
DGlobals.cpp84 Constant *InitVal, const Twine &Name, in GlobalVariable() argument
89 InitVal != 0, Link, Name), in GlobalVariable()
91 if (InitVal) { in GlobalVariable()
92 assert(InitVal->getType() == Ty && in GlobalVariable()
94 Op<0>() = InitVal; in GlobalVariable()
101 LinkageTypes Link, Constant *InitVal, in GlobalVariable() argument
108 InitVal != 0, Link, Name), in GlobalVariable()
110 if (InitVal) { in GlobalVariable()
111 assert(InitVal->getType() == Ty && in GlobalVariable()
113 Op<0>() = InitVal; in GlobalVariable()
[all …]
/external/llvm/lib/IR/
DGlobals.cpp221 Constant *InitVal, const Twine &Name, in GlobalVariable() argument
226 InitVal != nullptr, Link, Name, AddressSpace), in GlobalVariable()
230 if (InitVal) { in GlobalVariable()
231 assert(InitVal->getType() == Ty && in GlobalVariable()
233 Op<0>() = InitVal; in GlobalVariable()
238 LinkageTypes Link, Constant *InitVal, in GlobalVariable() argument
244 InitVal != nullptr, Link, Name, AddressSpace), in GlobalVariable()
248 if (InitVal) { in GlobalVariable()
249 assert(InitVal->getType() == Ty && in GlobalVariable()
251 Op<0>() = InitVal; in GlobalVariable()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DStringMap.h36 static void Initialize(StringMapEntry<ValueTy> &T, InitTy InitVal) { in Initialize() argument
37 T.second = InitVal; in Initialize()
150 InitType InitVal) { in Create() argument
173 StringMapEntryInitializer<ValueTy>::Initialize(*NewItem, InitVal); in Create()
187 InitType InitVal) { in Create() argument
189 return Create(KeyStart, KeyEnd, A, 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/swiftshader/third_party/LLVM/unittests/ADT/
DStringMapTest.cpp178 static void Initialize(StringMapEntry<uint32_t> &T, InitTy InitVal) { in Initialize() argument
179 T.second = InitVal; in Initialize()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp504 SVal InitVal = state->getSVal(InitEx, LC); in VisitDeclStmt() local
519 InitVal.getAs<loc::MemRegionVal>()) { in VisitDeclStmt()
520 InitVal = state->getSVal(M->getRegion()); in VisitDeclStmt()
521 assert(InitVal.getAs<nonloc::LazyCompoundVal>()); in VisitDeclStmt()
527 if (InitVal.isUnknown()) { in VisitDeclStmt()
533 InitVal = svalBuilder.conjureSymbolVal(nullptr, InitEx, LC, Ty, in VisitDeclStmt()
540 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()
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/
Dtoy.cpp875 Value *InitVal; in Codegen() local
877 InitVal = Init->Codegen(); in Codegen()
878 if (InitVal == 0) return 0; in Codegen()
880 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in Codegen()
884 Builder.CreateStore(InitVal, Alloca); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp900 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()
Dtoy.cpp1264 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()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp882 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()
Dtoy.cpp1162 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()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp989 Value *InitVal; in codegen() local
991 InitVal = Init->codegen(); in codegen()
992 if (!InitVal) in codegen()
995 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in codegen()
999 Builder.CreateStore(InitVal, Alloca); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp989 Value *InitVal; in codegen() local
991 InitVal = Init->codegen(); in codegen()
992 if (!InitVal) in codegen()
995 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in codegen()
999 Builder.CreateStore(InitVal, Alloca); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp989 Value *InitVal; in codegen() local
991 InitVal = Init->codegen(); in codegen()
992 if (!InitVal) in codegen()
995 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in codegen()
999 Builder.CreateStore(InitVal, Alloca); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
Dtoy.cpp978 Value *InitVal; in codegen() local
980 InitVal = Init->codegen(); in codegen()
981 if (!InitVal) in codegen()
984 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in codegen()
988 Builder.CreateStore(InitVal, Alloca); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
Dtoy.cpp1000 Value *InitVal; in codegen() local
1002 InitVal = Init->codegen(); in codegen()
1003 if (!InitVal) in codegen()
1006 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in codegen()
1010 Builder.CreateStore(InitVal, Alloca); in codegen()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp985 Value *InitVal; in codegen() local
987 InitVal = Init->codegen(); in codegen()
988 if (!InitVal) in codegen()
991 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in codegen()
995 Builder.CreateStore(InitVal, Alloca); in codegen()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp990 Value *InitVal; in codegen() local
992 InitVal = Init->codegen(); in codegen()
993 if (!InitVal) in codegen()
996 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in codegen()
1000 Builder.CreateStore(InitVal, Alloca); in codegen()
/external/llvm/include/llvm/IR/
DGlobalVariable.h134 void setInitializer(Constant *InitVal);
/external/swiftshader/third_party/LLVM/include/llvm/
DGlobalVariable.h128 void setInitializer(Constant *InitVal);
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp1122 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()
/external/llvm/include/llvm/MC/
DMCRegisterInfo.h203 void init(MCPhysReg InitVal, const MCPhysReg *DiffList) { in init() argument
204 Val = InitVal; in init()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp1342 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()
/external/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp1171 Value *InitVal; in codegen() local
1173 InitVal = Init->codegen(); in codegen()
1174 if (!InitVal) in codegen()
1177 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in codegen()
1181 Builder.CreateStore(InitVal, Alloca); in codegen()

12