Home
last modified time | relevance | path

Searched refs:Int32Ty (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/unittests/IR/
DInstructionsTest.cpp121 Type *Int32Ty = Type::getInt32Ty(C); in TEST() local
131 Type *V2Int32Ty = VectorType::get(Int32Ty, 2); in TEST()
135 Type *Int32PtrTy = PointerType::get(Int32Ty, 0); in TEST()
138 Type *Int32PtrAS1Ty = PointerType::get(Int32Ty, 1); in TEST()
185 EXPECT_TRUE(CastInst::isBitCastable(FloatTy, Int32Ty)); in TEST()
187 EXPECT_TRUE(CastInst::isBitCastable(Int32Ty, FloatTy)); in TEST()
191 EXPECT_FALSE(CastInst::isBitCastable(Int32Ty, Int64Ty)); in TEST()
192 EXPECT_FALSE(CastInst::isBitCastable(Int64Ty, Int32Ty)); in TEST()
333 Type* Int32Ty = Type::getInt32Ty(C); in TEST() local
341 Int32Ty, 0, Int32Ty), in TEST()
[all …]
DConstantsTest.cpp168 Type *Int32Ty = Type::getInt32Ty(getGlobalContext()); in TEST() local
175 PointerType::getUnqual(Int32Ty)); in TEST()
177 PointerType::getUnqual(Int32Ty)); in TEST()
179 Constant *P0 = ConstantExpr::getPtrToInt(Global, Int32Ty); in TEST()
183 Constant *P4 = ConstantExpr::getPtrToInt(Global2, Int32Ty); in TEST()
187 Constant *One = ConstantInt::get(Int32Ty, 1); in TEST()
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp454 Type *Int32Ty = Builder.getInt32Ty(); in expandRemainderUpTo32Bits() local
457 ExtDividend = Builder.CreateSExt(Rem->getOperand(0), Int32Ty); in expandRemainderUpTo32Bits()
458 ExtDivisor = Builder.CreateSExt(Rem->getOperand(1), Int32Ty); in expandRemainderUpTo32Bits()
461 ExtDividend = Builder.CreateZExt(Rem->getOperand(0), Int32Ty); in expandRemainderUpTo32Bits()
462 ExtDivisor = Builder.CreateZExt(Rem->getOperand(1), Int32Ty); in expandRemainderUpTo32Bits()
506 Type *Int32Ty = Builder.getInt32Ty(); in expandDivisionUpTo32Bits() local
509 ExtDividend = Builder.CreateSExt(Div->getOperand(0), Int32Ty); in expandDivisionUpTo32Bits()
510 ExtDivisor = Builder.CreateSExt(Div->getOperand(1), Int32Ty); in expandDivisionUpTo32Bits()
513 ExtDividend = Builder.CreateZExt(Div->getOperand(0), Int32Ty); in expandDivisionUpTo32Bits()
514 ExtDivisor = Builder.CreateZExt(Div->getOperand(1), Int32Ty); in expandDivisionUpTo32Bits()
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp94 Type *Int32Ty = Type::getInt32Ty(M.getContext()); in doInitialization() local
97 Int32Ty, // call_site in doInitialization()
98 ArrayType::get(Int32Ty, 4), // __data in doInitialization()
130 Type *Int32Ty = Type::getInt32Ty(I->getContext()); in insertCallSiteStore() local
131 Value *Zero = ConstantInt::get(Int32Ty, 0); in insertCallSiteStore()
132 Value *One = ConstantInt::get(Int32Ty, 1); in insertCallSiteStore()
DShadowStackGC.cpp217 Type *Int32Ty = Type::getInt32Ty(F.getContext()); in GetFrameMap() local
220 ConstantInt::get(Int32Ty, Roots.size(), false), in GetFrameMap()
221 ConstantInt::get(Int32Ty, NumMeta, false), in GetFrameMap()
/external/llvm/lib/IR/
DModule.cpp359 Type *Int32Ty = Type::getInt32Ty(Context); in addModuleFlag() local
361 ConstantInt::get(Int32Ty, Behavior), MDString::get(Context, Key), Val in addModuleFlag()
367 Type *Int32Ty = Type::getInt32Ty(Context); in addModuleFlag() local
368 addModuleFlag(Behavior, Key, ConstantInt::get(Int32Ty, Val)); in addModuleFlag()
DLLVMContextImpl.cpp36 Int32Ty(C, 32), in LLVMContextImpl()
DLLVMContextImpl.h297 IntegerType Int1Ty, Int8Ty, Int16Ty, Int32Ty, Int64Ty;
/external/llvm/lib/Transforms/Scalar/
DGlobalMerge.cpp156 Type *Int32Ty = Type::getInt32Ty(M.getContext()); in doMerge() local
182 ConstantInt::get(Int32Ty, 0), in doMerge()
183 ConstantInt::get(Int32Ty, k-i) in doMerge()
DIndVarSimplify.cpp393 IntegerType *Int32Ty = Type::getInt32Ty(PN->getContext()); in HandleFloatingPointIV() local
396 PHINode *NewPHI = PHINode::Create(Int32Ty, 2, PN->getName()+".int", PN); in HandleFloatingPointIV()
397 NewPHI->addIncoming(ConstantInt::get(Int32Ty, InitValue), in HandleFloatingPointIV()
401 BinaryOperator::CreateAdd(NewPHI, ConstantInt::get(Int32Ty, IncValue), in HandleFloatingPointIV()
406 ConstantInt::get(Int32Ty, ExitValue), in HandleFloatingPointIV()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp419 llvm::ConstantInt::get(Int32Ty, 0); in EmitBuiltinExpr()
421 llvm::ConstantInt::get(Int32Ty, 3); in EmitBuiltinExpr()
422 Value *Data = llvm::ConstantInt::get(Int32Ty, 1); in EmitBuiltinExpr()
725 llvm::ConstantInt::get(Int32Ty, Offset))); in EmitBuiltinExpr()
729 Depth = Builder.CreateIntCast(Depth, Int32Ty, false); in EmitBuiltinExpr()
735 Depth = Builder.CreateIntCast(Depth, Int32Ty, false); in EmitBuiltinExpr()
819 ConstantInt::get(Int32Ty, 0)); in EmitBuiltinExpr()
826 Builder.CreateGEP(Buf, ConstantInt::get(Int32Ty, 2)); in EmitBuiltinExpr()
1612 return llvm::VectorType::get(CGF->Int32Ty, 2 << IsQuad); in GetNeonType()
1977 llvm::Type *STy = llvm::StructType::get(Int32Ty, Int32Ty, NULL); in EmitARMBuiltinExpr()
[all …]
DTargetInfo.cpp996 llvm::ConstantInt::get(CGF.Int32Ty, Align - 1); in EmitVAArg()
999 CGF.Int32Ty); in EmitVAArg()
1000 llvm::Value *Mask = llvm::ConstantInt::get(CGF.Int32Ty, -Align); in EmitVAArg()
1013 Builder.CreateGEP(Addr, llvm::ConstantInt::get(CGF.Int32Ty, Offset), in EmitVAArg()
2425 llvm::ConstantInt::get(CGF.Int32Ty, (SizeInBytes + 7) & ~7); in EmitVAArgFromMemory()
2471 InRegs = llvm::ConstantInt::get(CGF.Int32Ty, 48 - neededInt * 8); in EmitVAArg()
2479 llvm::ConstantInt::get(CGF.Int32Ty, 176 - neededSSE * 16); in EmitVAArg()
2577 llvm::Value *Offset = llvm::ConstantInt::get(CGF.Int32Ty, neededInt * 8); in EmitVAArg()
2582 llvm::Value *Offset = llvm::ConstantInt::get(CGF.Int32Ty, neededSSE * 16); in EmitVAArg()
2671 Builder.CreateGEP(Addr, llvm::ConstantInt::get(CGF.Int32Ty, Offset), in EmitVAArg()
[all …]
DCGObjCGNU.cpp161 llvm::IntegerType *Int32Ty; member in __anon92d2d9bc0111::CGObjCGNU
948 Int32Ty = llvm::Type::getInt32Ty(VMContext); in CGObjCGNU()
952 TheModule.getPointerSize() == llvm::Module::Pointer32 ? Int32Ty : Int64Ty; in CGObjCGNU()
1536 Methods.push_back(llvm::ConstantInt::get(Int32Ty, MethodTypes.size())); in GenerateMethodList()
1765 llvm::ConstantInt::get(Int32Ty, ProtocolVersion), IdTy)); in GenerateEmptyProtocol()
1929 llvm::ConstantInt::get(Int32Ty, ProtocolVersion), IdTy)); in GenerateProtocol()
2018 values.push_back(llvm::ConstantInt::get(Int32Ty, word)); in MakeBitField()
2020 llvm::ArrayType *arrayTy = llvm::ArrayType::get(Int32Ty, values.size()); in MakeBitField()
2023 llvm::ConstantInt::get(Int32Ty, values.size()), in MakeBitField()
2025 llvm::Constant *GS = MakeGlobal(llvm::StructType::get(Int32Ty, arrayTy, in MakeBitField()
[all …]
DCGExprScalar.cpp945 Indx = Builder.CreateZExt(Indx, CGF.Int32Ty, "idx_zext"); in VisitShuffleVectorExpr()
961 indices.push_back(llvm::UndefValue::get(CGF.Int32Ty)); in VisitShuffleVectorExpr()
1002 Idx = Builder.CreateIntCast(Idx, CGF.Int32Ty, IdxSigned, "vecidxcast"); in VisitArraySubscriptExpr()
1065 Args.resize(ResElts, llvm::UndefValue::get(CGF.Int32Ty)); in VisitInitListExpr()
1074 Args.push_back(getMaskElt(SVV, j, 0, CGF.Int32Ty)); in VisitInitListExpr()
1076 Args.resize(ResElts, llvm::UndefValue::get(CGF.Int32Ty)); in VisitInitListExpr()
1114 CGF.Int32Ty)); in VisitInitListExpr()
1120 Args.push_back(getMaskElt(SVI, j, Offset, CGF.Int32Ty)); in VisitInitListExpr()
1121 Args.resize(ResElts, llvm::UndefValue::get(CGF.Int32Ty)); in VisitInitListExpr()
1135 Args.resize(ResElts, llvm::UndefValue::get(CGF.Int32Ty)); in VisitInitListExpr()
[all …]
DCGBlocks.cpp1427 dstAddr, srcValue, llvm::ConstantInt::get(Int32Ty, flags.getBitMask()) in GenerateCopyHelperFunction()
1606 llvm::Value *flagsVal = llvm::ConstantInt::get(CGF.Int32Ty, flags); in emitCopy()
2044 types.push_back(Int32Ty); in BuildByRefType()
2047 types.push_back(Int32Ty); in BuildByRefType()
2223 llvm::ConstantInt::get(Int32Ty, flags.getBitMask()) in BuildBlockRelease()
2267 llvm::Type *args[] = { Int8PtrTy, Int32Ty }; in getBlockObjectDispose()
2279 llvm::Type *args[] = { Int8PtrTy, Int8PtrTy, Int32Ty }; in getBlockObjectAssign()
DCGException.cpp252 CGM.CreateRuntimeFunction(llvm::FunctionType::get(CGM.Int32Ty, true), in getPersonalityFn()
410 EHSelectorSlot = CreateTempAlloca(Int32Ty, "ehselector.slot"); in getEHSelectorSlot()
782 Builder.CreateLandingPad(llvm::StructType::get(Int8PtrTy, Int32Ty, NULL), in EmitLandingPad()
1591 Builder.CreateLandingPad(llvm::StructType::get(Int8PtrTy, Int32Ty, NULL), in getTerminateLandingPad()
DCodeGenFunction.cpp303 llvm::ConstantInt::get(Int32Ty, 0), in EmitFunctionInstrumentation()
529 llvm::Value *Undef = llvm::UndefValue::get(Int32Ty); in StartFunction()
530 AllocaInsertPt = new llvm::BitCastInst(Undef, Int32Ty, "", EntryBB); in StartFunction()
DCodeGenModule.cpp95 Int32Ty = llvm::Type::getInt32Ty(LLVMContext); in CodeGenModule()
492 llvm::StructType::get(Int32Ty, llvm::PointerType::getUnqual(CtorFTy), NULL); in EmitCtorList()
498 llvm::ConstantInt::get(Int32Ty, I->second, false), in EmitCtorList()
1008 return llvm::ConstantInt::get(Int32Ty, LineNo); in EmitAnnotationLineNo()
2239 llvm::Constant *Zero = llvm::Constant::getNullValue(Int32Ty); in GetAddrOfConstantCFString()
2351 llvm::Constant *Zero = llvm::Constant::getNullValue(Int32Ty); in GetAddrOfConstantString()
DCGExpr.cpp1321 llvm::Value *Elt = llvm::ConstantInt::get(Int32Ty, InIdx); in EmitLoadOfExtVectorElementLValue()
1537 ExtMask.resize(NumDstElts, llvm::UndefValue::get(Int32Ty)); in EmitStoreThroughExtVectorComponentLValue()
1560 llvm::Value *Elt = llvm::ConstantInt::get(Int32Ty, InIdx); in EmitStoreThroughExtVectorComponentLValue()
2227 Idx = Builder.CreateIntCast(Idx, Int32Ty, IdxSigned, "vidx"); in EmitArraySubscriptExpr()
2289 llvm::Value *Zero = llvm::ConstantInt::get(Int32Ty, 0); in EmitArraySubscriptExpr()
DMicrosoftCXXABI.cpp508 ImplicitParam = llvm::ConstantInt::get(CGM.Int32Ty, Type == Ctor_Complete); in EmitConstructorCall()
982 VBaseOffs = Builder.CreateBitCast(VBaseOffs, CGM.Int32Ty->getPointerTo(0)); in GetVBaseOffsetFromVBPtr()
DCGStmt.cpp1459 Locs.push_back(llvm::ConstantInt::get(CGF.Int32Ty, in getAsmSrcLocInfo()
1472 Locs.push_back(llvm::ConstantInt::get(CGF.Int32Ty, in getAsmSrcLocInfo()
/external/llvm/include/llvm/IR/
DMDBuilder.h70 Type *Int32Ty = Type::getInt32Ty(Context); in createBranchWeights() local
72 Vals[i+1] = ConstantInt::get(Int32Ty, Weights[i]); in createBranchWeights()
/external/llvm/tools/bugpoint/
DExtractFunction.cpp208 Type *Int32Ty = Type::getInt32Ty(TorList[0].first->getContext()); in GetTorInit() local
211 StructType::get(Int32Ty, TorList[0].first->getType(), NULL); in GetTorInit()
214 ConstantInt::get(Int32Ty, TorList[i].second), in GetTorInit()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp271 Type *Int32Ty = Type::getInt32Ty(EI.getContext()); in visitExtractElementInst() local
273 ConstantInt::get(Int32Ty, in visitExtractElementInst()
1000 Type *Int32Ty = Type::getInt32Ty(SVI.getContext()); in visitShuffleVectorInst() local
1003 Elts.push_back(UndefValue::get(Int32Ty)); in visitShuffleVectorInst()
1005 Elts.push_back(ConstantInt::get(Int32Ty, newMask[i])); in visitShuffleVectorInst()
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp675 Type *Int32Ty = Type::getInt32Ty(*Ctx); in getIncrementIndirectCounterFunc() local
678 Int32Ty->getPointerTo(), // uint32_t *predecessor in getIncrementIndirectCounterFunc()

12