Home
last modified time | relevance | path

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

1234

/external/clang/lib/CodeGen/
DCGCUDANV.cpp32 llvm::Type *IntTy, *SizeTy, *VoidTy; member in __anond5e564b00111::CGNVCUDARuntime
85 IntTy = Types.ConvertType(Ctx.IntTy); in CGNVCUDARuntime()
100 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(IntTy, in getSetupArgumentFn()
108 llvm::FunctionType::get(IntTy, CharPtrTy, false), "cudaLaunch"); in getLaunchFn()
146 llvm::Constant *Zero = llvm::ConstantInt::get(IntTy, 0); in emitDeviceStubBody()
182 VoidPtrPtrTy, CharPtrTy, CharPtrTy, CharPtrTy, IntTy, in makeRegisterKernelsFn()
183 VoidPtrTy, VoidPtrTy, VoidPtrTy, VoidPtrTy, IntTy->getPointerTo()}; in makeRegisterKernelsFn()
185 llvm::FunctionType::get(IntTy, RegisterFuncParams, false), in makeRegisterKernelsFn()
197 KernelName, KernelName, llvm::ConstantInt::get(IntTy, -1), NullPtr, in makeRegisterKernelsFn()
199 llvm::ConstantPointerNull::get(IntTy->getPointerTo())}; in makeRegisterKernelsFn()
[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 …]
DCGObjCGNU.cpp136 llvm::IntegerType *IntTy; member in __anonff93ceb70111::CGObjCGNU
710 PtrTy, PtrTy, IntTy, IMPTy, nullptr); in CGObjCGNUstep()
908 IntTy = cast<llvm::IntegerType>( in CGObjCGNU()
909 Types.ConvertType(CGM.getContext().IntTy)); in CGObjCGNU()
933 PtrToIntTy = llvm::PointerType::getUnqual(IntTy); in CGObjCGNU()
962 SyncEnterFn.init(&CGM, "objc_sync_enter", IntTy, IdTy, nullptr); in CGObjCGNU()
964 SyncExitFn.init(&CGM, "objc_sync_exit", IntTy, IdTy, nullptr); in CGObjCGNU()
1166 llvm::Constant *Two = llvm::ConstantInt::get(IntTy, 2); in GetEHType()
1214 Ivars.push_back(llvm::ConstantInt::get(IntTy, Str.size())); in GenerateConstantString()
1216 llvm::StructType::get(PtrToIdTy, PtrToInt8Ty, IntTy, nullptr), in GenerateConstantString()
[all …]
DCGObjCMac.cpp175 llvm::Type *ShortTy, *IntTy, *LongTy, *LongLongTy; member in __anonfac0963e0111::ObjCCommonTypesHelper
443 llvm::FunctionType::get(CGM.IntTy, args, false); in getSyncEnterFn()
452 llvm::FunctionType::get(CGM.IntTy, args, false); in getSyncExitFn()
2811 llvm::ConstantInt::get(ObjCTypes.IntTy, Size), in EmitProtocolExtension()
2949 Values[0] = llvm::ConstantInt::get(ObjCTypes.IntTy, PropertySize); in EmitPropertyList()
2950 Values[1] = llvm::ConstantInt::get(ObjCTypes.IntTy, Properties.size()); in EmitPropertyList()
3011 Values[0] = llvm::ConstantInt::get(ObjCTypes.IntTy, Methods.size()); in EmitMethodDescList()
3075 Values[5] = llvm::ConstantInt::get(ObjCTypes.IntTy, Size); in GenerateCategory()
3421 Values[0] = llvm::ConstantInt::get(ObjCTypes.IntTy, Size); in EmitClassExtension()
3472 llvm::ConstantInt::get(ObjCTypes.IntTy, in EmitIvarList()
[all …]
DCodeGenTypeCache.h42 llvm::IntegerType *IntTy; member
DCGAtomic.cpp879 Args.add(RValue::get(Order), getContext().IntTy); in EmitAtomicExpr()
996 getContext().IntTy); in EmitAtomicExpr()
1261 llvm::ConstantInt::get(CGF.IntTy, translateAtomicOrdering(AO))), in EmitAtomicLoadLibcall()
1262 CGF.getContext().IntTy); in EmitAtomicLoadLibcall()
1466 CGF.IntTy, translateAtomicOrdering(Success))), in EmitAtomicCompareExchangeLibcall()
1467 CGF.getContext().IntTy); in EmitAtomicCompareExchangeLibcall()
1469 CGF.IntTy, translateAtomicOrdering(Failure))), in EmitAtomicCompareExchangeLibcall()
1470 CGF.getContext().IntTy); in EmitAtomicCompareExchangeLibcall()
1776 IntTy, AtomicInfo::translateAtomicOrdering(AO))), in EmitAtomicStore()
1777 getContext().IntTy); in EmitAtomicStore()
DCGBlocks.cpp306 elementTypes.push_back(CGM.IntTy); in initializeForBlockHeader()
307 elementTypes.push_back(CGM.IntTy); in initializeForBlockHeader()
742 addHeaderField(llvm::ConstantInt::get(IntTy, flags.getBitMask()), in EmitBlockLiteral()
744 addHeaderField(llvm::ConstantInt::get(IntTy, 0), in EmitBlockLiteral()
946 VoidPtrTy, IntTy, IntTy, VoidPtrTy, in getGenericBlockLiteralType()
1070 fields[1] = llvm::ConstantInt::get(CGM.IntTy, flags.getBitMask()); in buildGlobalBlock()
1073 fields[2] = llvm::Constant::getNullValue(CGM.IntTy); in buildGlobalBlock()
2230 storeHeaderField(llvm::ConstantInt::get(IntTy, flags.getBitMask()), in emitByrefStructureInit()
2234 V = llvm::ConstantInt::get(IntTy, byrefSize.getQuantity()); in emitByrefStructureInit()
/external/llvm/unittests/IR/
DConstantsTest.cpp303 Type *IntTy = Type::getInt8Ty(Context); in TEST() local
304 ArrayType *ArrayTy = ArrayType::get(IntTy, 2); in TEST()
305 Constant *A01Vals[2] = {ConstantInt::get(IntTy, 0), in TEST()
306 ConstantInt::get(IntTy, 1)}; in TEST()
309 Constant *Global = new GlobalVariable(*M, IntTy, false, in TEST()
311 Constant *GlobalInt = ConstantExpr::getPtrToInt(Global, IntTy); in TEST()
312 Constant *A0GVals[2] = {ConstantInt::get(IntTy, 0), GlobalInt}; in TEST()
320 GlobalInt->replaceAllUsesWith(ConstantInt::get(IntTy, 1)); in TEST()
328 Type *IntTy = Type::getInt8Ty(Context); in TEST() local
329 Constant *G1 = new GlobalVariable(*M, IntTy, false, in TEST()
[all …]
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2000 Type *IntTy = Type::getIntNTy(AllocaTy->getContext(), SizeInBits); in isIntegerWideningViable() local
2001 if (!canConvertValue(DL, AllocaTy, IntTy) || in isIntegerWideningViable()
2002 !canConvertValue(DL, IntTy, AllocaTy)) in isIntegerWideningViable()
2032 IntegerType *IntTy = cast<IntegerType>(V->getType()); in extractInteger() local
2033 assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) && in extractInteger()
2037 ShAmt = 8 * (DL.getTypeStoreSize(IntTy) - DL.getTypeStoreSize(Ty) - Offset); in extractInteger()
2042 assert(Ty->getBitWidth() <= IntTy->getBitWidth() && in extractInteger()
2044 if (Ty != IntTy) { in extractInteger()
2053 IntegerType *IntTy = cast<IntegerType>(Old->getType()); in insertInteger() local
2055 assert(Ty->getBitWidth() <= IntTy->getBitWidth() && in insertInteger()
[all …]
DLoopStrengthReduce.cpp2883 Type *IntTy = SE.getEffectiveSCEVType(IVTy); in GenerateIVChain() local
2896 const SCEV *IncExpr = SE.getNoopOrSignExtend(Inc.IncExpr, IntTy); in GenerateIVChain()
2903 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain()
3466 Type *IntTy = Base.getType(); in GenerateICmpZeroScales() local
3467 if (!IntTy) return; in GenerateICmpZeroScales()
3468 if (SE.getTypeSizeInBits(IntTy) > 64) return; in GenerateICmpZeroScales()
3484 if (!IntTy->isPointerTy() && in GenerateICmpZeroScales()
3485 !ConstantInt::isValueValidForType(IntTy, NewBaseOffset)) in GenerateICmpZeroScales()
3496 if (!IntTy->isPointerTy() && in GenerateICmpZeroScales()
3497 !ConstantInt::isValueValidForType(IntTy, Offset)) in GenerateICmpZeroScales()
[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.cpp395 return Ctx.IntTy; in getArgType()
401 return Ctx.IntTy; in getArgType()
412 return Ctx.IntTy; in getArgType()
414 return ArgType(Ctx.IntTy, "__int32"); in getArgType()
431 : ArgType(Ctx.IntTy, "__int32"); in getArgType()
484 return ArgType::PtrTo(Ctx.IntTy); in getArgType()
536 return Ctx.IntTy; in getArgType()
DBodyFarm.cpp212 IntegerLiteral::Create(C, llvm::APInt(C.getTypeSize(C.IntTy), (uint64_t) 1), in create_dispatch_once()
213 C.IntTy, SourceLocation()); in create_dispatch_once()
237 UnaryOperator *UO = new (C) UnaryOperator(LValToRval, UO_LNot, C.IntTy, in create_dispatch_once()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp602 IntTy = cast<IntegerType>(DL.getIntPtrType(V->getType())); in compute()
603 Zero = ConstantInt::get(IntTy, 0); in compute()
699 FirstArg = Builder.CreateZExt(FirstArg, IntTy); in visitCallSite()
704 SecondArg = Builder.CreateZExt(SecondArg, IntTy); in visitCallSite()
749 PHINode *SizePHI = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues()); in visitPHINode()
750 PHINode *OffsetPHI = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues()); in visitPHINode()
761 OffsetPHI->replaceAllUsesWith(UndefValue::get(IntTy)); in visitPHINode()
763 SizePHI->replaceAllUsesWith(UndefValue::get(IntTy)); in visitPHINode()
DScalarEvolutionExpander.cpp964 Type *ExpandTy, Type *IntTy, in expandIVInc() argument
976 IncV = expandAddToGEP(StepArray, StepArray+1, GEPPtrTy, IntTy, PN); in expandIVInc()
1073 Type *IntTy, in getAddRecExprPHILiterally() argument
1190 Value *StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in getAddRecExprPHILiterally()
1222 Value *IncV = expandIVInc(PN, StepV, L, ExpandTy, IntTy, useSubtract); in getAddRecExprPHILiterally()
1245 Type *IntTy = SE.getEffectiveSCEVType(STy); in expandAddRecExprLiterally() local
1284 Type *ExpandTy = PostLoopScale ? IntTy : STy; in expandAddRecExprLiterally()
1289 PHINode *PN = getAddRecExprPHILiterally(Normalized, L, ExpandTy, IntTy, in expandAddRecExprLiterally()
1325 StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in expandAddRecExprLiterally()
1327 Result = expandIVInc(PN, StepV, L, ExpandTy, IntTy, useSubtract); in expandAddRecExprLiterally()
[all …]
/external/llvm/include/llvm/ADT/
DStringExtras.h55 template<typename IntTy>
56 static inline char *utohex_buffer(IntTy X, char *BufferEnd, bool LowerCase = false) {
/external/llvm/lib/CodeGen/
DMachineFunction.cpp883 Type *IntTy = IntegerType::get(A->getContext(), StoreSize*8); in CanShareConstantPoolEntry() local
890 A = ConstantFoldInstOperands(Instruction::PtrToInt, IntTy, in CanShareConstantPoolEntry()
892 else if (A->getType() != IntTy) in CanShareConstantPoolEntry()
893 A = ConstantFoldInstOperands(Instruction::BitCast, IntTy, in CanShareConstantPoolEntry()
896 B = ConstantFoldInstOperands(Instruction::PtrToInt, IntTy, in CanShareConstantPoolEntry()
898 else if (B->getType() != IntTy) in CanShareConstantPoolEntry()
899 B = ConstantFoldInstOperands(Instruction::BitCast, IntTy, 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/llvm/include/llvm/Analysis/
DScalarEvolutionExpander.h304 Type *IntTy,
308 Type *ExpandTy, Type *IntTy, bool useSubtract);
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DSIMCCodeEmitter.cpp88 template <typename IntTy>
89 static uint32_t getIntInlineImmEncoding(IntTy Imm) { in getIntInlineImmEncoding()
/external/llvm/include/llvm/CodeGen/
DValueTypes.h85 MVT IntTy = MVT::getIntegerVT(BitWidth); in changeVectorElementTypeToInteger() local
86 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements()); in changeVectorElementTypeToInteger()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValBuilder.h68 ArrayIndexTy(context.IntTy), in SValBuilder()
127 return Context.getLangOpts().CPlusPlus ? Context.BoolTy : Context.IntTy; in getConditionType()
/external/llvm/lib/IR/
DDataLayout.cpp708 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits); in getIntPtrType() local
710 return VectorType::get(IntTy, VecTy->getNumElements()); in getIntPtrType()
711 return IntTy; in getIntPtrType()
DValueTypes.cpp29 EVT IntTy = getIntegerVT(Context, getVectorElementType().getSizeInBits()); in changeExtendedVectorElementTypeToInteger() local
30 return getVectorVT(Context, IntTy, getVectorNumElements()); in changeExtendedVectorElementTypeToInteger()

1234