Home
last modified time | relevance | path

Searched refs:IntTy (Results 1 – 25 of 124) sorted by relevance

12345

/external/clang/lib/CodeGen/
DCGCUDANV.cpp32 llvm::Type *IntTy, *SizeTy, *VoidTy; member in __anon30513f360111::CGNVCUDARuntime
90 IntTy = Types.ConvertType(Ctx.IntTy); in CGNVCUDARuntime()
102 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(IntTy, in getSetupArgumentFn()
110 llvm::FunctionType::get(IntTy, CharPtrTy, false), "cudaLaunch"); in getLaunchFn()
148 llvm::Constant *Zero = llvm::ConstantInt::get(IntTy, 0); in emitDeviceStubBody()
193 VoidPtrPtrTy, CharPtrTy, CharPtrTy, CharPtrTy, IntTy, in makeRegisterGlobalsFn()
194 VoidPtrTy, VoidPtrTy, VoidPtrTy, VoidPtrTy, IntTy->getPointerTo()}; in makeRegisterGlobalsFn()
196 llvm::FunctionType::get(IntTy, RegisterFuncParams, false), in makeRegisterGlobalsFn()
208 KernelName, KernelName, llvm::ConstantInt::get(IntTy, -1), NullPtr, in makeRegisterGlobalsFn()
210 llvm::ConstantPointerNull::get(IntTy->getPointerTo())}; in makeRegisterGlobalsFn()
[all …]
DMicrosoftCXXABI.cpp302 getContext().IntTy); in adjustCallArgsForDestructorThunk()
325 llvm::UndefValue::get(CGM.IntTy)); in getAddrOfVirtualDisplacementMap()
326 Map[0] = llvm::ConstantInt::get(CGM.IntTy, 0); in getAddrOfVirtualDisplacementMap()
335 Map[SrcVBIndex] = llvm::ConstantInt::get(CGM.IntTy, DstVBIndex * 4); in getAddrOfVirtualDisplacementMap()
342 llvm::ArrayType *VDispMapTy = llvm::ArrayType::get(CGM.IntTy, Map.size()); in getAddrOfVirtualDisplacementMap()
456 return CGM.IntTy; in getImageRelativeType()
464 CGM.IntTy, in getBaseClassDescriptorType()
465 CGM.IntTy, in getBaseClassDescriptorType()
466 CGM.IntTy, in getBaseClassDescriptorType()
467 CGM.IntTy, in getBaseClassDescriptorType()
[all …]
DCGObjCMac.cpp175 llvm::Type *ShortTy, *IntTy, *LongTy, *LongLongTy; member in __anona2a7c1840111::ObjCCommonTypesHelper
448 llvm::FunctionType::get(CGM.IntTy, args, false); in getSyncEnterFn()
457 llvm::FunctionType::get(CGM.IntTy, args, false); in getSyncExitFn()
2837 llvm::ConstantInt::get(ObjCTypes.IntTy, Size), in EmitProtocolExtension()
3000 Values[0] = llvm::ConstantInt::get(ObjCTypes.IntTy, PropertySize); in EmitPropertyList()
3001 Values[1] = llvm::ConstantInt::get(ObjCTypes.IntTy, Properties.size()); in EmitPropertyList()
3062 Values[0] = llvm::ConstantInt::get(ObjCTypes.IntTy, Methods.size()); in EmitMethodDescList()
3127 Values[5] = llvm::ConstantInt::get(ObjCTypes.IntTy, Size); in GenerateCategory()
3479 Values[0] = llvm::ConstantInt::get(ObjCTypes.IntTy, Size); in EmitClassExtension()
3538 llvm::ConstantInt::get(ObjCTypes.IntTy, in EmitIvarList()
[all …]
DCGObjCGNU.cpp134 llvm::IntegerType *IntTy; member in __anona77af9fd0111::CGObjCGNU
741 PtrTy, PtrTy, IntTy, IMPTy, nullptr); in CGObjCGNUstep()
941 IntTy = cast<llvm::IntegerType>( in CGObjCGNU()
942 Types.ConvertType(CGM.getContext().IntTy)); in CGObjCGNU()
966 PtrToIntTy = llvm::PointerType::getUnqual(IntTy); in CGObjCGNU()
995 SyncEnterFn.init(&CGM, "objc_sync_enter", IntTy, IdTy, nullptr); in CGObjCGNU()
997 SyncExitFn.init(&CGM, "objc_sync_exit", IntTy, IdTy, nullptr); in CGObjCGNU()
1199 llvm::Constant *Two = llvm::ConstantInt::get(IntTy, 2); in GetEHType()
1247 Ivars.push_back(llvm::ConstantInt::get(IntTy, Str.size())); in GenerateConstantString()
1249 llvm::StructType::get(PtrToIdTy, PtrToInt8Ty, IntTy, nullptr), in GenerateConstantString()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/
DOpDescriptor.cpp17 if (auto *IntTy = dyn_cast<IntegerType>(T)) { in makeConstantsWithType() local
18 uint64_t W = IntTy->getBitWidth(); in makeConstantsWithType()
19 Cs.push_back(ConstantInt::get(IntTy, APInt::getMaxValue(W))); in makeConstantsWithType()
20 Cs.push_back(ConstantInt::get(IntTy, APInt::getMinValue(W))); in makeConstantsWithType()
21 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType()
22 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMinValue(W))); in makeConstantsWithType()
23 Cs.push_back(ConstantInt::get(IntTy, APInt::getOneBitSet(W, W / 2))); in makeConstantsWithType()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantsTest.cpp329 Type *IntTy = Type::getInt8Ty(Context); in TEST() local
330 ArrayType *ArrayTy = ArrayType::get(IntTy, 2); in TEST()
331 Constant *A01Vals[2] = {ConstantInt::get(IntTy, 0), in TEST()
332 ConstantInt::get(IntTy, 1)}; in TEST()
335 Constant *Global = new GlobalVariable(*M, IntTy, false, in TEST()
337 Constant *GlobalInt = ConstantExpr::getPtrToInt(Global, IntTy); in TEST()
338 Constant *A0GVals[2] = {ConstantInt::get(IntTy, 0), GlobalInt}; in TEST()
346 GlobalInt->replaceAllUsesWith(ConstantInt::get(IntTy, 1)); in TEST()
354 Type *IntTy = Type::getInt8Ty(Context); in TEST() local
355 Constant *G1 = new GlobalVariable(*M, IntTy, false, in TEST()
[all …]
DCFGBuilder.cpp42 auto *IntTy = IntegerType::get(From->getContext(), 32); in ConnectBlocks() local
48 IRB.CreateSwitch(ConstantInt::get(IntTy, 0), To); in ConnectBlocks()
55 auto *IntVal = ConstantInt::get(IntTy, Last); in ConnectBlocks()
/external/llvm/unittests/IR/
DConstantsTest.cpp328 Type *IntTy = Type::getInt8Ty(Context); in TEST() local
329 ArrayType *ArrayTy = ArrayType::get(IntTy, 2); in TEST()
330 Constant *A01Vals[2] = {ConstantInt::get(IntTy, 0), in TEST()
331 ConstantInt::get(IntTy, 1)}; in TEST()
334 Constant *Global = new GlobalVariable(*M, IntTy, false, in TEST()
336 Constant *GlobalInt = ConstantExpr::getPtrToInt(Global, IntTy); in TEST()
337 Constant *A0GVals[2] = {ConstantInt::get(IntTy, 0), GlobalInt}; in TEST()
345 GlobalInt->replaceAllUsesWith(ConstantInt::get(IntTy, 1)); in TEST()
353 Type *IntTy = Type::getInt8Ty(Context); in TEST() local
354 Constant *G1 = new GlobalVariable(*M, IntTy, false, in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCBoolRetToInt.cpp94 Type *IntTy = ST->isPPC64() ? Type::getInt64Ty(V->getContext()) in translate() local
98 return ConstantExpr::getZExt(C, IntTy); in translate()
102 Value *Zero = Constant::getNullValue(IntTy); in translate()
104 PHINode::Create(IntTy, P->getNumIncomingValues(), P->getName(), P); in translate()
116 return new ZExtInst(V, IntTy, "", InstPt); in translate()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1984 Type *IntTy = Type::getIntNTy(AllocaTy->getContext(), SizeInBits); in isIntegerWideningViable() local
1985 if (!canConvertValue(DL, AllocaTy, IntTy) || in isIntegerWideningViable()
1986 !canConvertValue(DL, IntTy, AllocaTy)) in isIntegerWideningViable()
2016 IntegerType *IntTy = cast<IntegerType>(V->getType()); in extractInteger() local
2017 assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) && in extractInteger()
2021 ShAmt = 8 * (DL.getTypeStoreSize(IntTy) - DL.getTypeStoreSize(Ty) - Offset); in extractInteger()
2026 assert(Ty->getBitWidth() <= IntTy->getBitWidth() && in extractInteger()
2028 if (Ty != IntTy) { in extractInteger()
2037 IntegerType *IntTy = cast<IntegerType>(Old->getType()); in insertInteger() local
2039 assert(Ty->getBitWidth() <= IntTy->getBitWidth() && in insertInteger()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp2062 Type *IntTy = Type::getIntNTy(AllocaTy->getContext(), SizeInBits); in isIntegerWideningViable() local
2063 if (!canConvertValue(DL, AllocaTy, IntTy) || in isIntegerWideningViable()
2064 !canConvertValue(DL, IntTy, AllocaTy)) in isIntegerWideningViable()
2094 IntegerType *IntTy = cast<IntegerType>(V->getType()); in extractInteger() local
2095 assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) && in extractInteger()
2099 ShAmt = 8 * (DL.getTypeStoreSize(IntTy) - DL.getTypeStoreSize(Ty) - Offset); in extractInteger()
2104 assert(Ty->getBitWidth() <= IntTy->getBitWidth() && in extractInteger()
2106 if (Ty != IntTy) { in extractInteger()
2115 IntegerType *IntTy = cast<IntegerType>(Old->getType()); in insertInteger() local
2117 assert(Ty->getBitWidth() <= IntTy->getBitWidth() && in insertInteger()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp143 Type *IntTy = DL.getIntPtrType(Ptr->getType()); in instrument() local
144 Value *NeededSizeVal = ConstantInt::get(IntTy, NeededSize); in instrument()
158 Value *Cmp1 = Builder->CreateICmpSLT(Offset, ConstantInt::get(IntTy, 0)); in instrument()
/external/clang/lib/Analysis/
DPrintfFormatString.cpp400 return Ctx.IntTy; in getArgType()
406 return Ctx.IntTy; in getArgType()
417 return Ctx.IntTy; in getArgType()
419 return ArgType(Ctx.IntTy, "__int32"); in getArgType()
436 : ArgType(Ctx.IntTy, "__int32"); in getArgType()
489 return ArgType::PtrTo(Ctx.IntTy); in getArgType()
541 return Ctx.IntTy; in getArgType()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp654 IntTy = cast<IntegerType>(DL.getIntPtrType(V->getType())); in compute()
655 Zero = ConstantInt::get(IntTy, 0); in compute()
751 FirstArg = Builder.CreateZExt(FirstArg, IntTy); in visitCallSite()
756 SecondArg = Builder.CreateZExt(SecondArg, IntTy); in visitCallSite()
801 PHINode *SizePHI = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues()); in visitPHINode()
802 PHINode *OffsetPHI = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues()); in visitPHINode()
813 OffsetPHI->replaceAllUsesWith(UndefValue::get(IntTy)); in visitPHINode()
815 SizePHI->replaceAllUsesWith(UndefValue::get(IntTy)); in visitPHINode()
DScalarEvolutionExpander.cpp978 Type *ExpandTy, Type *IntTy, in expandIVInc() argument
990 IncV = expandAddToGEP(StepArray, StepArray+1, GEPPtrTy, IntTy, PN); in expandIVInc()
1088 Type *IntTy, in getAddRecExprPHILiterally() argument
1205 Value *StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in getAddRecExprPHILiterally()
1237 Value *IncV = expandIVInc(PN, StepV, L, ExpandTy, IntTy, useSubtract); in getAddRecExprPHILiterally()
1260 Type *IntTy = SE.getEffectiveSCEVType(STy); in expandAddRecExprLiterally() local
1306 Type *ExpandTy = PostLoopScale ? IntTy : STy; in expandAddRecExprLiterally()
1311 PHINode *PN = getAddRecExprPHILiterally(Normalized, L, ExpandTy, IntTy, in expandAddRecExprLiterally()
1347 StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in expandAddRecExprLiterally()
1349 Result = expandIVInc(PN, StepV, L, ExpandTy, IntTy, useSubtract); in expandAddRecExprLiterally()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp76 Type *IntTy = DL.getIntPtrType(Ptr->getType()); in getBoundsCheckCond() local
77 Value *NeededSizeVal = ConstantInt::get(IntTy, NeededSize); in getBoundsCheckCond()
102 Value *Cmp1 = IRB.CreateICmpSLT(Offset, ConstantInt::get(IntTy, 0)); in getBoundsCheckCond()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDataLayout.cpp751 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits); in getIntPtrType() local
753 return VectorType::get(IntTy, VecTy->getNumElements()); in getIntPtrType()
754 return IntTy; in getIntPtrType()
773 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits); in getIndexType() local
775 return VectorType::get(IntTy, VecTy->getNumElements()); in getIndexType()
776 return IntTy; in getIndexType()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemoryBuiltins.cpp755 IntTy = cast<IntegerType>(DL.getIntPtrType(V->getType())); in compute()
756 Zero = ConstantInt::get(IntTy, 0); in compute()
855 FirstArg = Builder.CreateZExt(FirstArg, IntTy); in visitCallSite()
860 SecondArg = Builder.CreateZExt(SecondArg, IntTy); in visitCallSite()
905 PHINode *SizePHI = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues()); in visitPHINode()
906 PHINode *OffsetPHI = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues()); in visitPHINode()
917 OffsetPHI->replaceAllUsesWith(UndefValue::get(IntTy)); in visitPHINode()
919 SizePHI->replaceAllUsesWith(UndefValue::get(IntTy)); in visitPHINode()
DScalarEvolutionExpander.cpp1034 Type *ExpandTy, Type *IntTy, in expandIVInc() argument
1045 IncV = expandAddToGEP(SE.getSCEV(StepV), GEPPtrTy, IntTy, PN); in expandIVInc()
1143 Type *IntTy, in getAddRecExprPHILiterally() argument
1265 Value *StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in getAddRecExprPHILiterally()
1297 Value *IncV = expandIVInc(PN, StepV, L, ExpandTy, IntTy, useSubtract); in getAddRecExprPHILiterally()
1320 Type *IntTy = SE.getEffectiveSCEVType(STy); in expandAddRecExprLiterally() local
1365 Type *ExpandTy = PostLoopScale ? IntTy : STy; in expandAddRecExprLiterally()
1376 IntTy, TruncTy, InvertStep); in expandAddRecExprLiterally()
1411 StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in expandAddRecExprLiterally()
1413 Result = expandIVInc(PN, StepV, L, ExpandTy, IntTy, useSubtract); in expandAddRecExprLiterally()
[all …]
/external/llvm/lib/CodeGen/
DMachineFunction.cpp928 Type *IntTy = IntegerType::get(A->getContext(), StoreSize*8); in CanShareConstantPoolEntry() local
936 const_cast<Constant *>(A), IntTy, DL); in CanShareConstantPoolEntry()
937 else if (A->getType() != IntTy) in CanShareConstantPoolEntry()
939 IntTy, DL); in CanShareConstantPoolEntry()
942 const_cast<Constant *>(B), IntTy, DL); in CanShareConstantPoolEntry()
943 else if (B->getType() != IntTy) in CanShareConstantPoolEntry()
945 IntTy, DL); in CanShareConstantPoolEntry()
/external/llvm/test/Verifier/
Dmdcompositetype-templateparams.ll12 !2 = !DICompositeType(tag: DW_TAG_structure_type, name: "IntTy", size: 32, align: 32, templateParam…
Dmdcompositetype-templateparams-tuple.ll11 !2 = !DICompositeType(tag: DW_TAG_structure_type, name: "IntTy", size: 32, align: 32, templateParam…
/external/swiftshader/third_party/llvm-7.0/llvm/test/Verifier/
Dmdcompositetype-templateparams.ll12 !2 = !DICompositeType(tag: DW_TAG_structure_type, name: "IntTy", size: 32, align: 32, templateParam…
Dmdcompositetype-templateparams-tuple.ll11 !2 = !DICompositeType(tag: DW_TAG_structure_type, name: "IntTy", size: 32, align: 32, templateParam…
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineFunction.cpp1015 Type *IntTy = IntegerType::get(A->getContext(), StoreSize*8); in CanShareConstantPoolEntry() local
1023 const_cast<Constant *>(A), IntTy, DL); in CanShareConstantPoolEntry()
1024 else if (A->getType() != IntTy) in CanShareConstantPoolEntry()
1026 IntTy, DL); in CanShareConstantPoolEntry()
1029 const_cast<Constant *>(B), IntTy, DL); in CanShareConstantPoolEntry()
1030 else if (B->getType() != IntTy) in CanShareConstantPoolEntry()
1032 IntTy, DL); in CanShareConstantPoolEntry()

12345