Searched refs:Ty (Results 101 - 125 of 325) sorted by relevance

1234567891011>>

/freebsd-10.3-release/contrib/llvm/include/llvm/Support/
H A DDOTGraphTraits.h159 template <typename Ty>
/freebsd-10.3-release/contrib/llvm/lib/IR/
H A DCore.cpp176 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty) { argument
177 switch (unwrap(Ty)->getTypeID()) {
214 LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty) argument
216 return unwrap(Ty)->isSized();
219 LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty) { argument
220 return wrap(&unwrap(Ty)->getContext());
223 void LLVMDumpType(LLVMTypeRef Ty) { argument
224 return unwrap(Ty)->dump();
227 char *LLVMPrintTypeToString(LLVMTypeRef Ty) { argument
231 unwrap(Ty)
349 FunctionType *Ty = unwrap<FunctionType>(FunctionTy); local
374 LLVMGetStructName(LLVMTypeRef Ty) argument
393 StructType *Ty = unwrap<StructType>(StructTy); local
425 LLVMGetElementType(LLVMTypeRef Ty) argument
557 LLVMConstNull(LLVMTypeRef Ty) argument
561 LLVMConstAllOnes(LLVMTypeRef Ty) argument
565 LLVMGetUndef(LLVMTypeRef Ty) argument
569 LLVMIsConstant(LLVMValueRef Ty) argument
583 LLVMConstPointerNull(LLVMTypeRef Ty) argument
669 IntegerType *Ty = unwrap<IntegerType>(IntTy); local
746 StructType *Ty = cast<StructType>(unwrap(StructTy)); local
784 LLVMAlignOf(LLVMTypeRef Ty) argument
788 LLVMSizeOf(LLVMTypeRef Ty) argument
1121 LLVMConstInlineAsm(LLVMTypeRef Ty, const char *AsmString, const char *Constraints, LLVMBool HasSideEffects, LLVMBool IsAlignStack) argument
1286 LLVMAddGlobal(LLVMModuleRef M, LLVMTypeRef Ty, const char *Name) argument
1291 LLVMAddGlobalInAddressSpace(LLVMModuleRef M, LLVMTypeRef Ty, const char *Name, unsigned AddressSpace) argument
1416 LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, const char *Name) argument
1982 LLVMBuildLandingPad(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef PersFn, unsigned NumClauses, const char *Name) argument
2174 LLVMBuildMalloc(LLVMBuilderRef B, LLVMTypeRef Ty, const char *Name) argument
2185 LLVMBuildArrayMalloc(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name) argument
2196 LLVMBuildAlloca(LLVMBuilderRef B, LLVMTypeRef Ty, const char *Name) argument
2201 LLVMBuildArrayAlloca(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name) argument
2390 LLVMBuildPhi(LLVMBuilderRef B, LLVMTypeRef Ty, const char *Name) argument
2409 LLVMBuildVAArg(LLVMBuilderRef B, LLVMValueRef List, LLVMTypeRef Ty, const char *Name) argument
[all...]
H A DVerifier.cpp326 bool PerformTypeCheck(Intrinsic::ID ID, Function *F, Type *Ty,
328 bool VerifyIntrinsicType(Type *Ty,
336 void VerifyParameterAttrs(AttributeSet Attrs, unsigned Idx, Type *Ty,
804 void Verifier::VerifyParameterAttrs(AttributeSet Attrs, unsigned Idx, Type *Ty, argument
854 hasAttributes(AttributeFuncs::typeIncompatible(Ty, Idx), Idx),
856 AttributeFuncs::typeIncompatible(Ty, Idx).getAsString(Idx), V);
858 if (PointerType *PTy = dyn_cast<PointerType>(Ty))
881 Type *Ty; local
883 Ty = FT->getReturnType();
885 Ty
1550 Type *Ty = CS.getArgument(Idx-1)->getType(); local
2145 VerifyIntrinsicType(Type *Ty, ArrayRef<Intrinsic::IITDescriptor> &Infos, SmallVectorImpl<Type*> &ArgTys) argument
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp89 /// On return, \p Ty will be set to the base type of the array.
93 QualType &Ty) {
103 while (const ArrayType *AT = Ctx.getAsArrayType(Ty)) {
104 Ty = AT->getElementType();
105 LValue = State->getLValue(Ty, SVB.makeZeroArrayIndex(), LValue);
137 QualType Ty = Var->getType(); local
138 LValue = makeZeroElementRegion(State, LValue, Ty);
165 QualType Ty = Field->getType(); local
166 FieldVal = makeZeroElementRegion(State, FieldVal, Ty);
386 QualType Ty local
92 makeZeroElementRegion(ProgramStateRef State, SVal LValue, QualType &Ty) argument
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DTypeLoc.h42 // The correctness of this relies on the property that, for Type *Ty,
43 // QualType(Ty, 0).getAsOpaquePtr() == (void*) Ty
44 const void *Ty; member in class:clang::TypeLoc
84 TypeLoc() : Ty(0), Data(0) { }
86 : Ty(ty.getAsOpaquePtr()), Data(opaqueData) { }
88 : Ty(ty), Data(opaqueData) { }
95 bool isNull() const { return !Ty; }
96 LLVM_EXPLICIT operator bool() const { return Ty; }
99 static unsigned getFullDataSizeForType(QualType Ty);
210 UnqualTypeLoc(const Type *Ty, void *Data) argument
325 classofType(const Type *Ty) argument
427 classofType(const Type *Ty) argument
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/AST/
H A DTypeLoc.cpp56 unsigned TypeLoc::getLocalAlignmentForType(QualType Ty) { argument
57 if (Ty.isNull()) return 1;
58 return TypeAligner().Visit(TypeLoc(Ty, 0));
74 unsigned TypeLoc::getFullDataSizeForType(QualType Ty) { argument
76 TypeLoc TyLoc(Ty, 0);
/freebsd-10.3-release/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h140 void addGlobalType(DIType Ty);
251 void addSourceLine(DIE *Die, DIType Ty);
253 void addSourceLine(DIE *Die, DIObjCProperty Ty);
261 void addConstantValue(DIE *Die, const MachineOperand &MO, DIType Ty);
304 void addType(DIE *Entity, DIType Ty, dwarf::Attribute Attribute = dwarf::DW_AT_type);
/freebsd-10.3-release/contrib/llvm/include/llvm/TableGen/
H A DRecord.h135 inline raw_ostream &operator<<(raw_ostream &OS, const RecTy &Ty) { argument
136 Ty.print(OS);
290 /// ListRecTy - 'list<Ty>' - Represent a list of values, all of which must be of
294 RecTy *Ty; member in class:llvm::ListRecTy
295 explicit ListRecTy(RecTy *T) : RecTy(ListRecTyKind), Ty(T) {}
303 RecTy *getElementType() const { return Ty; }
490 virtual Init *convertInitializerTo(RecTy *Ty) const = 0;
557 RecTy *Ty; member in class:llvm::TypedInit
563 explicit TypedInit(InitKind K, RecTy *T) : Init(K), Ty(T) {}
570 RecTy *getType() const { return Ty; }
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprConstant.cpp73 llvm::Constant *Finalize(QualType Ty);
292 llvm::Type *Ty = CGM.Int8Ty;
294 Ty = llvm::ArrayType::get(Ty, PadSize.getQuantity());
296 llvm::Constant *C = llvm::UndefValue::get(Ty);
328 llvm::Type *Ty = CGM.Int8Ty; local
330 Ty = llvm::ArrayType::get(Ty, NumChars.getQuantity());
332 llvm::Constant *Padding = llvm::UndefValue::get(Ty);
474 llvm::Constant *ConstStructBuilder::Finalize(QualType Ty) { argument
623 llvm::Type *Ty = CGM.Int8Ty; local
979 QualType Ty = D.getType(); local
[all...]
H A DCodeGenModule.cpp1380 llvm::Type *Ty,
1394 if (Entry->getType()->getElementType() == Ty)
1398 return llvm::ConstantExpr::getBitCast(Entry, Ty->getPointerTo());
1415 if (isa<llvm::FunctionType>(Ty)) {
1416 FTy = cast<llvm::FunctionType>(Ty);
1484 assert(F->getType()->getElementType() == Ty);
1488 llvm::Type *PTy = llvm::PointerType::getUnqual(Ty);
1492 /// GetAddrOfFunction - Return the address of the given function. If Ty is
1496 llvm::Type *Ty,
1499 if (!Ty)
1379 GetOrCreateLLVMFunction(StringRef MangledName, llvm::Type *Ty, GlobalDecl GD, bool ForVTable, llvm::AttributeSet ExtraAttrs) argument
1495 GetAddrOfFunction(GlobalDecl GD, llvm::Type *Ty, bool ForVTable) argument
1527 isTypeConstant(QualType Ty, bool ExcludeCtor) argument
1549 GetOrCreateLLVMGlobal(StringRef MangledName, llvm::PointerType *Ty, const VarDecl *D, bool UnnamedAddr) argument
1635 CreateOrReplaceCXXRuntimeVariable(StringRef Name, llvm::Type *Ty, llvm::GlobalValue::LinkageTypes Linkage) argument
1677 GetAddrOfGlobalVar(const VarDecl *D, llvm::Type *Ty) argument
1694 CreateRuntimeVariable(llvm::Type *Ty, StringRef Name) argument
2095 llvm::FunctionType *Ty = getTypes().GetFunctionType(FI); local
2320 llvm::Type *Ty = getTypes().ConvertType(getContext().IntTy); local
2342 llvm::Type *Ty = getTypes().ConvertType(getContext().UnsignedIntTy); local
2432 llvm::Type *Ty = getTypes().ConvertType(getContext().IntTy); local
2516 llvm::Type *Ty = getTypes().ConvertType(getContext().UnsignedIntTy); local
[all...]
H A DCGCall.cpp382 argTypes.push_back(Context.getCanonicalParamType(i->Ty));
396 argTypes.push_back(Context.getCanonicalParamType(i->Ty));
549 CodeGenFunction::ExpandTypeFromArgs(QualType Ty, LValue LV, argument
554 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) {
562 } else if (const RecordType *RT = Ty->getAs<RecordType>()) {
597 } else if (const ComplexType *CT = Ty->getAs<ComplexType>()) {
644 /// CoerceIntOrPtrToIntOrPtr - Convert a value Val to the specific Ty where both
652 llvm::Type *Ty,
654 if (Val->getType() == Ty)
659 if (isa<llvm::PointerType>(Ty))
651 CoerceIntOrPtrToIntOrPtr(llvm::Value *Val, llvm::Type *Ty, CodeGenFunction &CGF) argument
703 CreateCoercedLoad(llvm::Value *SrcPtr, llvm::Type *Ty, CodeGenFunction &CGF) argument
1256 QualType Ty = info_it->type; local
2191 ExpandTypeToArgs(QualType Ty, RValue RV, SmallVectorImpl<llvm::Value *> &Args, llvm::FunctionType *IRFuncTy) argument
2620 EmitVAArg(llvm::Value *VAListAddr, QualType Ty) argument
[all...]
/freebsd-10.3-release/contrib/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp63 static char getTypeID(Type *Ty) { argument
64 switch (Ty->getTypeID()) {
67 switch (cast<IntegerType>(Ty)->getBitWidth()) {
113 static ffi_type *ffiTypeFor(Type *Ty) { argument
114 switch (Ty->getTypeID()) {
117 switch (cast<IntegerType>(Ty)->getBitWidth()) {
133 static void *ffiValueFor(Type *Ty, const GenericValue &AV, argument
135 switch (Ty->getTypeID()) {
137 switch (cast<IntegerType>(Ty)->getBitWidth()) {
/freebsd-10.3-release/contrib/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp41 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const;
88 virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty,
105 virtual unsigned getReductionCost(unsigned Opcode, Type *Ty,
130 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2");
171 unsigned X86TTI::getArithmeticInstrCost(unsigned Opcode, Type *Ty, argument
175 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Ty);
338 return TargetTransformInfo::getArithmeticInstrCost(Opcode, Ty, Op1Info,
541 unsigned X86TTI::getScalarizationOverhead(Type *Ty, bool Insert, argument
543 assert (Ty->isVectorTy() && "Can only scalarize vectors");
546 for (int i = 0, e = Ty
602 getAddressComputationCost(Type *Ty, bool IsComplex) const argument
[all...]
/freebsd-10.3-release/contrib/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp146 void printType(Type* Ty);
180 static std::string getTypePrefix(Type *Ty) { argument
181 switch (Ty->getTypeID()) {
184 return "int" + utostr(cast<IntegerType>(Ty)->getBitWidth()) + "_";
363 std::string CppWriter::getCppName(Type* Ty) { argument
365 if (Ty->isPrimitiveType() || Ty->isIntegerTy()) {
366 switch (Ty->getTypeID()) {
369 unsigned BitWidth = cast<IntegerType>(Ty)->getBitWidth();
386 TypeMap::iterator I = TypeNames.find(Ty);
417 printCppName(Type* Ty) argument
538 printType(Type* Ty) argument
2033 Type* Ty = TheModule->getTypeByName(typeName); local
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Frontend/
H A DInitPreprocessor.cpp193 static void DefineTypeSize(StringRef MacroName, TargetInfo::IntType Ty, argument
195 DefineTypeSize(MacroName, TI.getTypeWidth(Ty), TI.getTypeConstantSuffix(Ty),
196 TI.isTypeSigned(Ty), Builder);
199 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, argument
201 Builder.defineMacro(MacroName, TargetInfo::getTypeName(Ty));
204 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty, argument
206 Builder.defineMacro(MacroName, Twine(TI.getTypeWidth(Ty)));
215 static void DefineExactWidthIntType(TargetInfo::IntType Ty, argument
217 int TypeWidth = TI.getTypeWidth(Ty);
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseExpr.cpp836 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), local
838 if (Ty.isInvalid())
843 Ty.get(), 0);
1001 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); local
1002 if (Ty.isInvalid())
1007 Ty.get(), 0);
1808 TypeResult Ty = ParseTypeName(); local
1815 if (Expr.isInvalid() || Ty.isInvalid())
1818 Res = Actions.ActOnVAArg(StartLoc, Expr.take(), Ty.get(), ConsumeParen());
1823 TypeResult Ty local
2096 TypeResult Ty = ParseTypeName(); local
2135 TypeResult Ty; local
2149 TypeResult Ty; local
2166 TypeResult Ty; local
2244 ParseCompoundLiteralExpression(ParsedType Ty, SourceLocation LParenLoc, SourceLocation RParenLoc) argument
2326 ParsedType Ty; local
[all...]
H A DParseExprCXX.cpp1246 TypeResult Ty = ParseTypeName(); local
1251 if (Ty.isInvalid() || RParenLoc.isInvalid())
1255 Ty.get().getAsOpaquePtr(), RParenLoc);
1294 TypeResult Ty = ParseTypeName(); local
1299 if (Ty.isInvalid())
1303 Ty.get().getAsOpaquePtr(),
2211 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), D); local
2212 if (Ty.isInvalid())
2216 Result.setConversionFunctionId(KeywordLoc, Ty.get(),
2285 ParsedType Ty local
2323 ParsedType Ty = Actions.getTypeName(*TemplateId->Name, local
2411 ParsedType Ty = Actions.getDestructorName(TildeLoc, *ClassName, local
2859 TypeResult Ty = ParseTypeName(); local
3047 TypeResult Ty = ParseTypeName(); local
[all...]
/freebsd-10.3-release/contrib/llvm/lib/CodeGen/
H A DAnalysis.cpp33 unsigned llvm::ComputeLinearIndex(Type *Ty, argument
42 if (StructType *STy = dyn_cast<StructType>(Ty)) {
54 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
74 void llvm::ComputeValueVTs(const TargetLowering &TLI, Type *Ty, argument
79 if (StructType *STy = dyn_cast<StructType>(Ty)) {
90 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
99 if (Ty->isVoidTy())
102 ValueVTs.push_back(TLI.getValueType(Ty));
H A DStackProtector.cpp82 bool StackProtector::ContainsProtectableArray(Type *Ty, bool &IsLarge, argument
85 if (!Ty)
87 if (ArrayType *AT = dyn_cast<ArrayType>(Ty)) {
109 const StructType *ST = dyn_cast<StructType>(Ty);
/freebsd-10.3-release/contrib/llvm/include/llvm-c/
H A DExecutionEngine.h55 LLVMGenericValueRef LLVMCreateGenericValueOfInt(LLVMTypeRef Ty,
61 LLVMGenericValueRef LLVMCreateGenericValueOfFloat(LLVMTypeRef Ty, double N);
/freebsd-10.3-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.h101 virtual bool isLegalAddressingMode(const AddrMode &AM, Type *Ty) const;
167 Type *Ty, unsigned Idx) const;
/freebsd-10.3-release/contrib/llvm/utils/TableGen/
H A DCodeGenTarget.h191 MVT::SimpleValueType Ty; member in class:llvm::ComplexPattern
200 MVT::SimpleValueType getValueType() const { return Ty; }
/freebsd-10.3-release/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp134 static int GetDecodedBinaryOpcode(unsigned Val, Type *Ty) { argument
138 return Ty->isFPOrFPVectorTy() ? Instruction::FAdd : Instruction::Add;
140 return Ty->isFPOrFPVectorTy() ? Instruction::FSub : Instruction::Sub;
142 return Ty->isFPOrFPVectorTy() ? Instruction::FMul : Instruction::Mul;
145 return Ty->isFPOrFPVectorTy() ? Instruction::FDiv : Instruction::SDiv;
148 return Ty->isFPOrFPVectorTy() ? Instruction::FRem : Instruction::SRem;
207 explicit ConstantPlaceHolder(Type *Ty, LLVMContext& Context) argument
208 : ConstantExpr(Ty, Instruction::UserOp1, &Op<0>(), 1) {
262 Type *Ty) {
267 assert(Ty
261 getConstantFwdRef(unsigned Idx, Type *Ty) argument
277 getValueFwdRef(unsigned Idx, Type *Ty) argument
1026 Type *Ty = getTypeByID(Record[i]); local
[all...]
/freebsd-10.3-release/contrib/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdater.h63 /// type 'Ty'.
66 void Initialize(Type *Ty, StringRef Name);
/freebsd-10.3-release/contrib/llvm/lib/Transforms/IPO/
H A DPassManagerBuilder.cpp85 PassManagerBuilder::ExtensionPointTy Ty,
87 GlobalExtensions->push_back(std::make_pair(Ty, Fn));
90 void PassManagerBuilder::addExtension(ExtensionPointTy Ty, ExtensionFn Fn) { argument
91 Extensions.push_back(std::make_pair(Ty, Fn));
84 addGlobalExtension( PassManagerBuilder::ExtensionPointTy Ty, PassManagerBuilder::ExtensionFn Fn) argument

Completed in 297 milliseconds

1234567891011>>