/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | DIBuilder.cpp | 28 return ConstantInt::get(Type::getInt32Ty(VMContext), Tag | LLVMDebugVersion); in GetTagConstant() 102 llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)), in createCompileUnit() 103 ConstantInt::get(Type::getInt32Ty(VMContext), Lang), in createCompileUnit() 111 ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeVer), in createCompileUnit() 159 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Line in createNullPtrType() 163 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Flags; in createNullPtrType() 164 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Encoding in createNullPtrType() 182 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Line in createBasicType() 186 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Flags; in createBasicType() 187 ConstantInt::get(Type::getInt32Ty(VMContext), Encoding) in createBasicType() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/ |
D | ProfilingUtils.cpp | 33 Constant *InitFn = M.getOrInsertFunction(FnName, Type::getInt32Ty(Context), in InsertProfilingInitCall() 34 Type::getInt32Ty(Context), in InsertProfilingInitCall() 36 Type::getInt32Ty(Context), in InsertProfilingInitCall() 42 Args[0] = Constant::getNullValue(Type::getInt32Ty(Context)); in InsertProfilingInitCall() 51 Constant::getNullValue(Type::getInt32Ty(Context))); in InsertProfilingInitCall() 62 Args[3] = ConstantInt::get(Type::getInt32Ty(Context), NumElements); in InsertProfilingInitCall() 94 Type::getInt32Ty(Context), true); in InsertProfilingInitCall() 96 CastInst::Create(opcode, AI, Type::getInt32Ty(Context), in InsertProfilingInitCall() 119 Indices[0] = Constant::getNullValue(Type::getInt32Ty(Context)); in IncrementCounterInBlock() 120 Indices[1] = ConstantInt::get(Type::getInt32Ty(Context), CounterNum); in IncrementCounterInBlock() [all …]
|
/external/llvm/unittests/Transforms/Utils/ |
D | Local.cpp | 29 PHINode *phi = builder.CreatePHI(Type::getInt32Ty(C), 2); in TEST() 46 phi = builder.CreatePHI(Type::getInt32Ty(C), 0); in TEST() 51 phi = builder.CreatePHI(Type::getInt32Ty(C), 0); in TEST() 75 AssertingVH<PHINode> P1 = B.CreatePHI(Type::getInt32Ty(C), 2); in TEST() 78 PHINode *P2 = B.CreatePHI(Type::getInt32Ty(C), 2); in TEST() 81 AssertingVH<PHINode> P3 = B.CreatePHI(Type::getInt32Ty(C), 2); in TEST() 85 PHINode *P4 = B.CreatePHI(Type::getInt32Ty(C), 2); in TEST()
|
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/ |
D | ExecutionEngineTest.cpp | 44 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global1"); in TEST_F() 57 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global1"); in TEST_F() 70 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global1"); in TEST_F() 81 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global2"); in TEST_F() 98 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global1"); in TEST_F() 109 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global2"); in TEST_F() 118 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global1"); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/ |
D | ExecutionEngineTest.cpp | 53 GlobalVariable *G1 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() 66 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() 78 GlobalVariable *G1 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() 88 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global2"); in TEST_F() 104 GlobalVariable *G1 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() 114 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global2"); in TEST_F() 122 GlobalVariable *G1 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F()
|
/external/llvm/unittests/ExecutionEngine/ |
D | ExecutionEngineTest.cpp | 53 GlobalVariable *G1 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() 66 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() 78 GlobalVariable *G1 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() 88 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global2"); in TEST_F() 104 GlobalVariable *G1 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() 114 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global2"); in TEST_F() 122 GlobalVariable *G1 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | ShadowStackGC.cpp | 147 Type::getInt32Ty(C), NULL); in Next() 151 FunctionType::get(Type::getInt32Ty(C), true)); in Next() 218 Type *Int32Ty = Type::getInt32Ty(F.getContext()); in GetFrameMap() 253 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0), in GetFrameMap() 254 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0) in GetFrameMap() 279 EltTys.push_back(Type::getInt32Ty(M.getContext())); in initializeCustomLowering() 281 EltTys.push_back(Type::getInt32Ty(M.getContext())); in initializeCustomLowering() 352 Value *Indices[] = { ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP() 353 ConstantInt::get(Type::getInt32Ty(Context), Idx), in CreateGEP() 354 ConstantInt::get(Type::getInt32Ty(Context), Idx2) }; in CreateGEP() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 228 Type *Int32Ty = Type::getInt32Ty(EI.getContext()); in visitExtractElementInst() 257 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); in CollectSingleShuffleElements() 263 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), i)); in CollectSingleShuffleElements() 269 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), in CollectSingleShuffleElements() 289 Mask[InsertedIdx] = UndefValue::get(Type::getInt32Ty(V->getContext())); in CollectSingleShuffleElements() 306 ConstantInt::get(Type::getInt32Ty(V->getContext()), in CollectSingleShuffleElements() 311 ConstantInt::get(Type::getInt32Ty(V->getContext()), in CollectSingleShuffleElements() 336 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); in CollectShuffleElements() 339 Mask.assign(NumElts, ConstantInt::get(Type::getInt32Ty(V->getContext()),0)); in CollectShuffleElements() 360 ConstantInt::get(Type::getInt32Ty(V->getContext()), in CollectShuffleElements() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | ShadowStackGCLowering.cpp | 117 Type *Int32Ty = Type::getInt32Ty(F.getContext()); in GetFrameMap() 151 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0), in GetFrameMap() 152 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0)}; in GetFrameMap() 186 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization() 188 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization() 261 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP() 262 ConstantInt::get(Type::getInt32Ty(Context), Idx), in CreateGEP() 263 ConstantInt::get(Type::getInt32Ty(Context), Idx2)}; in CreateGEP() 274 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP() 275 ConstantInt::get(Type::getInt32Ty(Context), Idx)}; in CreateGEP()
|
/external/llvm/lib/CodeGen/ |
D | ShadowStackGCLowering.cpp | 150 StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C), nullptr); in Next() 154 FunctionType::get(Type::getInt32Ty(C), true)); in Next() 214 Type *Int32Ty = Type::getInt32Ty(F.getContext()); in GetFrameMap() 248 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0), in GetFrameMap() 249 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0)}; in GetFrameMap() 283 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization() 285 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization() 358 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP() 359 ConstantInt::get(Type::getInt32Ty(Context), Idx), in CreateGEP() 360 ConstantInt::get(Type::getInt32Ty(Context), Idx2)}; in CreateGEP() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 62 Type *I32Ty = B.getInt32Ty(); in EmitStrChr() 84 B.getInt32Ty(), in EmitStrNCmp() 169 B.getInt32Ty(), in EmitMemChr() 192 B.getInt32Ty(), in EmitMemCmp() 240 Value *PutChar = M->getOrInsertFunction("putchar", B.getInt32Ty(), in EmitPutChar() 241 B.getInt32Ty(), NULL); in EmitPutChar() 244 B.getInt32Ty(), in EmitPutChar() 263 B.getInt32Ty(), in EmitPutS() 283 B.getInt32Ty(), in EmitFPutC() 284 B.getInt32Ty(), File->getType(), in EmitFPutC() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 56 Type::getInt32Ty(M->getContext()), in createAdd1() 57 Type::getInt32Ty(M->getContext()))); in createAdd1() 64 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in createAdd1() 86 Type::getInt32Ty(M->getContext()), in CreateFibFunction() 87 Type::getInt32Ty(M->getContext()))); in CreateFibFunction() 93 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in CreateFibFunction() 94 Value *Two = ConstantInt::get(Type::getInt32Ty(M->getContext()), 2); in CreateFibFunction()
|
/external/llvm/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 56 Type::getInt32Ty(M->getContext()), in createAdd1() 57 Type::getInt32Ty(M->getContext()), in createAdd1() 65 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in createAdd1() 87 Type::getInt32Ty(M->getContext()), in CreateFibFunction() 88 Type::getInt32Ty(M->getContext()), in CreateFibFunction() 95 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in CreateFibFunction() 96 Value *Two = ConstantInt::get(Type::getInt32Ty(M->getContext()), 2); in CreateFibFunction()
|
/external/swiftshader/third_party/LLVM/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 39 Type::getInt32Ty(M->getContext()), in createAdd1() 40 Type::getInt32Ty(M->getContext()), in createAdd1() 48 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in createAdd1() 70 Type::getInt32Ty(M->getContext()), in CreateFibFunction() 71 Type::getInt32Ty(M->getContext()), in CreateFibFunction() 78 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in CreateFibFunction() 79 Value *Two = ConstantInt::get(Type::getInt32Ty(M->getContext()), 2); in CreateFibFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | ValueHandleTest.cpp | 28 : ConstantV(ConstantInt::get(Type::getInt32Ty(Context), 0)), in ValueHandle() 29 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(Context))) {} in ValueHandle() 45 EXPECT_EQ(Type::getInt32Ty(Context), WVH->getType()); in TEST_F() 46 EXPECT_EQ(Type::getInt32Ty(Context), (*WVH).getType()); in TEST_F() 63 EXPECT_EQ(Type::getInt32Ty(Context), WVH->getType()); in TEST_F() 64 EXPECT_EQ(Type::getInt32Ty(Context), (*WVH).getType()); in TEST_F() 218 EXPECT_EQ(Type::getInt32Ty(Context), CVH->getType()); in TEST_F() 219 EXPECT_EQ(Type::getInt32Ty(Context), (*CVH).getType()); in TEST_F() 328 Constant::getNullValue(Type::getInt32Ty(*Context))); in TEST_F() 344 RVH, Constant::getNullValue(Type::getInt32Ty(Context)))); in TEST_F() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/BrainF/ |
D | BrainF.cpp | 71 Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; in header() 77 getOrInsertFunction("getchar", IntegerType::getInt32Ty(C))); in header() 81 getOrInsertFunction("putchar", IntegerType::getInt32Ty(C), in header() 82 IntegerType::getInt32Ty(C))); in header() 95 Type* IntPtrTy = IntegerType::getInt32Ty(C); in header() 158 getOrInsertFunction("puts", IntegerType::getInt32Ty(C), in header() 166 Constant *zero_32 = Constant::getNullValue(IntegerType::getInt32Ty(C)); in header() 233 CreateSExt(tape_0, IntegerType::getInt32Ty(C), tapereg); in readloop()
|
/external/swiftshader/third_party/LLVM/examples/BrainF/ |
D | BrainF.cpp | 58 Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; in header() 64 getOrInsertFunction("getchar", IntegerType::getInt32Ty(C), NULL)); in header() 68 getOrInsertFunction("putchar", IntegerType::getInt32Ty(C), in header() 69 IntegerType::getInt32Ty(C), NULL)); in header() 83 Type* IntPtrTy = IntegerType::getInt32Ty(C); in header() 149 getOrInsertFunction("puts", IntegerType::getInt32Ty(C), in header() 157 Constant *zero_32 = Constant::getNullValue(IntegerType::getInt32Ty(C)); in header() 223 CreateSExt(tape_0, IntegerType::getInt32Ty(C), tapereg); in readloop()
|
/external/llvm/examples/BrainF/ |
D | BrainF.cpp | 71 Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; in header() 77 getOrInsertFunction("getchar", IntegerType::getInt32Ty(C), NULL)); in header() 81 getOrInsertFunction("putchar", IntegerType::getInt32Ty(C), in header() 82 IntegerType::getInt32Ty(C), NULL)); in header() 95 Type* IntPtrTy = IntegerType::getInt32Ty(C); in header() 158 getOrInsertFunction("puts", IntegerType::getInt32Ty(C), in header() 166 Constant *zero_32 = Constant::getNullValue(IntegerType::getInt32Ty(C)); in header() 233 CreateSExt(tape_0, IntegerType::getInt32Ty(C), tapereg); in readloop()
|
/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | ValueHandleTest.cpp | 31 ConstantV(ConstantInt::get(Type::getInt32Ty(getGlobalContext()), 0)), in ValueHandle() 32 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(getGlobalContext()))) { in ValueHandle() 49 EXPECT_EQ(Type::getInt32Ty(getGlobalContext()), WVH->getType()); in TEST_F() 50 EXPECT_EQ(Type::getInt32Ty(getGlobalContext()), (*WVH).getType()); in TEST_F() 204 EXPECT_EQ(Type::getInt32Ty(getGlobalContext()), CVH->getType()); in TEST_F() 205 EXPECT_EQ(Type::getInt32Ty(getGlobalContext()), (*CVH).getType()); in TEST_F() 306 getValPtr()->replaceAllUsesWith(Constant::getNullValue(Type::getInt32Ty(getGlobalContext()))); in TEST_F() 323 Constant::getNullValue(Type::getInt32Ty(getGlobalContext())))); in TEST_F() 326 EXPECT_EQ(Constant::getNullValue(Type::getInt32Ty(getGlobalContext())), RVH.AURWArgument); in TEST_F() 327 EXPECT_EQ(Constant::getNullValue(Type::getInt32Ty(getGlobalContext())), in TEST_F()
|
/external/llvm/unittests/IR/ |
D | ValueHandleTest.cpp | 28 : ConstantV(ConstantInt::get(Type::getInt32Ty(Context), 0)), in ValueHandle() 29 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(Context))) {} in ValueHandle() 45 EXPECT_EQ(Type::getInt32Ty(Context), WVH->getType()); in TEST_F() 46 EXPECT_EQ(Type::getInt32Ty(Context), (*WVH).getType()); in TEST_F() 200 EXPECT_EQ(Type::getInt32Ty(Context), CVH->getType()); in TEST_F() 201 EXPECT_EQ(Type::getInt32Ty(Context), (*CVH).getType()); in TEST_F() 310 Constant::getNullValue(Type::getInt32Ty(*Context))); in TEST_F() 326 RVH, Constant::getNullValue(Type::getInt32Ty(Context)))); in TEST_F() 329 EXPECT_EQ(Constant::getNullValue(Type::getInt32Ty(Context)), in TEST_F() 331 EXPECT_EQ(Constant::getNullValue(Type::getInt32Ty(Context)), in TEST_F()
|
/external/llvm/examples/ModuleMaker/ |
D | ModuleMaker.cpp | 40 FunctionType::get(Type::getInt32Ty(Context), /*not vararg*/false); in main() 51 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); in main() 52 Value *Three = ConstantInt::get(Type::getInt32Ty(Context), 3); in main()
|
/external/swiftshader/third_party/LLVM/examples/ModuleMaker/ |
D | ModuleMaker.cpp | 34 FunctionType::get(Type::getInt32Ty(Context), /*not vararg*/false); in main() 45 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); in main() 46 Value *Three = ConstantInt::get(Type::getInt32Ty(Context), 3); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/ModuleMaker/ |
D | ModuleMaker.cpp | 40 FunctionType::get(Type::getInt32Ty(Context), /*not vararg*/false); in main() 51 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); in main() 52 Value *Three = ConstantInt::get(Type::getInt32Ty(Context), 3); in main()
|
/external/swiftshader/third_party/LLVM/examples/Fibonacci/ |
D | fibonacci.cpp | 43 cast<Function>(M->getOrInsertFunction("fib", Type::getInt32Ty(Context), in CreateFibFunction() 44 Type::getInt32Ty(Context), in CreateFibFunction() 51 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1); in CreateFibFunction() 52 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); in CreateFibFunction()
|
/external/llvm/examples/Fibonacci/ |
D | fibonacci.cpp | 56 cast<Function>(M->getOrInsertFunction("fib", Type::getInt32Ty(Context), in CreateFibFunction() 57 Type::getInt32Ty(Context), in CreateFibFunction() 64 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1); in CreateFibFunction() 65 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); in CreateFibFunction()
|