| /freebsd-12.1/contrib/llvm/lib/FuzzMutate/ |
| H A D | OpDescriptor.cpp | 17 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()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StdLibraryFunctionsChecker.cpp | 482 QualType IntTy = ACtx.IntTy; in initFunctionSummaries() local 559 SUMMARY(isalnum, ARGUMENT_TYPES(IntTy), RETURN_TYPE(IntTy), in initFunctionSummaries() 590 SUMMARY(isalpha, ARGUMENT_TYPES(IntTy), RETURN_TYPE(IntTy), in initFunctionSummaries() 617 SUMMARY(isascii, ARGUMENT_TYPES(IntTy), RETURN_TYPE(IntTy), in initFunctionSummaries() 636 SUMMARY(isblank, ARGUMENT_TYPES(IntTy), RETURN_TYPE(IntTy), in initFunctionSummaries() 657 SUMMARY(iscntrl, ARGUMENT_TYPES(IntTy), RETURN_TYPE(IntTy), in initFunctionSummaries() 678 SUMMARY(isdigit, ARGUMENT_TYPES(IntTy), RETURN_TYPE(IntTy), in initFunctionSummaries() 697 SUMMARY(isgraph, ARGUMENT_TYPES(IntTy), RETURN_TYPE(IntTy), in initFunctionSummaries() 716 SUMMARY(islower, ARGUMENT_TYPES(IntTy), RETURN_TYPE(IntTy), in initFunctionSummaries() 751 SUMMARY(isprint, ARGUMENT_TYPES(IntTy), RETURN_TYPE(IntTy), in initFunctionSummaries() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGCUDANV.cpp | 36 llvm::IntegerType *IntTy, *SizeTy; member in __anon4ac00a180111::CGNVCUDARuntime 144 IntTy = CGM.IntTy; in CGNVCUDARuntime() 157 llvm::FunctionType::get(IntTy, Params, false), in getSetupArgumentFn() 260 VoidPtrPtrTy, CharPtrTy, CharPtrTy, CharPtrTy, IntTy, in makeRegisterGlobalsFn() 284 CharPtrTy, IntTy, IntTy, in makeRegisterGlobalsFn() 285 IntTy, IntTy}; in makeRegisterGlobalsFn() 301 llvm::ConstantInt::get(IntTy, VarSize), in makeRegisterGlobalsFn() 303 llvm::ConstantInt::get(IntTy, 0)}; in makeRegisterGlobalsFn() 350 llvm::StructType::get(IntTy, IntTy, VoidPtrTy, VoidPtrTy); in makeModuleCtorFunction() 438 Values.addInt(IntTy, FatMagic); in makeModuleCtorFunction() [all …]
|
| H A D | MicrosoftCXXABI.cpp | 471 CGM.IntTy, in getBaseClassDescriptorType() 472 CGM.IntTy, in getBaseClassDescriptorType() 473 CGM.IntTy, in getBaseClassDescriptorType() 474 CGM.IntTy, in getBaseClassDescriptorType() 475 CGM.IntTy, in getBaseClassDescriptorType() 490 CGM.IntTy, in getClassHierarchyDescriptorType() 491 CGM.IntTy, in getClassHierarchyDescriptorType() 492 CGM.IntTy, in getClassHierarchyDescriptorType() 506 CGM.IntTy, in getCompleteObjectLocatorType() 507 CGM.IntTy, in getCompleteObjectLocatorType() [all …]
|
| H A D | CGObjCMac.cpp | 1937 CGM.IntTy in GenerateConstantNSString() 5548 IntTy = CGM.IntTy; in ObjCCommonTypesHelper() 5556 IvarOffsetVarTy = IntTy; in ObjCCommonTypesHelper() 5609 "struct._prop_list_t", IntTy, IntTy, llvm::ArrayType::get(PropertyTy, 0)); in ObjCCommonTypesHelper() 5797 llvm::StructType::create("struct.__method_list_t", IntTy, IntTy, in ObjCNonFragileABITypesHelper() 5826 PropertyListPtrTy, IntTy, IntTy, Int8PtrPtrTy, Int8PtrTy, in ObjCNonFragileABITypesHelper() 5851 Int8PtrTy, Int8PtrTy, IntTy, IntTy); in ObjCNonFragileABITypesHelper() 5859 llvm::StructType::create("struct._ivar_list_t", IntTy, IntTy, in ObjCNonFragileABITypesHelper() 5880 "struct._class_ro_t", IntTy, IntTy, IntTy, Int8PtrTy, Int8PtrTy, in ObjCNonFragileABITypesHelper() 5919 PropertyListPtrTy, IntTy); in ObjCNonFragileABITypesHelper() [all …]
|
| H A D | CGObjCGNU.cpp | 152 llvm::IntegerType *IntTy; member in __anon0fc3211f0111::CGObjCGNU 285 Fields.addInt(IntTy, count); in PushPropertyListHeader() 1152 MethodList.addInt(IntTy, Methods.size()); in GenerateProtocolMethodList() 1727 ivarListBuilder.addInt(IntTy, ivar_count); in GenerateClass() 2030 IntTy = cast<llvm::IntegerType>( in CGObjCGNU() 2382 Fields.addInt(IntTy, Str.size()); in GenerateConstantString() 2890 MethodList.addInt(IntTy, Methods.size()); in GenerateProtocolMethodList() 3675 module.addInt(IntTy, 2); in ModuleInitFunction() 3679 module.addInt(IntTy, 1); in ModuleInitFunction() 3681 module.addInt(IntTy, 0); in ModuleInitFunction() [all …]
|
| H A D | CGBlocks.cpp | 463 elementTypes.push_back(CGM.IntTy); /* total size */ in initializeForBlockHeader() 464 elementTypes.push_back(CGM.IntTy); /* align */ in initializeForBlockHeader() 495 elementTypes.push_back(CGM.IntTy); in initializeForBlockHeader() 496 elementTypes.push_back(CGM.IntTy); in initializeForBlockHeader() 1237 {IntTy, IntTy, getOpenCLRuntime().getGenericVoidPointerType()}); in getGenericBlockLiteralType() 1254 IntTy, IntTy, VoidPtrTy, BlockDescPtrTy); in getGenericBlockLiteralType() 1421 fields.addInt(CGM.IntTy, flags.getBitMask()); in buildGlobalBlock() 1424 fields.addInt(CGM.IntTy, 0); in buildGlobalBlock() 1426 fields.addInt(CGM.IntTy, blockInfo.BlockSize.getQuantity()); in buildGlobalBlock() 1427 fields.addInt(CGM.IntTy, blockInfo.BlockAlign.getQuantity()); in buildGlobalBlock() [all …]
|
| H A D | CodeGenTypeCache.h | 43 llvm::IntegerType *IntTy; member
|
| H A D | CGAtomic.cpp | 1020 Args.add(RValue::get(Order), getContext().IntTy); in EmitAtomicExpr() 1166 getContext().IntTy); in EmitAtomicExpr() 1168 Args.add(RValue::get(Scope), getContext().IntTy); in EmitAtomicExpr() 1436 RValue::get(llvm::ConstantInt::get(CGF.IntTy, (int)llvm::toCABI(AO))), in EmitAtomicLoadLibcall() 1437 CGF.getContext().IntTy); in EmitAtomicLoadLibcall() 1635 llvm::ConstantInt::get(CGF.IntTy, (int)llvm::toCABI(Success))), in EmitAtomicCompareExchangeLibcall() 1636 CGF.getContext().IntTy); in EmitAtomicCompareExchangeLibcall() 1638 llvm::ConstantInt::get(CGF.IntTy, (int)llvm::toCABI(Failure))), in EmitAtomicCompareExchangeLibcall() 1639 CGF.getContext().IntTy); in EmitAtomicCompareExchangeLibcall() 1946 RValue::get(llvm::ConstantInt::get(IntTy, (int)llvm::toCABI(AO))), in EmitAtomicStore() [all …]
|
| H A D | CGGPUBuiltin.cpp | 90 return RValue::get(llvm::ConstantInt::get(IntTy, 0)); in EmitNVPTXDevicePrintfCallExpr()
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCBoolRetToInt.cpp | 94 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()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 2103 if (Ty != IntTy) { in extractInteger() 2117 if (Ty != IntTy) { in insertInteger() 2238 IntegerType *IntTy; member in llvm::sroa::AllocaSliceRewriter 2288 IntTy(IsIntegerPromotable in AllocaSliceRewriter() 2303 assert((!IntTy && !VecTy) || (IntTy && !VecTy) || (!IntTy && VecTy)); in AllocaSliceRewriter() 2334 if (VecTy || IntTy) in visit() 2737 if (!VecTy && !IntTy && in visitMemSetInst() 2780 } else if (IntTy) { in visitMemSetInst() 2796 assert(V->getType() == IntTy && in visitMemSetInst() 2866 !VecTy && !IntTy && in visitMemTransferInst() [all …]
|
| H A D | LoopStrengthReduce.cpp | 3146 Type *IntTy = SE.getEffectiveSCEVType(IVTy); in GenerateIVChain() local 3804 Type *IntTy = Base.getType(); in GenerateICmpZeroScales() local 3805 if (!IntTy) return; in GenerateICmpZeroScales() 3806 if (SE.getTypeSizeInBits(IntTy) > 64) return; in GenerateICmpZeroScales() 3828 if (!IntTy->isPointerTy() && in GenerateICmpZeroScales() 3840 if (!IntTy->isPointerTy() && in GenerateICmpZeroScales() 3879 if (!IntTy->isPointerTy() && in GenerateICmpZeroScales() 3894 Type *IntTy = Base.getType(); in GenerateScales() local 3895 if (!IntTy) return; in GenerateScales() 5061 Type *IntTy = SE.getEffectiveSCEVType(Ty); in Expand() local [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | BoundsChecking.cpp | 76 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()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 755 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()
|
| H A D | ScalarEvolutionExpander.cpp | 1034 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() 1320 Type *IntTy = SE.getEffectiveSCEVType(STy); in expandAddRecExprLiterally() local 1365 Type *ExpandTy = PostLoopScale ? IntTy : STy; in expandAddRecExprLiterally() 1411 StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in expandAddRecExprLiterally() 1440 Result = InsertNoopCastOfTo(Result, IntTy); in expandAddRecExprLiterally() 1442 expandCodeFor(PostLoopScale, IntTy)); in expandAddRecExprLiterally() 1453 Result = expandAddToGEP(PostLoopOffset, PTy, IntTy, Result); in expandAddRecExprLiterally() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | PrintfFormatString.cpp | 472 return Ctx.IntTy; in getScalarArgType() 478 return Ctx.IntTy; in getScalarArgType() 490 return Ctx.IntTy; in getScalarArgType() 492 return ArgType(Ctx.IntTy, "__int32"); in getScalarArgType() 508 : ArgType(Ctx.IntTy, "__int32"); in getScalarArgType() 561 return ArgType::PtrTo(Ctx.IntTy); in getScalarArgType() 613 return Ctx.IntTy; in getScalarArgType()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | DataLayout.cpp | 759 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits); in getIntPtrType() local 761 return VectorType::get(IntTy, VecTy->getNumElements()); in getIntPtrType() 762 return IntTy; in getIntPtrType() 781 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits); in getIndexType() local 783 return VectorType::get(IntTy, VecTy->getNumElements()); in getIndexType() 784 return IntTy; in getIndexType()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | MachineFunction.cpp | 981 Type *IntTy = IntegerType::get(A->getContext(), StoreSize*8); in CanShareConstantPoolEntry() local 989 const_cast<Constant *>(A), IntTy, DL); in CanShareConstantPoolEntry() 990 else if (A->getType() != IntTy) in CanShareConstantPoolEntry() 992 IntTy, DL); in CanShareConstantPoolEntry() 995 const_cast<Constant *>(B), IntTy, DL); in CanShareConstantPoolEntry() 996 else if (B->getType() != IntTy) in CanShareConstantPoolEntry() 998 IntTy, DL); in CanShareConstantPoolEntry()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Object/ |
| H A D | COFF.h | 189 template <typename IntTy> 191 IntTy Data; 566 template <typename IntTy> 568 IntTy StartAddressOfRawData; 569 IntTy EndAddressOfRawData; 570 IntTy AddressOfIndex; 571 IntTy AddressOfCallBacks;
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | ValueTypes.h | 104 MVT IntTy = MVT::getIntegerVT(BitWidth); in changeVectorElementTypeToInteger() local 105 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements(), in changeVectorElementTypeToInteger()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | ScalarEvolutionExpander.h | 385 Type *IntTy, 389 Type *ExpandTy, Type *IntTy, bool useSubtract);
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | SIMCCodeEmitter.cpp | 92 template <typename IntTy> 93 static uint32_t getIntInlineImmEncoding(IntTy Imm) { in getIntInlineImmEncoding()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | OSLog.h | 92 Size(Ctx.getTypeSizeInChars(Ctx.IntTy)), Flags(flags) {} in OSLogBufferItem()
|
| /freebsd-12.1/contrib/llvm/tools/opt/ |
| H A D | Debugify.cpp | 152 auto *IntTy = Type::getInt32Ty(Ctx); in applyDebugifyMetadata() local 155 Ctx, ValueAsMetadata::getConstant(ConstantInt::get(IntTy, N)))); in applyDebugifyMetadata()
|