/llvm-project/llvm/lib/Target/WebAssembly/Utils/ |
H A D | WebAssemblyTypeUtilities.h | 30 inline bool isWebAssemblyExternrefType(const Type *Ty) { in isWebAssemblyExternrefType() 37 inline bool isWebAssemblyFuncrefType(const Type *Ty) { in isWebAssemblyFuncrefType() 44 inline bool isWebAssemblyReferenceType(const Type *Ty) { in isWebAssemblyReferenceType() 49 inline bool isWebAssemblyTableType(const Type *Ty) { in isWebAssemblyTableType()
|
/llvm-project/llvm/lib/CodeGen/ |
H A D | LowLevelTypeUtils.cpp | 20 LLT llvm::getLLTForType(Type &Ty, const DataLayout &DL) { in getLLTForType() argument 48 MVT llvm::getMVTForLLT(LLT Ty) { in getMVTForLLT() argument 57 getApproximateEVTForLLT(LLT Ty,const DataLayout & DL,LLVMContext & Ctx) getApproximateEVTForLLT() argument 67 getLLTForMVT(MVT Ty) getLLTForMVT() argument 75 getFltSemanticForLLT(LLT Ty) getFltSemanticForLLT() argument [all...] |
/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMRegisterBankInfo.cpp | 235 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); getInstrMapping() local 280 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); getInstrMapping() local 293 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); getInstrMapping() local 300 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); getInstrMapping() local 360 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); getInstrMapping() local 374 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); getInstrMapping() local 398 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); getInstrMapping() local 420 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); getInstrMapping() local 435 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); getInstrMapping() local [all...] |
/llvm-project/clang/test/Misc/ |
H A D | integer-literal-printing.cpp | 15 template <> struct Type3Helper<boolTy::b> { typedef boolTy Ty; }; typedef 24 template <> struct Type4Helper<charTy::c> { typedef charTy Ty; }; typedef 32 template <> struct Type5Helper<scharTy::c> { typedef scharTy Ty; }; typedef 40 template <> struct Type6Helper<ucharTy::c> { typedef ucharTy Ty; }; typedef 48 template <> struct Type7Helper<wcharTy::c> { typedef wcharTy Ty; }; typedef 56 template <> struct Type8Helper<char16Ty::c> { typedef char16Ty Ty; }; typedef 64 template <> struct Type9Helper<char32Ty::c> { typedef char32Ty Ty; }; typedef
|
/llvm-project/llvm/lib/Target/RISCV/GISel/ |
H A D | RISCVRegisterBankInfo.cpp | 304 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); getInstrMapping() local 357 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); getInstrMapping() local 380 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); getInstrMapping() local 396 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); getInstrMapping() local 465 LLT Ty = MRI.getType(MI.getOperand(1).getReg()); getInstrMapping() local 472 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); getInstrMapping() local 478 LLT Ty = MRI.getType(MI.getOperand(2).getReg()); getInstrMapping() local 488 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); getInstrMapping() local 499 LLT Ty = MRI.getType(MI.getOperand(2).getReg()); getInstrMapping() local 514 LLT Ty = MRI.getType(MO.getReg()); getInstrMapping() local [all...] |
/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYConstantPoolValue.cpp | 27 CSKYConstantPoolValue::CSKYConstantPoolValue(Type *Ty, CSKYCP::CSKYCPKind Kind, in CSKYConstantPoolValue() 80 const Constant *C, Type *Ty, CSKYCP::CSKYCPKind Kind, unsigned PCAdjust, in CSKYConstantPoolConstant() 94 const Constant *C, Type *Ty, CSKYCP::CSKYCPKind Kind, unsigned PCAdjust, in Create() 134 CSKYConstantPoolSymbol::CSKYConstantPoolSymbol(Type *Ty, const char *S, in CSKYConstantPoolSymbol() 143 CSKYConstantPoolSymbol::Create(Type *Ty, const char *S, unsigned PCAdjust, in Create() 168 CSKYConstantPoolMBB::CSKYConstantPoolMBB(Type *Ty, const MachineBasicBlock *Mbb, in CSKYConstantPoolMBB() 176 CSKYConstantPoolMBB *CSKYConstantPoolMBB::Create(Type *Ty, in Create() 201 CSKYConstantPoolJT::CSKYConstantPoolJT(Type *Ty, int JTIndex, unsigned PCAdj, in CSKYConstantPoolJT() 209 CSKYConstantPoolJT::Create(Type *Ty, int JTI, unsigned PCAdj, in Create()
|
/llvm-project/polly/lib/CodeGen/ |
H A D | RuntimeDebugBuilder.cpp | 36 FunctionType *Ty = FunctionType::get( in getVPrintF() local 49 bool RuntimeDebugBuilder::isPrintable(Type *Ty) { in isPrintable() argument 68 Type *Ty = Val->getType(); in prepareValuesForPrinting() local 124 FunctionType *Ty = FunctionType::get(Builder.getInt32Ty(), true); getPrintF() local 149 FunctionType *Ty = createFlush() local [all...] |
H A D | LoopGeneratorsGOMP.cpp | 40 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, false); createCallSpawnThreads() local 183 FunctionType *Ty = FunctionType::get(Builder.getInt8Ty(), Params, false); createCallGetWorkItem() local 204 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), false); createCallJoinThreads() local 221 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), false); createCallCleanupThread() local
|
/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Execution.cpp | 49 static void executeFNegInst(GenericValue &Dest, GenericValue Src, Type *Ty) { in executeFNegInst() 64 Type *Ty = I.getOperand(0)->getType(); in visitUnaryOperator() local 109 GenericValue Src2, Type *Ty) { in executeFAddInst() 120 GenericValue Src2, Type *Ty) { in executeFSubInst() 131 GenericValue Src2, Type *Ty) { in executeFMulInst() 142 GenericValue Src2, Type *Ty) { in executeFDivInst() 153 GenericValue Src2, Type *Ty) { in executeFRemInst() 193 Type *Ty) { in executeICMP_EQ() 207 Type *Ty) { in executeICMP_NE() 221 Type *Ty) { in executeICMP_ULT() [all …]
|
/llvm-project/llvm/lib/Target/ |
H A D | Target.cpp | 97 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMSizeOfTypeInBits() 101 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMStoreSizeOfType() 105 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMABISizeOfType() 109 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMABIAlignmentOfType() 113 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMCallFrameAlignmentOfType() 117 unsigned LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMPreferredAlignmentOfType()
|
/llvm-project/llvm/lib/IR/ |
H A D | Constants.cpp | 370 getNullValue(Type * Ty) getNullValue() argument 400 getIntegerValue(Type * Ty,const APInt & V) getIntegerValue() argument 417 getAllOnesValue(Type * Ty) getAllOnesValue() argument 770 Type *Ty = C->getType(); replaceUndefsWith() local 797 Type *Ty = C->getType(); mergeUndefsWith() local 843 ConstantInt(Type * Ty,const APInt & V) ConstantInt() argument 868 getTrue(Type * Ty) getTrue() argument 876 getFalse(Type * Ty) getFalse() argument 884 getBool(Type * Ty,bool V) getBool() argument 925 get(Type * Ty,uint64_t V,bool isSigned) get() argument 935 get(IntegerType * Ty,uint64_t V,bool isSigned) get() argument 939 get(Type * Ty,const APInt & V) get() argument 951 get(IntegerType * Ty,StringRef Str,uint8_t radix) get() argument 964 get(Type * Ty,double V) get() argument 980 get(Type * Ty,const APFloat & V) get() argument 992 get(Type * Ty,StringRef Str) get() argument 1005 getNaN(Type * Ty,bool Negative,uint64_t Payload) getNaN() argument 1016 getQNaN(Type * Ty,bool Negative,APInt * Payload) getQNaN() argument 1027 getSNaN(Type * Ty,bool Negative,APInt * Payload) getSNaN() argument 1038 getZero(Type * Ty,bool Negative) getZero() argument 1057 Type *Ty = Type::getFloatingPointTy(Context, V.getSemantics()); get() local 1084 getInfinity(Type * Ty,bool Negative) getInfinity() argument 1094 ConstantFP(Type * Ty,const APFloat & V) ConstantFP() argument 1136 Type *Ty = getType(); getElementCount() local 1171 Type *Ty = getType(); getNumElements() local 1292 get(ArrayType * Ty,ArrayRef<Constant * > V) get() argument 1298 getImpl(ArrayType * Ty,ArrayRef<Constant * > V) getImpl() argument 1402 auto *Ty = FixedVectorType::get(V.front()->getType(), V.size()); get() local 1525 getWithOperands(ArrayRef<Constant * > Ops,Type * Ty,bool OnlyIfReduced,Type * SrcTy) const getWithOperands() argument 1575 isValueValidForType(Type * Ty,uint64_t Val) isValueValidForType() argument 1582 isValueValidForType(Type * Ty,int64_t Val) isValueValidForType() argument 1589 isValueValidForType(Type * Ty,const APFloat & Val) isValueValidForType() argument 1650 get(Type * Ty) get() argument 1800 get(PointerType * Ty) get() argument 1817 get(TargetExtType * Ty) get() argument 1833 get(Type * Ty) get() argument 1852 get(Type * Ty) get() argument 2166 getFoldedCast(Instruction::CastOps opc,Constant * C,Type * Ty,bool OnlyIfReduced=false) getFoldedCast() argument 2184 getCast(unsigned oc,Constant * C,Type * Ty,bool OnlyIfReduced) getCast() argument 2209 getTruncOrBitCast(Constant * C,Type * Ty) getTruncOrBitCast() argument 2215 getPointerCast(Constant * S,Type * Ty) getPointerCast() argument 2231 getPointerBitCastOrAddrSpaceCast(Constant * S,Type * Ty) getPointerBitCastOrAddrSpaceCast() argument 2241 getTrunc(Constant * C,Type * Ty,bool OnlyIfReduced) getTrunc() argument 2442 getSizeOf(Type * Ty) getSizeOf() argument 2452 getAlignOf(Type * Ty) getAlignOf() argument 2465 getGetElementPtr(Type * Ty,Constant * C,ArrayRef<Value * > Idxs,GEPNoWrapFlags NW,std::optional<ConstantRange> InRange,Type * OnlyIfReducedTy) getGetElementPtr() argument 2625 Type *Ty = C->getType(); getExactLogBase2() local 2653 getBinOpIdentity(unsigned Opcode,Type * Ty,bool AllowRHSConstant,bool NSZ) getBinOpIdentity() argument 2698 getIntrinsicIdentity(Intrinsic::ID ID,Type * Ty) getIntrinsicIdentity() argument 2715 getIdentity(Instruction * I,Type * Ty,bool AllowRHSConstant,bool NSZ) getIdentity() argument 2724 getBinOpAbsorber(unsigned Opcode,Type * Ty) getBinOpAbsorber() argument 2789 isElementTypeCompatible(Type * Ty) isElementTypeCompatible() argument 2835 getImpl(StringRef Elements,Type * Ty) getImpl() argument 2920 Type *Ty = ArrayType::get(ElementType, Elts.size()); getFP() local 2926 Type *Ty = ArrayType::get(ElementType, Elts.size()); getFP() local 2933 Type *Ty = ArrayType::get(ElementType, Elts.size()); getFP() local 2955 auto *Ty = FixedVectorType::get(Type::getInt8Ty(Context), Elts.size()); get() local 2960 auto *Ty = FixedVectorType::get(Type::getInt16Ty(Context), Elts.size()); get() local 2965 auto *Ty = FixedVectorType::get(Type::getInt32Ty(Context), Elts.size()); get() local 2970 auto *Ty = FixedVectorType::get(Type::getInt64Ty(Context), Elts.size()); get() local 2975 auto *Ty = FixedVectorType::get(Type::getFloatTy(Context), Elts.size()); get() local 2980 auto *Ty = FixedVectorType::get(Type::getDoubleTy(Context), Elts.size()); get() local 2995 auto *Ty = FixedVectorType::get(ElementType, Elts.size()); getFP() local 3002 auto *Ty = FixedVectorType::get(ElementType, Elts.size()); getFP() local 3010 auto *Ty = FixedVectorType::get(ElementType, Elts.size()); getFP() local [all...] |
/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | ARC.cpp | 30 void updateState(const ABIArgInfo &Info, QualType Ty, CCState &State) const { in updateState() 71 ABIArgInfo ARCABIInfo::getIndirectByRef(QualType Ty, bool HasFreeRegs) const { in getIndirectByRef() 85 QualType Ty, AggValueSlot Slot) const { in EmitVAArg() 91 ABIArgInfo ARCABIInfo::classifyArgumentType(QualType Ty, in classifyArgumentType()
|
H A D | Lanai.cpp | 51 bool LanaiABIInfo::shouldUseInReg(QualType Ty, CCState &State) const { in shouldUseInReg() 68 ABIArgInfo LanaiABIInfo::getIndirectResult(QualType Ty, bool ByVal, in getIndirectResult() 86 ABIArgInfo LanaiABIInfo::classifyArgumentType(QualType Ty, in classifyArgumentType()
|
/llvm-project/llvm/include/llvm/IR/ |
H A D | Constants.h | 124 /// signed value for the type Ty argument 61 ConstantData(Type * Ty,ValueTy VT) ConstantData() argument 127 getSigned(Type * Ty,int64_t V) getSigned() argument 307 getNegativeZero(Type * Ty) getNegativeZero() argument 354 ConstantAggregateZero(Type * Ty) ConstantAggregateZero() argument [all...] |
H A D | DataLayout.h | 402 isNonIntegralPointerType(Type * Ty) isNonIntegralPointerType() argument 435 getPointerTypeSize(Type * Ty) getPointerTypeSize() argument 472 getTypeStoreSize(Type * Ty) getTypeStoreSize() argument 484 getTypeStoreSizeInBits(Type * Ty) getTypeStoreSizeInBits() argument 492 typeSizeEqualsStoreSize(Type * Ty) typeSizeEqualsStoreSize() argument 504 getTypeAllocSize(Type * Ty) getTypeAllocSize() argument 517 getTypeAllocSizeInBits(Type * Ty) getTypeAllocSizeInBits() argument 527 getValueOrABITypeAlignment(MaybeAlign Alignment,Type * Ty) getValueOrABITypeAlignment() argument 672 getTypeSizeInBits(Type * Ty) getTypeSizeInBits() argument [all...] |
H A D | InstrTypes.h | 59 UnaryInstruction(Type * Ty,unsigned iType,Value * V,BasicBlock::iterator IB) UnaryInstruction() argument 68 UnaryInstruction(Type * Ty,unsigned iType,Value * V,BasicBlock * IAE) UnaryInstruction() argument [all...] |
/llvm-project/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 37 static bool isDispatchBlock(QualType Ty) { in isDispatchBlock() argument 121 QualType Ty) { in makeAssignment() argument 153 makeDereference(const Expr * Arg,QualType Ty) makeDereference() argument 159 makeLvalueToRvalue(const Expr * Arg,QualType Ty) makeLvalueToRvalue() argument 172 makeImplicitCast(const Expr * Arg,QualType Ty,CastKind CK) makeImplicitCast() argument 182 makeReferenceCast(const Expr * Arg,QualType Ty) makeReferenceCast() argument 192 makeIntegralCast(const Expr * Arg,QualType Ty) makeIntegralCast() argument 203 QualType Ty = C.getBOOLDecl() ? C.getBOOLType() : C.ObjCBuiltinBoolTy; makeObjCBool() local 220 makeIntegerLiteral(uint64_t Value,QualType Ty) makeIntegerLiteral() argument 265 QualType Ty = Callback->getType(); create_call_once_funcptr_call() local 525 QualType Ty = Block->getType(); create_dispatch_once() local 599 QualType Ty = PV->getType(); create_dispatch_sync() local [all...] |
/llvm-project/clang-tools-extra/clang-tidy/fuchsia/ |
H A D | MultipleInheritanceCheck.cpp | 72 const auto *Ty = I.getType()->getAs<RecordType>(); in isInterface() local 101 const auto *Ty = I.getType()->getAs<RecordType>(); in check() local 110 const auto *Ty = V.getType()->getAs<RecordType>(); in check() local
|
/llvm-project/llvm/bindings/ocaml/target/ |
H A D | target_ocaml.c | 99 value llvm_datalayout_size_in_bits(value Ty, value DL) { in llvm_datalayout_size_in_bits() 105 value llvm_datalayout_store_size(value Ty, value DL) { in llvm_datalayout_store_size() 110 value llvm_datalayout_abi_size(value Ty, value DL) { in llvm_datalayout_abi_size() 115 value llvm_datalayout_abi_align(value Ty, value DL) { in llvm_datalayout_abi_align() 120 value llvm_datalayout_stack_align(value Ty, value DL) { in llvm_datalayout_stack_align() 126 value llvm_datalayout_preferred_align(value Ty, value DL) { in llvm_datalayout_preferred_align() 138 value llvm_datalayout_element_at_offset(value Ty, value Offset, value DL) { in llvm_datalayout_element_at_offset() 144 value llvm_datalayout_offset_of_element(value Ty, value Index, value DL) { in llvm_datalayout_offset_of_element()
|
/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILIntrinsicExpansion.cpp | 56 Type *Ty = X->getType(); expandAbs() local 107 Type *Ty = X->getType(); expandExpIntrinsic() local 129 Type *Ty = X->getType(); expandAnyIntrinsic() local 179 Type *Ty = X->getType(); expandLogIntrinsic() local 204 Type *Ty = X->getType(); expandPowIntrinsic() local 250 Type *Ty = X->getType(); expandClampIntrinsic() local [all...] |
H A D | CBufferDataLayout.cpp | 53 TypeSize LegacyCBufferLayout::getTypeAllocSizeInBytes(Type *Ty) { in getTypeAllocSizeInBytes() 72 TypeSize LegacyCBufferLayout::getTypeAllocSize(Type *Ty) { in getTypeAllocSize() 121 llvm::TypeSize CBufferDataLayout::getTypeAllocSizeInBytes(Type *Ty) { in getTypeAllocSizeInBytes()
|
/llvm-project/clang/lib/Interpreter/ |
H A D | Interpreter.cpp | 637 VisitRecordType(const RecordType * Ty) VisitRecordType() argument 642 VisitMemberPointerType(const MemberPointerType * Ty) VisitMemberPointerType() argument 647 VisitConstantArrayType(const ConstantArrayType * Ty) VisitConstantArrayType() argument 652 VisitFunctionProtoType(const FunctionProtoType * Ty) VisitFunctionProtoType() argument 657 VisitPointerType(const PointerType * Ty) VisitPointerType() argument 662 VisitReferenceType(const ReferenceType * Ty) VisitReferenceType() argument 669 VisitBuiltinType(const BuiltinType * Ty) VisitBuiltinType() argument 683 VisitEnumType(const EnumType * Ty) VisitEnumType() argument 691 HandleIntegralOrEnumType(const Type * Ty) HandleIntegralOrEnumType() argument 701 HandlePtrType(const Type * Ty) HandlePtrType() argument 739 QualType Ty = E->getType(); transformForValuePrinting() local
|
/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyMachineFunctionInfo.cpp | 112 Out.push_back(WebAssembly::toValType(Ty)); in valTypesFromMVTs() local 45 computeLegalValueVTs(const WebAssemblyTargetLowering & TLI,LLVMContext & Ctx,const DataLayout & DL,Type * Ty,SmallVectorImpl<MVT> & ValueVTs) computeLegalValueVTs() argument 58 computeLegalValueVTs(const Function & F,const TargetMachine & TM,Type * Ty,SmallVectorImpl<MVT> & ValueVTs) computeLegalValueVTs() argument 65 computeSignatureVTs(const FunctionType * Ty,const Function * TargetFunc,const Function & ContextFunc,const TargetMachine & TM,SmallVectorImpl<MVT> & Params,SmallVectorImpl<MVT> & Results) computeSignatureVTs() argument [all...] |
/llvm-project/llvm/include/llvm/CodeGenTypes/ |
H A D | MachineValueType.h | 41 GET_VT_ATTR(Ty,n,sz,Any,Int,FP,Vec,Sc,NElem,EltTy) global() argument 174 GET_VT_ATTR(Ty,n,sz,Any,Int,FP,Vec,Sc,NElem,EltTy) isOverloaded() argument 257 GET_VT_ATTR(Ty,N,Sz,Any,Int,FP,Vec,Sc,NElem,EltTy) getVectorElementType() argument 270 GET_VT_ATTR(Ty,N,Sz,Any,Int,FP,Vec,Sc,NElem,EltTy) getVectorMinNumElements() argument 299 GET_VT_ATTR(Ty,N,Sz,Any,Int,FP,Vec,Sc,NElem,EltTy) getSizeInBits() argument 421 GET_VT_ATTR(Ty,n,sz,Any,Int,FP,Vec,Sc,NElem,EltTy) getFloatingPointVT() argument 431 GET_VT_ATTR(Ty,n,sz,Any,Int,FP,Vec,Sc,NElem,EltTy) getIntegerVT() argument 441 GET_VT_VECATTR(Ty,Sc,nElem,ElTy) getVectorVT() argument 451 GET_VT_VECATTR(Ty,Sc,nElem,ElTy) getScalableVectorVT() argument [all...] |
/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiTargetTransformInfo.h | 52 InstructionCost getIntImmCost(const APInt &Imm, Type *Ty, in getIntImmCost() argument 88 const APInt &Imm, Type *Ty, in getIntImmCostIntrin() argument [all...] |