Searched refs:IntegerType (Results 26 - 50 of 168) sorted by relevance

1234567

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/CodeGen/
H A DConstantInitBuilder.h197 void addInt(llvm::IntegerType *intTy, uint64_t value,
225 void addRelativeOffset(llvm::IntegerType *type, llvm::Constant *target) {
233 void addTaggedRelativeOffset(llvm::IntegerType *type,
283 llvm::IntegerType *type, uint64_t value,
319 llvm::Constant *getRelativeOffset(llvm::IntegerType *offsetType,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1133 IntegerType *ITy = nullptr;
1151 if (IntegerType *UserITy = dyn_cast_or_null<IntegerType>(UserTy)) {
1713 if (isa<IntegerType>(OldTy) && isa<IntegerType>(NewTy)) {
1714 assert(cast<IntegerType>(OldTy)->getBitWidth() !=
1715 cast<IntegerType>(NewTy)->getBitWidth() &&
1765 assert(!(isa<IntegerType>(OldTy) && isa<IntegerType>(NewTy)) &&
2030 if (IntegerType *IT
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp652 Result += "i" + utostr(cast<IntegerType>(Ty)->getBitWidth());
984 return IntegerType::get(Context, D.Integer_Width);
1003 return IntegerType::get(Context, 2 * cast<IntegerType>(Ty)->getBitWidth());
1010 IntegerType *ITy = cast<IntegerType>(Ty);
1012 return IntegerType::get(Context, ITy->getBitWidth() / 2);
1222 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy))
1223 NewTy = IntegerType
[all...]
H A DMDBuilder.cpp87 Type *Ty = IntegerType::get(Context, Lo.getBitWidth());
239 IntegerType *Int64 = Type::getInt64Ty(Context);
267 IntegerType *Int64 = Type::getInt64Ty(Context);
H A DDataLayout.cpp769 IntegerType *DataLayout::getIntPtrType(LLVMContext &C,
771 return IntegerType::get(C, getPointerSizeInBits(AddressSpace));
778 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits);
800 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits);
H A DConstants.cpp373 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty))
405 assert(isa<IntegerType>(Elt->getType()) && "Index must be an integer");
655 ConstantInt::ConstantInt(IntegerType *Ty, const APInt &V)
697 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth());
700 assert(Slot->getType() == IntegerType::get(Context, V.getBitWidth()));
705 Constant *C = get(cast<IntegerType>(Ty->getScalarType()), V, isSigned);
714 ConstantInt *ConstantInt::get(IntegerType *Ty, uint64_t V, bool isSigned) {
718 ConstantInt *ConstantInt::getSigned(IntegerType *T
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h45 class IntegerType;
88 ConstantInt(IntegerType *Ty, const APInt& V);
110 static ConstantInt *get(IntegerType *Ty, uint64_t V,
118 static ConstantInt *getSigned(IntegerType *Ty, int64_t V);
127 static ConstantInt *get(IntegerType *Ty, StringRef Str,
168 /// getType - Specialize the getType() method to always return an IntegerType,
171 inline IntegerType *getType() const {
172 return cast<IntegerType>(Value::getType());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp330 ConstantInt *VF = ConstantInt::get(cast<IntegerType>(TripCount->getType()),
465 Type *Ty = IntegerType::get(M->getContext(), 32);
474 ConstantInt::get(cast<IntegerType>(Ty), VecTy->getNumElements());
/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp580 const ScalarType *IntegerType;
582 IntLiteralResult(const ScalarType *IntegerType, uint32_t IntegerValue)
583 : IntegerType(IntegerType), IntegerValue(IntegerValue) {}
587 << ParamAlloc.allocParam("llvm::Type *", IntegerType->llvmName())
589 OS << ParamAlloc.allocParam(IntegerType->cName(), utostr(IntegerValue))
601 const ScalarType *IntegerType;
603 IntCastResult(const ScalarType *IntegerType, Ptr V)
604 : IntegerType(IntegerType),
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DOrcMCJITReplacement.cpp90 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.h446 llvm::IntegerType
H A DIRDynamicChecks.cpp286 IntegerType *GetIntptrTy() {
307 IntegerType *m_intptr_ty;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp115 IntegerType *WordType = DL.getIntPtrType(C);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp77 switch (cast<IntegerType>(Ty)->getBitWidth()) {
127 switch (cast<IntegerType>(Ty)->getBitWidth()) {
147 switch (cast<IntegerType>(Ty)->getBitWidth()) {
238 switch (cast<IntegerType>(RetTy)->getBitWidth()) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp74 IntegerType *Int32Ty = Type::getInt32Ty(GV.getContext());
H A DWholeProgramDevirt.cpp425 auto *CI = dyn_cast<IntegerType>(CS.getType());
452 IntegerType *Int8Ty;
454 IntegerType *Int32Ty;
455 IntegerType *Int64Ty;
456 IntegerType *IntPtrTy;
545 StringRef Name, IntegerType *IntTy,
1190 auto *ArgTy = dyn_cast<IntegerType>(
1211 ConstantInt::get(cast<IntegerType>(Call.CS.getType()), TheRetVal));
1284 StringRef Name, IntegerType *IntTy,
1384 auto *RetType = cast<IntegerType>(Cal
[all...]
H A DLowerTypeTests.cpp390 IntegerType *Int1Ty = Type::getInt1Ty(M.getContext());
391 IntegerType *Int8Ty = Type::getInt8Ty(M.getContext());
394 IntegerType *Int32Ty = Type::getInt32Ty(M.getContext());
396 IntegerType *Int64Ty = Type::getInt64Ty(M.getContext());
397 IntegerType *IntPtrTy = M.getDataLayout().getIntPtrType(M.getContext(), 0);
579 auto BitsType = cast<IntegerType>(Bits->getType());
977 ConstantInt::get(isa<IntegerType>(Ty) ? Ty : Int64Ty, Const);
978 if (!isa<IntegerType>(Ty))
985 if (isa<IntegerType>(Ty))
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h43 class IntegerType;
295 IntegerType *IntTy;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp145 IntegerType *ElemIType = cast<IntegerType>(ElemType);
487 IntegerType *Int32Ty = Type::getInt32Ty(ArgType->getContext());
H A DAMDGPULowerKernelArguments.cpp206 IntegerType *ArgIntTy = Builder.getIntNTy(Size);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionExpander.cpp1128 if (!isa<IntegerType>(AR->getType()))
1131 unsigned BitWidth = cast<IntegerType>(AR->getType())->getBitWidth();
1132 Type *WideTy = IntegerType::get(AR->getType()->getContext(), BitWidth * 2);
1142 if (!isa<IntegerType>(AR->getType()))
1145 unsigned BitWidth = cast<IntegerType>(AR->getType())->getBitWidth();
1146 Type *WideTy = IntegerType::get(AR->getType()->getContext(), BitWidth * 2);
2170 unsigned Width = cast<IntegerType>(UDivExpr->getType())->getBitWidth();
2261 IntegerType *CountTy = IntegerType::get(Loc->getContext(), SrcBits);
2265 IntegerType *T
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp94 return llvm::IntegerType::get(getLLVMContext(),
465 ResultType = llvm::IntegerType::get(getLLVMContext(),
498 ResultType = llvm::IntegerType::get(getLLVMContext(), 128);
527 ResultType = llvm::IntegerType::get(getLLVMContext(), 32);
H A DTargetInfo.cpp121 } else if (auto intTy = dyn_cast<llvm::IntegerType>(type)) {
1237 llvm::Type *CoerceTy = llvm::IntegerType::get(CGF.getLLVMContext(), RetWidth);
1422 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(),
1463 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(),Size));
1724 llvm::IntegerType *Int32 = llvm::Type::getInt32Ty(LLVMContext);
1736 llvm::IntegerType *PaddingType = NeedsPadding ? Int32 : nullptr;
1759 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(),
1764 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), 64));
2984 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(),
3199 cast<llvm::IntegerType>(IRTyp
[all...]
H A DCGExprScalar.cpp871 if (isa<llvm::IntegerType>(Src->getType()))
882 if (!isa<llvm::IntegerType>(DstTy))
959 assert(isa<llvm::IntegerType>(SrcTy) && isa<llvm::IntegerType>(DstTy) &&
1049 assert(isa<llvm::IntegerType>(SrcTy) && isa<llvm::IntegerType>(DstTy) &&
1291 assert(isa<llvm::IntegerType>(DstTy) && "not ptr->int?");
1374 if (isa<llvm::IntegerType>(SrcTy)) {
1379 if (isa<llvm::IntegerType>(DstTy))
1385 } else if (isa<llvm::IntegerType>(DstT
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp2575 auto *ITy = cast<IntegerType>(NewTy);
2701 auto BitWidth = cast<IntegerType>(V->getType())->getBitWidth();
2801 cast<IntegerType>(cast<ZExtInst>(I)->getSrcTy())->getBitWidth();
2841 IntegerType *ITy = dyn_cast<IntegerType>(I->getType());
2847 IntegerType *DemandedTy = ITy;
2850 DemandedTy = cast<IntegerType>(Trunc->getType());
2883 IntegerType *ProviderTy = cast<IntegerType>(Provider->getType());

Completed in 708 milliseconds

1234567