Home
last modified time | relevance | path

Searched refs:I32Ty (Results 1 – 19 of 19) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DSSAUpdaterBulk.cpp27 Type *I32Ty = B.getInt32Ty(); in TEST() local
28 auto *F = Function::Create(FunctionType::get(B.getVoidTy(), {I32Ty}, false), in TEST()
57 Value *AddOp1 = B.CreateAdd(FirstArg, ConstantInt::get(I32Ty, 1)); in TEST()
58 Value *SubOp1 = B.CreateSub(FirstArg, ConstantInt::get(I32Ty, 2)); in TEST()
62 Value *AddOp2 = B.CreateAdd(FirstArg, ConstantInt::get(I32Ty, 3)); in TEST()
63 Value *SubOp2 = B.CreateSub(FirstArg, ConstantInt::get(I32Ty, 4)); in TEST()
67 auto *I1 = cast<Instruction>(B.CreateAdd(AddOp1, ConstantInt::get(I32Ty, 5))); in TEST()
68 auto *I2 = cast<Instruction>(B.CreateAdd(AddOp2, ConstantInt::get(I32Ty, 6))); in TEST()
76 unsigned VarNum = Updater.AddVariable("a", I32Ty); in TEST()
82 VarNum = Updater.AddVariable("b", I32Ty); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp281 Type *I32Ty = getI32Ty(Builder, I.getType()); in promoteUniformOpToI32() local
288 ExtOp0 = Builder.CreateSExt(I.getOperand(0), I32Ty); in promoteUniformOpToI32()
289 ExtOp1 = Builder.CreateSExt(I.getOperand(1), I32Ty); in promoteUniformOpToI32()
291 ExtOp0 = Builder.CreateZExt(I.getOperand(0), I32Ty); in promoteUniformOpToI32()
292 ExtOp1 = Builder.CreateZExt(I.getOperand(1), I32Ty); in promoteUniformOpToI32()
322 Type *I32Ty = getI32Ty(Builder, I.getOperand(0)->getType()); in promoteUniformOpToI32() local
328 ExtOp0 = Builder.CreateSExt(I.getOperand(0), I32Ty); in promoteUniformOpToI32()
329 ExtOp1 = Builder.CreateSExt(I.getOperand(1), I32Ty); in promoteUniformOpToI32()
331 ExtOp0 = Builder.CreateZExt(I.getOperand(0), I32Ty); in promoteUniformOpToI32()
332 ExtOp1 = Builder.CreateZExt(I.getOperand(1), I32Ty); in promoteUniformOpToI32()
[all …]
DAMDGPUPromoteAlloca.cpp239 Type *I32Ty = Type::getInt32Ty(Mod->getContext()); in getLocalSizeYZ() local
241 DispatchPtr, PointerType::get(I32Ty, AS.CONSTANT_ADDRESS)); in getLocalSizeYZ()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DValueLatticeTest.cpp33 auto I32Ty = IntegerType::get(Context, 32); in TEST_F() local
34 auto *C1 = ConstantInt::get(I32Ty, 1); in TEST_F()
48 auto I32Ty = IntegerType::get(Context, 32); in TEST_F() local
49 auto *C1 = ConstantInt::get(I32Ty, 1); in TEST_F()
58 EXPECT_TRUE(LV1.mergeIn(ValueLatticeElement::get(ConstantInt::get(I32Ty, 99)), in TEST_F()
92 auto *I32Ty = IntegerType::get(Context, 32); in TEST_F() local
94 auto *C1 = ConstantInt::get(I32Ty, 1); in TEST_F()
163 auto *I32Ty = IntegerType::get(Context, 32); in TEST_F() local
166 auto LV1 = ValueLatticeElement::get(UndefValue::get(I32Ty)); in TEST_F()
DPhiValuesTest.cpp26 Type *I32Ty = Type::getInt32Ty(C); in TEST() local
45 PHINode *Phi1 = PHINode::Create(I32Ty, 2, "phi1", Then); in TEST()
48 PHINode *Phi2 = PHINode::Create(I32Ty, 2, "phi2", Then); in TEST()
92 Type *I32Ty = Type::getInt32Ty(C); in TEST() local
117 PHINode *Phi1 = PHINode::Create(I32Ty, 2, "phi1", Then); in TEST()
120 PHINode *Phi2 = PHINode::Create(I32Ty, 2, "phi2", Then); in TEST()
123 PHINode *Phi3 = PHINode::Create(I32Ty, 2, "phi3", End); in TEST()
DScalarEvolutionTest.cpp146 auto *I32Ty = Type::getInt32Ty(Context); in TEST_F() local
171 AllocaInst *Alloca = new AllocaInst(I32Ty, DL.getAllocaAddrSpace(), in TEST_F()
175 GetElementPtrInst::Create(I32Ty, Alloca, Ci32, "gep0", Br); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DManglerTest.cpp33 Type *I32Ty = Type::getInt32Ty(Mod.getContext()); in mangleFunc() local
35 FunctionType::get(VoidTy, {I32Ty, I32Ty, I32Ty}, /*isVarArg=*/false); in mangleFunc()
DInstructionsTest.cpp311 Type *I32Ty = IntegerType::get(C, 32); in TEST() local
313 PointerType *Ptri32Ty = PointerType::get(I32Ty, 0); in TEST()
339 GetElementPtrInst *Gep0 = GetElementPtrInst::Create(I32Ty, PtrVecA, C2xi32a); in TEST()
340 GetElementPtrInst *Gep1 = GetElementPtrInst::Create(I32Ty, PtrVecA, C2xi32b); in TEST()
341 GetElementPtrInst *Gep2 = GetElementPtrInst::Create(I32Ty, PtrVecB, C2xi32a); in TEST()
342 GetElementPtrInst *Gep3 = GetElementPtrInst::Create(I32Ty, PtrVecB, C2xi32b); in TEST()
370 GetElementPtrInst *GepII0 = GetElementPtrInst::Create(I32Ty, Gep0, C2xi32b); in TEST()
371 GetElementPtrInst *GepII1 = GetElementPtrInst::Create(I32Ty, Gep1, C2xi32a); in TEST()
372 GetElementPtrInst *GepII2 = GetElementPtrInst::Create(I32Ty, Gep2, C2xi32b); in TEST()
373 GetElementPtrInst *GepII3 = GetElementPtrInst::Create(I32Ty, Gep3, C2xi32a); in TEST()
/external/llvm/unittests/IR/
DInstructionsTest.cpp299 Type *I32Ty = IntegerType::get(C, 32); in TEST() local
301 PointerType *Ptri32Ty = PointerType::get(I32Ty, 0); in TEST()
327 GetElementPtrInst *Gep0 = GetElementPtrInst::Create(I32Ty, PtrVecA, C2xi32a); in TEST()
328 GetElementPtrInst *Gep1 = GetElementPtrInst::Create(I32Ty, PtrVecA, C2xi32b); in TEST()
329 GetElementPtrInst *Gep2 = GetElementPtrInst::Create(I32Ty, PtrVecB, C2xi32a); in TEST()
330 GetElementPtrInst *Gep3 = GetElementPtrInst::Create(I32Ty, PtrVecB, C2xi32b); in TEST()
358 GetElementPtrInst *GepII0 = GetElementPtrInst::Create(I32Ty, Gep0, C2xi32b); in TEST()
359 GetElementPtrInst *GepII1 = GetElementPtrInst::Create(I32Ty, Gep1, C2xi32a); in TEST()
360 GetElementPtrInst *GepII2 = GetElementPtrInst::Create(I32Ty, Gep2, C2xi32b); in TEST()
361 GetElementPtrInst *GepII3 = GetElementPtrInst::Create(I32Ty, Gep3, C2xi32a); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAutoUpgrade.cpp1658 Type *I32Ty = Type::getInt32Ty(C); in UpgradeIntrinsicCall() local
1660 ConstantInt::get(I32Ty, 0)); in UpgradeIntrinsicCall()
1662 ConstantInt::get(I32Ty, 0)); in UpgradeIntrinsicCall()
1665 ConstantInt::get(I32Ty, 0)); in UpgradeIntrinsicCall()
1667 Type *I32Ty = Type::getInt32Ty(C); in UpgradeIntrinsicCall() local
1669 ConstantInt::get(I32Ty, 0)); in UpgradeIntrinsicCall()
1671 ConstantInt::get(I32Ty, 0)); in UpgradeIntrinsicCall()
1674 ConstantInt::get(I32Ty, 0)); in UpgradeIntrinsicCall()
1676 Type *I32Ty = Type::getInt32Ty(C); in UpgradeIntrinsicCall() local
1678 ConstantInt::get(I32Ty, 0)); in UpgradeIntrinsicCall()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBuildLibCalls.cpp62 Type *I32Ty = B.getInt32Ty(); in EmitStrChr() local
64 I8Ptr, I8Ptr, I32Ty, NULL); in EmitStrChr()
66 ConstantInt::get(I32Ty, C), "strchr"); in EmitStrChr()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAutoUpgrade.cpp310 llvm::Type *I32Ty = llvm::Type::getInt32Ty(CI->getContext()); in UpgradeIntrinsicCall() local
315 llvm::ConstantInt::get(I32Ty, 1) }; in UpgradeIntrinsicCall()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp291 Type *I32Ty = Type::getInt32Ty(Mod->getContext()); in getLocalSizeYZ() local
293 DispatchPtr, PointerType::get(I32Ty, AMDGPUAS::CONSTANT_ADDRESS)); in getLocalSizeYZ()
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp741 Type *I32Ty = B.getInt32Ty(); in emitStrChr() local
743 M->getOrInsertFunction("strchr", I8Ptr, I8Ptr, I32Ty, nullptr); in emitStrChr()
746 StrChr, {castToCStr(Ptr, B), ConstantInt::get(I32Ty, C)}, "strchr"); in emitStrChr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp786 Type *I32Ty = B.getInt32Ty(); in emitStrChr() local
788 M->getOrInsertFunction(StrChrName, I8Ptr, I8Ptr, I32Ty); in emitStrChr()
791 StrChr, {castToCStr(Ptr, B), ConstantInt::get(I32Ty, C)}, StrChrName); in emitStrChr()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1150 unsigned Off, llvm::Type *I32Ty) { in getMaskElt() argument
1153 return llvm::UndefValue::get(I32Ty); in getMaskElt()
1154 return llvm::ConstantInt::get(I32Ty, Off+MV); in getMaskElt()
1157 static llvm::Constant *getAsInt32(llvm::ConstantInt *C, llvm::Type *I32Ty) { in getAsInt32() argument
1159 assert(llvm::ConstantInt::isValueValidForType(I32Ty, in getAsInt32()
1162 return llvm::ConstantInt::get(I32Ty, C->getZExtValue()); in getAsInt32()
/external/llvm/include/llvm/IR/
DIRBuilder.h1725 Type *I32Ty = getInt32Ty(); variable
1727 V = CreateInsertElement(Undef, V, ConstantInt::get(I32Ty, 0),
1731 Value *Zeros = ConstantAggregateZero::get(VectorType::get(I32Ty, NumElts));
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DIRBuilder.h2080 Type *I32Ty = getInt32Ty(); variable
2082 V = CreateInsertElement(Undef, V, ConstantInt::get(I32Ty, 0),
2086 Value *Zeros = ConstantAggregateZero::get(VectorType::get(I32Ty, NumElts));
/external/llvm/lib/IR/
DAutoUpgrade.cpp905 Type *I32Ty = Type::getInt32Ty(C); in UpgradeIntrinsicCall() local
909 ConstantInt::get(I32Ty, I)); in UpgradeIntrinsicCall()