/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()
|
D | IntegerDivision.cpp | 28 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() 29 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(), in TEST() 58 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() 59 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(), in TEST() 88 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() 89 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(), in TEST() 118 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() 119 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(), in TEST()
|
/external/llvm-project/polly/lib/CodeGen/ |
D | LoopGeneratorsKMP.cpp | 30 Type *MicroParams[] = {Builder.getInt32Ty()->getPointerTo(), in createCallSpawnThreads() 31 Builder.getInt32Ty()->getPointerTo()}; in createCallSpawnThreads() 42 Type *Params[] = {IdentTy->getPointerTo(), Builder.getInt32Ty(), in createCallSpawnThreads() 78 std::vector<Type *> Arguments = {Builder.getInt32Ty()->getPointerTo(), in prepareSubFnDefinition() 79 Builder.getInt32Ty()->getPointerTo(), in prepareSubFnDefinition() 157 Value *IsLastPtr = Builder.CreateAlloca(Builder.getInt32Ty(), nullptr, in createSubFn() 324 FunctionType *Ty = FunctionType::get(Builder.getInt32Ty(), Params, false); in createCallGlobalThreadNum() 342 Type *Params[] = {IdentTy->getPointerTo(), Builder.getInt32Ty(), in createCallPushNumThreads() 343 Builder.getInt32Ty()}; in createCallPushNumThreads() 370 Builder.getInt32Ty(), in createCallStaticInit() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | ValueTypes.cpp | 149 case MVT::i32: return Type::getInt32Ty(Context); in getTypeForEVT() 188 case MVT::v1i32: return VectorType::get(Type::getInt32Ty(Context), 1); in getTypeForEVT() 189 case MVT::v2i32: return VectorType::get(Type::getInt32Ty(Context), 2); in getTypeForEVT() 190 case MVT::v3i32: return VectorType::get(Type::getInt32Ty(Context), 3); in getTypeForEVT() 191 case MVT::v4i32: return VectorType::get(Type::getInt32Ty(Context), 4); in getTypeForEVT() 192 case MVT::v5i32: return VectorType::get(Type::getInt32Ty(Context), 5); in getTypeForEVT() 193 case MVT::v8i32: return VectorType::get(Type::getInt32Ty(Context), 8); in getTypeForEVT() 194 case MVT::v16i32: return VectorType::get(Type::getInt32Ty(Context), 16); in getTypeForEVT() 195 case MVT::v32i32: return VectorType::get(Type::getInt32Ty(Context), 32); in getTypeForEVT() 196 case MVT::v64i32: return VectorType::get(Type::getInt32Ty(Context), 64); in getTypeForEVT() [all …]
|
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/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-project/llvm/unittests/ExecutionEngine/ |
D | ExecutionEngineTest.cpp | 52 GlobalVariable *G1 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() 65 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() 77 GlobalVariable *G1 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() 87 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global2"); in TEST_F() 103 GlobalVariable *G1 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() 113 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global2"); in TEST_F() 121 GlobalVariable *G1 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | ValueTypes.cpp | 187 case MVT::i32: return Type::getInt32Ty(Context); in getTypeForEVT() 257 return FixedVectorType::get(Type::getInt32Ty(Context), 1); in getTypeForEVT() 259 return FixedVectorType::get(Type::getInt32Ty(Context), 2); in getTypeForEVT() 261 return FixedVectorType::get(Type::getInt32Ty(Context), 3); in getTypeForEVT() 263 return FixedVectorType::get(Type::getInt32Ty(Context), 4); in getTypeForEVT() 265 return FixedVectorType::get(Type::getInt32Ty(Context), 5); in getTypeForEVT() 267 return FixedVectorType::get(Type::getInt32Ty(Context), 8); in getTypeForEVT() 269 return FixedVectorType::get(Type::getInt32Ty(Context), 16); in getTypeForEVT() 271 return FixedVectorType::get(Type::getInt32Ty(Context), 32); in getTypeForEVT() 273 return FixedVectorType::get(Type::getInt32Ty(Context), 64); in getTypeForEVT() [all …]
|
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/llvm-project/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITTest.cpp | 102 startFunction(M.get(), FunctionType::get(Builder.getInt32Ty(), {}, false), in TEST_F() 104 Value *ReadGlobal = Builder.CreateLoad(Builder.getInt32Ty(), GV); in TEST_F() 168 M.get(), FunctionType::get(Builder.getInt32Ty(), {}, false), "Inner"); in TEST_F() 176 FunctionType::get(Builder.getInt32Ty(), {}, false), in TEST_F() 215 M.get(), FunctionType::get(Builder.getInt32Ty(), {}, false), in TEST_F() 217 startFunction(M.get(), FunctionType::get(Builder.getInt32Ty(), {}, false), in TEST_F() 254 FunctionType::get(Builder.getInt32Ty(), {}, false); in TEST_F()
|
/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/llvm-project/llvm/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 54 Function::Create(FunctionType::get(Type::getInt32Ty(Context), in createAdd1() 55 {Type::getInt32Ty(Context)}, false), in createAdd1() 63 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1); in createAdd1() 84 FunctionType *FibFTy = FunctionType::get(Type::getInt32Ty(Context), in CreateFibFunction() 85 {Type::getInt32Ty(Context)}, false); in CreateFibFunction() 93 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1); in CreateFibFunction() 94 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); in CreateFibFunction()
|
/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/llvm-project/llvm/examples/ModuleMaker/ |
D | ModuleMaker.cpp | 39 FunctionType::get(Type::getInt32Ty(Context), /*not vararg*/false); in main() 50 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); in main() 51 Value *Three = ConstantInt::get(Type::getInt32Ty(Context), 3); in main()
|
/external/llvm-project/llvm/unittests/IR/ |
D | ValueHandleTest.cpp | 27 : ConstantV(ConstantInt::get(Type::getInt32Ty(Context), 0)), in ValueHandle() 28 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(Context))) {} in ValueHandle() 44 EXPECT_EQ(Type::getInt32Ty(Context), WVH->getType()); in TEST_F() 45 EXPECT_EQ(Type::getInt32Ty(Context), (*WVH).getType()); in TEST_F() 62 EXPECT_EQ(Type::getInt32Ty(Context), WVH->getType()); in TEST_F() 63 EXPECT_EQ(Type::getInt32Ty(Context), (*WVH).getType()); in TEST_F() 217 EXPECT_EQ(Type::getInt32Ty(Context), CVH->getType()); in TEST_F() 218 EXPECT_EQ(Type::getInt32Ty(Context), (*CVH).getType()); in TEST_F() 327 Constant::getNullValue(Type::getInt32Ty(*Context))); in TEST_F() 343 RVH, Constant::getNullValue(Type::getInt32Ty(Context)))); in TEST_F() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 319 dyn_cast<GlobalVariable>(M.getOrInsertGlobal(Name, IRB.getInt32Ty())); in getGlobalVariableI32() 440 IRB.CreateLoad(IRB.getInt32Ty(), ThrewGV, ThrewGV->getName() + ".val"); in wrapInvoke() 555 Value *ThrewValue = IRB.CreateLoad(IRB.getInt32Ty(), ThrewValueGV, in wrapTestSetjmp() 568 Value *LoadedThrew = IRB.CreateLoad(IRB.getInt32Ty(), ThrewInt, in wrapTestSetjmp() 590 PHINode *LabelPHI = IRB.CreatePHI(IRB.getInt32Ty(), 2, "label"); in wrapTestSetjmp() 643 Function::Create(FunctionType::get(IRB.getInt32Ty(), false), in runOnModule() 646 FunctionType::get(IRB.getVoidTy(), IRB.getInt32Ty(), false), in runOnModule() 663 FunctionType::get(IRB.getInt32Ty(), IRB.getInt8PtrTy(), false); in runOnModule() 692 IRB.getInt32Ty(), Type::getInt32PtrTy(C), in runOnModule() 693 IRB.getInt32Ty()}; in runOnModule() [all …]
|
/external/llvm-project/llvm/examples/Fibonacci/ |
D | fibonacci.cpp | 54 FunctionType *FibFTy = FunctionType::get(Type::getInt32Ty(Context), in CreateFibFunction() 55 {Type::getInt32Ty(Context)}, false); in CreateFibFunction() 63 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1); in CreateFibFunction() 64 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()
|
/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/llvm-project/llvm/examples/BrainF/ |
D | BrainF.cpp | 70 Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; in header() 76 module->getOrInsertFunction("getchar", IntegerType::getInt32Ty(C)); in header() 80 "putchar", IntegerType::getInt32Ty(C), IntegerType::getInt32Ty(C)); in header() 93 Type* IntPtrTy = IntegerType::getInt32Ty(C); in header() 155 "puts", IntegerType::getInt32Ty(C), in header() 163 Constant *zero_32 = Constant::getNullValue(IntegerType::getInt32Ty(C)); in header() 230 CreateSExt(tape_0, IntegerType::getInt32Ty(C), tapereg); in readloop()
|
/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-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 314 auto Int32Ty = IRB.getInt32Ty(); in getGlobalVariableI32() 462 IRB.CreateLoad(IRB.getInt32Ty(), ThrewGV, ThrewGV->getName() + ".val"); in wrapInvoke() 568 Value *ThrewValue = IRB.CreateLoad(IRB.getInt32Ty(), ThrewValueGV, in wrapTestSetjmp() 581 Value *LoadedThrew = IRB.CreateLoad(IRB.getInt32Ty(), ThrewInt, in wrapTestSetjmp() 603 PHINode *LabelPHI = IRB.CreatePHI(IRB.getInt32Ty(), 2, "label"); in wrapTestSetjmp() 655 IRB.CreatePtrToInt(CI->getArgOperand(0), IRB.getInt32Ty(), "jmpbuf"); in replaceLongjmpWithEmscriptenLongjmp() 698 FunctionType::get(IRB.getInt32Ty(), false), "getTempRet0", &M); in runOnModule() 700 FunctionType::get(IRB.getVoidTy(), IRB.getInt32Ty(), false), in runOnModule() 716 FunctionType::get(IRB.getInt32Ty(), IRB.getInt8PtrTy(), false); in runOnModule() 732 IRB.getVoidTy(), {IRB.getInt32Ty(), IRB.getInt32Ty()}, false); in runOnModule() [all …]
|
/external/llvm-project/llvm/examples/HowToUseJIT/ |
D | HowToUseJIT.cpp | 72 Function::Create(FunctionType::get(Type::getInt32Ty(Context), in main() 73 {Type::getInt32Ty(Context)}, false), in main() 103 Function::Create(FunctionType::get(Type::getInt32Ty(Context), {}, false), in main()
|
/external/llvm/examples/HowToUseJIT/ |
D | HowToUseJIT.cpp | 74 cast<Function>(M->getOrInsertFunction("add1", Type::getInt32Ty(Context), in main() 75 Type::getInt32Ty(Context), in main() 105 cast<Function>(M->getOrInsertFunction("foo", Type::getInt32Ty(Context), in main()
|