Home
last modified time | relevance | path

Searched defs:Ty (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/NextBSD/contrib/llvm/lib/IR/
HDConstants.cpp178 Constant *Constant::getNullValue(Type *Ty) { in getNullValue()
213 Constant *Constant::getIntegerValue(Type *Ty, const APInt &V) { in getIntegerValue()
230 Constant *Constant::getAllOnesValue(Type *Ty) { in getAllOnesValue()
525 ConstantInt::ConstantInt(IntegerType *Ty, const APInt& V) in ConstantInt()
544 Constant *ConstantInt::getTrue(Type *Ty) { in getTrue()
556 Constant *ConstantInt::getFalse(Type *Ty) { in getFalse()
582 Constant *ConstantInt::get(Type *Ty, uint64_t V, bool isSigned) { in get()
592 ConstantInt *ConstantInt::get(IntegerType *Ty, uint64_t V, in get()
597 ConstantInt *ConstantInt::getSigned(IntegerType *Ty, int64_t V) { in getSigned()
601 Constant *ConstantInt::getSigned(Type *Ty, int64_t V) { in getSigned()
[all …]
HDInstructions.cpp809 AllocaInst::AllocaInst(Type *Ty, const Twine &Name, Instruction *InsertBefore) in AllocaInst()
812 AllocaInst::AllocaInst(Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) in AllocaInst()
815 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, const Twine &Name, in AllocaInst()
819 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, const Twine &Name, in AllocaInst()
823 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, in AllocaInst()
833 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, in AllocaInst()
891 LoadInst::LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile, in LoadInst()
899 LoadInst::LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile, in LoadInst()
909 LoadInst::LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile, in LoadInst()
954 LoadInst::LoadInst(Type *Ty, Value *Ptr, const char *Name, bool isVolatile, in LoadInst()
[all …]
HDDIBuilder.cpp264 DIDerivedType *DIBuilder::createTypedef(DIType *Ty, StringRef Name, in createTypedef()
273 DIDerivedType *DIBuilder::createFriend(DIType *Ty, DIType *FriendTy) { in createFriend()
281 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy, in createInheritance()
295 unsigned Flags, DIType *Ty) { in createMemberType()
311 DIType *Ty, unsigned Flags, in createStaticMemberType()
325 DIType *Ty, MDNode *PropertyNode) { in createObjCIVar()
335 unsigned PropertyAttributes, DIType *Ty) { in createObjCProperty()
343 DIType *Ty) { in createTemplateTypeParameter()
350 DIScope *Context, StringRef Name, DIType *Ty, in createTemplateValueParameterHelper()
359 DIType *Ty, Constant *Val) { in createTemplateValueParameter()
[all …]
HDGlobals.cpp146 GlobalVariable::GlobalVariable(Type *Ty, bool constant, LinkageTypes Link, in GlobalVariable()
163 GlobalVariable::GlobalVariable(Module &M, Type *Ty, bool constant, in GlobalVariable()
234 GlobalAlias::GlobalAlias(PointerType *Ty, LinkageTypes Link, const Twine &Name, in GlobalAlias()
243 GlobalAlias *GlobalAlias::create(PointerType *Ty, LinkageTypes Link, in create()
249 GlobalAlias *GlobalAlias::create(PointerType *Ty, LinkageTypes Linkage, in create()
254 GlobalAlias *GlobalAlias::create(PointerType *Ty, LinkageTypes Linkage, in create()
HDConstantFold.cpp61 Type *Ty = IntegerType::get(CV->getContext(), 32); in BitCastConstantVector() local
351 static Constant *getFoldedSizeOf(Type *Ty, Type *DestTy, in getFoldedSizeOf()
408 static Constant *getFoldedAlignOf(Type *Ty, Type *DestTy, in getFoldedAlignOf()
474 static Constant *getFoldedOffsetOf(Type *Ty, Constant *FieldNo, in getFoldedOffsetOf()
573 Type *Ty = IntegerType::get(V->getContext(), 32); in ConstantFoldCastInstruction() local
636 Type *Ty = GEPO->getSourceElementType(); in ConstantFoldCastInstruction() local
735 Type *Ty = IntegerType::get(CondV->getContext(), 32); in ConstantFoldSelectInstruction() local
815 auto *Ty = Type::getInt32Ty(Val->getContext()); in ConstantFoldInsertElementInstruction() local
857 Type *Ty = IntegerType::get(V2->getContext(), 32); in ConstantFoldShuffleVectorInstruction() local
862 Type *Ty = IntegerType::get(V1->getContext(), 32); in ConstantFoldShuffleVectorInstruction() local
[all …]
HDInlineAsm.cpp28 InlineAsm *InlineAsm::get(FunctionType *Ty, StringRef AsmString, in get()
37 InlineAsm::InlineAsm(PointerType *Ty, const std::string &asmString, in InlineAsm()
245 bool InlineAsm::Verify(FunctionType *Ty, StringRef ConstStr) { in Verify()
/NextBSD/contrib/llvm/lib/ExecutionEngine/Interpreter/
HDExecution.cpp56 GenericValue Src2, Type *Ty) { in executeFAddInst()
67 GenericValue Src2, Type *Ty) { in executeFSubInst()
78 GenericValue Src2, Type *Ty) { in executeFMulInst()
89 GenericValue Src2, Type *Ty) { in executeFDivInst()
100 GenericValue Src2, Type *Ty) { in executeFRemInst()
139 Type *Ty) { in executeICMP_EQ()
153 Type *Ty) { in executeICMP_NE()
167 Type *Ty) { in executeICMP_ULT()
181 Type *Ty) { in executeICMP_SLT()
195 Type *Ty) { in executeICMP_UGT()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Analysis/
HDBodyFarm.cpp29 static bool isDispatchBlock(QualType Ty) { in isDispatchBlock()
90 QualType Ty) { in makeAssignment()
125 UnaryOperator *ASTMaker::makeDereference(const Expr *Arg, QualType Ty) { in makeDereference()
130 ImplicitCastExpr *ASTMaker::makeLvalueToRvalue(const Expr *Arg, QualType Ty) { in makeLvalueToRvalue()
135 Expr *ASTMaker::makeIntegralCast(const Expr *Arg, QualType Ty) { in makeIntegralCast()
149 QualType Ty = C.getBOOLDecl() ? C.getBOOLType() : C.ObjCBuiltinBoolTy; in makeObjCBool() local
191 QualType Ty = Block->getType(); in create_dispatch_once() local
257 QualType Ty = PV->getType(); in create_dispatch_sync() local
/NextBSD/contrib/llvm/lib/Target/
HDTarget.cpp90 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMSizeOfTypeInBits()
94 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMStoreSizeOfType()
98 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMABISizeOfType()
102 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMABIAlignmentOfType()
106 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMCallFrameAlignmentOfType()
110 unsigned LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMPreferredAlignmentOfType()
/NextBSD/contrib/llvm/lib/Target/SystemZ/
HDSystemZTargetTransformInfo.cpp34 unsigned SystemZTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost()
67 const APInt &Imm, Type *Ty) { in getIntImmCost()
185 const APInt &Imm, Type *Ty) { in getIntImmCost()
/NextBSD/contrib/llvm/include/llvm/CodeGen/
HDBasicTTIImpl.h47 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) { in getScalarizationOverhead()
64 unsigned getAltShuffleOverhead(Type *Ty) { in getAltShuffleOverhead()
121 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalAddressingMode()
132 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost()
150 bool isTypeLegal(Type *Ty) { in isTypeLegal()
187 bool haveFastSqrt(Type *Ty) { in haveFastSqrt()
194 unsigned getFPOpCost(Type *Ty) { in getFPOpCost()
200 unsigned getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) { in getOperationCost()
601 Type *Ty = Tys[i]; in getIntrinsicInstrCost() local
729 Type *Ty = Tys[i]; in getIntrinsicInstrCost() local
[all …]
/NextBSD/contrib/llvm/include/llvm/Analysis/
HDTargetTransformInfoImpl.h45 unsigned getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) { in getOperationCost()
202 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalAddressingMode()
214 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost()
227 bool isTypeLegal(Type *Ty) { return false; } in isTypeLegal()
241 bool haveFastSqrt(Type *Ty) { return false; } in haveFastSqrt()
243 unsigned getFPOpCost(Type *Ty) { return TargetTransformInfo::TCC_Basic; } in getFPOpCost()
245 unsigned getIntImmCost(const APInt &Imm, Type *Ty) { return TTI::TCC_Basic; } in getIntImmCost()
248 Type *Ty) { in getIntImmCost()
253 Type *Ty) { in getIntImmCost()
263 unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty, in getArithmeticInstrCost()
[all …]
HDTargetTransformInfo.h643 unsigned getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) override { in getOperationCost()
685 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalAddressingMode()
697 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost()
709 bool isTypeLegal(Type *Ty) override { return Impl.isTypeLegal(Ty); } in isTypeLegal()
721 bool haveFastSqrt(Type *Ty) override { return Impl.haveFastSqrt(Ty); } in haveFastSqrt()
723 unsigned getFPOpCost(Type *Ty) override { in getFPOpCost()
727 unsigned getIntImmCost(const APInt &Imm, Type *Ty) override { in getIntImmCost()
731 Type *Ty) override { in getIntImmCost()
735 Type *Ty) override { in getIntImmCost()
748 getArithmeticInstrCost(unsigned Opcode, Type *Ty, OperandValueKind Opd1Info, in getArithmeticInstrCost()
[all …]
HDTargetFolder.h133 Constant *CreateGetElementPtr(Type *Ty, Constant *C, in CreateGetElementPtr()
137 Constant *CreateGetElementPtr(Type *Ty, Constant *C, Constant *Idx) const { in CreateGetElementPtr()
143 Constant *CreateGetElementPtr(Type *Ty, Constant *C, in CreateGetElementPtr()
148 Constant *CreateInBoundsGetElementPtr(Type *Ty, Constant *C, in CreateInBoundsGetElementPtr()
152 Constant *CreateInBoundsGetElementPtr(Type *Ty, Constant *C, in CreateInBoundsGetElementPtr()
159 Constant *CreateInBoundsGetElementPtr(Type *Ty, Constant *C, in CreateInBoundsGetElementPtr()
/NextBSD/contrib/llvm/include/llvm/IR/
HDInstrTypes.h40 : Instruction(Ty, iType, Ops, NumOps, InsertBefore) {} in Instruction() argument
42 TerminatorInst(Type *Ty, Instruction::TermOps iType, in TerminatorInst()
94 UnaryInstruction(Type *Ty, unsigned iType, Value *V, BasicBlock *IAE) in UnaryInstruction()
HDDataLayout.h340 unsigned getPointerTypeSize(Type *Ty) const { in getPointerTypeSize()
371 uint64_t getTypeStoreSize(Type *Ty) const { in getTypeStoreSize()
379 uint64_t getTypeStoreSizeInBits(Type *Ty) const { in getTypeStoreSizeInBits()
388 uint64_t getTypeAllocSize(Type *Ty) const { in getTypeAllocSize()
398 uint64_t getTypeAllocSizeInBits(Type *Ty) const { in getTypeAllocSizeInBits()
507 inline uint64_t DataLayout::getTypeSizeInBits(Type *Ty) const { in getTypeSizeInBits()
HDConstantFolder.h121 Constant *CreateGetElementPtr(Type *Ty, Constant *C, in CreateGetElementPtr()
125 Constant *CreateGetElementPtr(Type *Ty, Constant *C, Constant *Idx) const { in CreateGetElementPtr()
131 Constant *CreateGetElementPtr(Type *Ty, Constant *C, in CreateGetElementPtr()
136 Constant *CreateInBoundsGetElementPtr(Type *Ty, Constant *C, in CreateInBoundsGetElementPtr()
140 Constant *CreateInBoundsGetElementPtr(Type *Ty, Constant *C, in CreateInBoundsGetElementPtr()
147 Constant *CreateInBoundsGetElementPtr(Type *Ty, Constant *C, in CreateInBoundsGetElementPtr()
HDNoFolder.h180 Constant *CreateGetElementPtr(Type *Ty, Constant *C, in CreateGetElementPtr()
184 Constant *CreateGetElementPtr(Type *Ty, Constant *C, Constant *Idx) const { in CreateGetElementPtr()
190 Instruction *CreateGetElementPtr(Type *Ty, Constant *C, in CreateGetElementPtr()
195 Constant *CreateInBoundsGetElementPtr(Type *Ty, Constant *C, in CreateInBoundsGetElementPtr()
199 Constant *CreateInBoundsGetElementPtr(Type *Ty, Constant *C, in CreateInBoundsGetElementPtr()
206 Instruction *CreateInBoundsGetElementPtr(Type *Ty, Constant *C, in CreateInBoundsGetElementPtr()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/
HDInitPreprocessor.cpp193 static void DefineTypeSize(const Twine &MacroName, TargetInfo::IntType Ty, in DefineTypeSize()
199 static void DefineFmt(const Twine &Prefix, TargetInfo::IntType Ty, in DefineFmt()
209 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, in DefineType()
214 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty, in DefineTypeWidth()
225 static void DefineExactWidthIntType(TargetInfo::IntType Ty, in DefineExactWidthIntType()
245 static void DefineExactWidthIntTypeSize(TargetInfo::IntType Ty, in DefineExactWidthIntTypeSize()
263 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned); in DefineLeastWidthIntType() local
277 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned); in DefineFastIntType() local
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGDebugInfo.cpp512 llvm::DIType *CGDebugInfo::CreateType(const ComplexType *Ty) { in CreateType()
523 llvm::DIType *CGDebugInfo::CreateQualifiedType(QualType Ty, in CreateQualifiedType()
557 llvm::DIType *CGDebugInfo::CreateType(const ObjCObjectPointerType *Ty, in CreateType()
570 llvm::DIType *CGDebugInfo::CreateType(const PointerType *Ty, in CreateType()
590 static SmallString<256> getUniqueTagTypeName(const TagType *Ty, in getUniqueTagTypeName()
628 CGDebugInfo::getOrCreateRecordFwdDecl(const RecordType *Ty, in getOrCreateRecordFwdDecl()
658 const Type *Ty, in CreatePointerLikeType()
687 llvm::DIType *CGDebugInfo::CreateType(const BlockPointerType *Ty, in CreateType()
745 llvm::DIType *CGDebugInfo::CreateType(const TemplateSpecializationType *Ty, in CreateType()
768 llvm::DIType *CGDebugInfo::CreateType(const TypedefType *Ty, in CreateType()
[all …]
HDCodeGenABITypes.cpp54 CodeGenABITypes::arrangeFreeFunctionType(CanQual<FunctionProtoType> Ty) { in arrangeFreeFunctionType()
59 CodeGenABITypes::arrangeFreeFunctionType(CanQual<FunctionNoProtoType> Ty) { in arrangeFreeFunctionType()
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCTargetTransformInfo.cpp38 unsigned PPCTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost()
68 const APInt &Imm, Type *Ty) { in getIntImmCost()
102 const APInt &Imm, Type *Ty) { in getIntImmCost()
250 unsigned Opcode, Type *Ty, TTI::OperandValueKind Op1Info, in getArithmeticInstrCost()
/NextBSD/contrib/llvm/lib/Analysis/
HDScalarEvolutionExpander.cpp38 Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty, in ReuseOrCreateCast()
92 Value *SCEVExpander::InsertNoopCastOfTo(Value *V, Type *Ty) { in InsertNoopCastOfTo()
290 Type *Ty, in SimplifyAddOperands()
319 Type *Ty, in SplitAddRecs()
378 Type *Ty, in expandAddToGEP()
669 Type *Ty = SE.getEffectiveSCEVType(S->getType()); in visitAddExpr() local
740 Type *Ty = SE.getEffectiveSCEVType(S->getType()); in visitMulExpr() local
787 Type *Ty = SE.getEffectiveSCEVType(S->getType()); in visitUDivExpr() local
1378 Type *Ty = SE.getEffectiveSCEVType(S->getType()); in visitAddRecExpr() local
1514 Type *Ty = SE.getEffectiveSCEVType(S->getType()); in visitTruncateExpr() local
[all …]
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64TargetTransformInfo.cpp40 unsigned AArch64TTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost()
65 const APInt &Imm, Type *Ty) { in getIntImmCost()
131 const APInt &Imm, Type *Ty) { in getIntImmCost()
288 unsigned Opcode, Type *Ty, TTI::OperandValueKind Opd1Info, in getArithmeticInstrCost()
334 unsigned AArch64TTIImpl::getAddressComputationCost(Type *Ty, bool IsComplex) { in getAddressComputationCost()
/NextBSD/contrib/llvm/lib/Target/ARM/
HDARMTargetTransformInfo.cpp18 unsigned ARMTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost()
302 unsigned ARMTTIImpl::getAddressComputationCost(Type *Ty, bool IsComplex) { in getAddressComputationCost()
317 unsigned ARMTTIImpl::getFPOpCost(Type *Ty) { in getFPOpCost()
393 unsigned Opcode, Type *Ty, TTI::OperandValueKind Op1Info, in getArithmeticInstrCost()

12345678910>>...12