Searched defs:Ty (Results 26 - 50 of 237) sorted by relevance

12345678910

/external/llvm/lib/Target/
H A DTarget.cpp91 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
92 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty));
95 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
96 return unwrap(TD)->getTypeStoreSize(unwrap(Ty));
99 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
100 return unwrap(TD)->getTypeAllocSize(unwrap(Ty));
103 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
104 return unwrap(TD)->getABITypeAlignment(unwrap(Ty));
107 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
108 return unwrap(TD)->getCallFrameTypeAlignment(unwrap(Ty));
111 LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) argument
[all...]
/external/llvm/unittests/Analysis/
H A DScalarEvolutionTest.cpp46 Type *Ty = Type::getInt1Ty(Context); local
47 Constant *Init = Constant::getNullValue(Ty);
48 Value *V0 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V0");
49 Value *V1 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V1");
50 Value *V2 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V2");
91 Type *Ty = Type::getInt32Ty(Context); local
93 Types.append(10, Ty);
161 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[1]));
163 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[2], B[1]));
164 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty,
[all...]
/external/clang/lib/Analysis/
H A DBodyFarm.cpp28 static bool isDispatchBlock(QualType Ty) { argument
30 const BlockPointerType *BPT = Ty->getAs<BlockPointerType>();
51 BinaryOperator *makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty);
64 UnaryOperator *makeDereference(const Expr *Arg, QualType Ty);
67 Expr *makeIntegralCast(const Expr *Arg, QualType Ty);
73 ImplicitCastExpr *makeLvalueToRvalue(const Expr *Arg, QualType Ty);
87 QualType Ty) {
89 BO_Assign, Ty, VK_RValue,
122 UnaryOperator *ASTMaker::makeDereference(const Expr *Arg, QualType Ty) { argument
123 return new (C) UnaryOperator(const_cast<Expr*>(Arg), UO_Deref, Ty,
86 makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty) argument
127 makeLvalueToRvalue(const Expr *Arg, QualType Ty) argument
132 makeIntegralCast(const Expr *Arg, QualType Ty) argument
146 QualType Ty = C.getBOOLDecl() ? C.getBOOLType() : C.ObjCBuiltinBoolTy; local
178 QualType Ty = Block->getType(); local
246 QualType Ty = PV->getType(); local
[all...]
/external/clang/lib/CodeGen/
H A DCGCXX.cpp277 llvm::Type *Ty) {
281 Ty = Ty->getPointerTo()->getPointerTo();
282 llvm::Value *VTable = GetVTablePtr(This, Ty);
290 llvm::Type *Ty,
295 Ty = Ty->getPointerTo()->getPointerTo();
296 VTable = CGF.Builder.CreateBitCast(VTable, Ty);
314 llvm::Type *Ty) {
327 return ::BuildAppleKextVirtualCall(*this, MD, Ty, R
276 BuildVirtualCall(GlobalDecl GD, llvm::Value *This, llvm::Type *Ty) argument
288 BuildAppleKextVirtualCall(CodeGenFunction &CGF, GlobalDecl GD, llvm::Type *Ty, const CXXRecordDecl *RD) argument
312 BuildAppleKextVirtualCall(const CXXMethodDecl *MD, NestedNameSpecifier *Qual, llvm::Type *Ty) argument
345 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FInfo); local
[all...]
H A DCodeGenTBAA.cpp103 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); local
105 if (llvm::MDNode *N = MetadataCache[Ty])
109 if (const BuiltinType *BTy = dyn_cast<BuiltinType>(Ty)) {
138 return MetadataCache[Ty] =
146 if (Ty->isPointerType())
147 return MetadataCache[Ty] = createTBAAScalarType("any pointer",
152 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) {
158 return MetadataCache[Ty] = getChar();
166 return MetadataCache[Ty] = createTBAAScalarType(OutName, getChar());
170 return MetadataCache[Ty]
222 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); local
251 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); local
[all...]
H A DCodeGenTypes.cpp52 llvm::StructType *Ty,
80 Ty->setName(OS.str());
102 bool CodeGenTypes::isRecordLayoutComplete(const Type *Ty) const {
104 RecordDeclTypes.find(Ty);
195 bool CodeGenTypes::isFuncTypeArgumentConvertible(QualType Ty) { argument
197 const TagType *TT = Ty->getAs<TagType>();
296 const Type *Ty = T.getTypePtr(); local
299 if (const RecordType *RT = dyn_cast<RecordType>(Ty))
303 llvm::DenseMap<const Type *, llvm::Type *>::iterator TCI = TypeCache.find(Ty);
310 switch (Ty
51 addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, StringRef suffix) argument
638 llvm::StructType *Ty = Entry; local
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundCheckerV2.cpp222 static bool IsCompleteType(ASTContext &Ctx, QualType Ty) { argument
223 if (const RecordType *RT = Ty->getAs<RecordType>()) {
H A DStackAddrEscapeChecker.cpp82 QualType Ty = TOR->getValueType().getLocalUnqualifiedType(); local
84 Ty.print(os, Ctx.getPrintingPolicy());
/external/llvm/include/llvm/ADT/
H A DPointerUnion.h121 UNION_DOESNT_CONTAIN_TYPE<T> > >::Return Ty;
122 int TyNo = Ty::Num;
269 >::Return Ty; typedef
270 return Ty(Val).template is<T>();
282 >::Return Ty; typedef
283 return Ty(Val).template get<T>();
377 >::Return Ty; typedef
378 return Val.template is<Ty>() &&
379 Val.template get<Ty>().template is<T>();
391 >::Return Ty; typedef
[all...]
/external/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp353 void ValueEnumerator::EnumerateType(Type *Ty) { argument
354 unsigned *TypeID = &TypeMap[Ty];
363 if (StructType *STy = dyn_cast<StructType>(Ty))
369 for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end();
374 TypeID = &TypeMap[Ty];
385 Types.push_back(Ty);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp79 Type *Ty = AI->getAllocatedType(); local
80 uint64_t TySize = TLI->getDataLayout()->getTypeAllocSize(Ty);
82 std::max((unsigned)TLI->getDataLayout()->getPrefTypeAlignment(Ty),
93 (TySize >= 8 && isa<ArrayType>(Ty) &&
94 cast<ArrayType>(Ty)->getElementType()->isIntegerTy(8)));
223 unsigned FunctionLoweringInfo::CreateRegs(Type *Ty) { argument
227 ComputeValueVTs(*TLI, Ty, ValueVTs);
232 MVT RegisterVT = TLI->getRegisterType(Ty->getContext(), ValueVT);
234 unsigned NumRegs = TLI->getNumRegisters(Ty->getContext(), ValueVT);
269 Type *Ty local
[all...]
/external/llvm/lib/CodeGen/
H A DStackProtector.cpp82 bool ContainsProtectableArray(Type *Ty, bool Strong = false,
139 bool StackProtector::ContainsProtectableArray(Type *Ty, bool Strong, argument
141 if (!Ty) return false;
142 if (ArrayType *AT = dyn_cast<ArrayType>(Ty)) {
160 const StructType *ST = dyn_cast<StructType>(Ty);
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp54 GenericValue Src2, Type *Ty) {
55 switch (Ty->getTypeID()) {
59 dbgs() << "Unhandled type for FAdd instruction: " << *Ty << "\n";
65 GenericValue Src2, Type *Ty) {
66 switch (Ty->getTypeID()) {
70 dbgs() << "Unhandled type for FSub instruction: " << *Ty << "\n";
76 GenericValue Src2, Type *Ty) {
77 switch (Ty->getTypeID()) {
81 dbgs() << "Unhandled type for FMul instruction: " << *Ty << "\n";
87 GenericValue Src2, Type *Ty) {
53 executeFAddInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument
64 executeFSubInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument
75 executeFMulInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument
86 executeFDivInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument
97 executeFRemInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument
136 executeICMP_EQ(GenericValue Src1, GenericValue Src2, Type *Ty) argument
150 executeICMP_NE(GenericValue Src1, GenericValue Src2, Type *Ty) argument
164 executeICMP_ULT(GenericValue Src1, GenericValue Src2, Type *Ty) argument
1845 Type * Ty = CE->getOperand(0)->getType(); local
[all...]
/external/llvm/lib/IR/
H A DGlobals.cpp84 GlobalVariable::GlobalVariable(Type *Ty, bool constant, LinkageTypes Link, argument
89 : GlobalValue(PointerType::get(Ty, AddressSpace),
96 assert(InitVal->getType() == Ty &&
104 GlobalVariable::GlobalVariable(Module &M, Type *Ty, bool constant, argument
110 : GlobalValue(PointerType::get(Ty, AddressSpace),
117 assert(InitVal->getType() == Ty &&
195 GlobalAlias::GlobalAlias(Type *Ty, LinkageTypes Link, argument
198 : GlobalValue(Ty, Value::GlobalAliasVal, &Op<0>(), 1, Link, Name) {
202 assert(aliasee->getType() == Ty && "Alias and aliasee types should match!");
H A DInlineAsm.cpp28 InlineAsm *InlineAsm::get(FunctionType *Ty, StringRef AsmString, argument
33 LLVMContextImpl *pImpl = Ty->getContext().pImpl;
34 return pImpl->InlineAsms.getOrCreate(PointerType::getUnqual(Ty), Key);
37 InlineAsm::InlineAsm(PointerType *Ty, const std::string &asmString, argument
40 : Value(Ty, Value::InlineAsmVal),
246 bool InlineAsm::Verify(FunctionType *Ty, StringRef ConstStr) { argument
247 if (Ty->isVarArg()) return false;
280 if (!Ty->getReturnType()->isVoidTy()) return false;
283 if (Ty->getReturnType()->isStructTy()) return false;
286 StructType *STy = dyn_cast<StructType>(Ty
[all...]
/external/llvm/lib/Target/ARM/
H A DARMConstantPoolValue.cpp29 ARMConstantPoolValue::ARMConstantPoolValue(Type *Ty, unsigned id, argument
34 : MachineConstantPoolValue(Ty), LabelId(id), Kind(kind),
106 ARMConstantPoolConstant::ARMConstantPoolConstant(Type *Ty, argument
113 : ARMConstantPoolValue(Ty, ID, Kind, PCAdj, Modifier, AddCurrentAddress),
H A DARMTargetTransformInfo.cpp42 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const;
80 virtual unsigned getIntImmCost(const APInt &Imm, Type *Ty) const;
129 unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty,
147 unsigned ARMTTI::getIntImmCost(const APInt &Imm, Type *Ty) const {
148 assert(Ty->isIntegerTy());
150 unsigned Bits = Ty->getPrimitiveSizeInBits();
430 unsigned ARMTTI::getAddressComputationCost(Type *Ty, bool IsComplex) const { argument
437 if (Ty->isVectorTy() && IsComplex)
475 unsigned ARMTTI::getArithmeticInstrCost(unsigned Opcode, Type *Ty, OperandValueKind Op1Info, argument
479 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Ty);
[all...]
/external/llvm/lib/Target/Mips/
H A DMips16ISelDAGToDAG.cpp45 Mips16DAGToDAGISel::selectMULT(SDNode *N, unsigned Opc, SDLoc DL, EVT Ty, argument
54 Lo = CurDAG->getMachineNode(Opcode, DL, Ty, MVT::Glue, InFlag);
59 Hi = CurDAG->getMachineNode(Opcode, DL, Ty, InFlag);
/external/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,
127 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2");
168 unsigned X86TTI::getArithmeticInstrCost(unsigned Opcode, Type *Ty, argument
172 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Ty);
340 return TargetTransformInfo::getArithmeticInstrCost(Opcode, Ty, Op1Info,
543 unsigned X86TTI::getScalarizationOverhead(Type *Ty, bool Insert, argument
545 assert (Ty->isVectorTy() && "Can only scalarize vectors");
548 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) {
550 Cost += TopTTI->getVectorInstrCost(Instruction::InsertElement, Ty,
604 getAddressComputationCost(Type *Ty, bool IsComplex) const argument
[all...]
/external/llvm/lib/Transforms/IPO/
H A DPassManagerBuilder.cpp80 PassManagerBuilder::ExtensionPointTy Ty,
82 GlobalExtensions->push_back(std::make_pair(Ty, Fn));
85 void PassManagerBuilder::addExtension(ExtensionPointTy Ty, ExtensionFn Fn) { argument
86 Extensions.push_back(std::make_pair(Ty, Fn));
79 addGlobalExtension( PassManagerBuilder::ExtensionPointTy Ty, PassManagerBuilder::ExtensionFn Fn) argument
/external/llvm/lib/Transforms/Scalar/
H A DGlobalMerge.cpp164 Type *Ty = Globals[j]->getType()->getElementType(); local
165 MergedSize += TD->getTypeAllocSize(Ty);
169 Tys.push_back(Ty);
256 Type *Ty = I->getType()->getElementType(); local
257 if (Alignment > TD->getABITypeAlignment(Ty))
269 if (TD->getTypeAllocSize(Ty) < MaxOffset) {
/external/llvm/utils/TableGen/
H A DCodeGenTarget.h191 MVT::SimpleValueType Ty; member in class:llvm::ComplexPattern
200 MVT::SimpleValueType getValueType() const { return Ty; }
/external/valgrind/main/mpi/
H A Dmpiwrap_type_test.c16 typedef MPI_Datatype Ty; typedef
24 static Ty tycon_Contiguous ( int count, Ty t )
26 Ty t2;
32 static Ty tycon_Struct2 ( int d1, int copies1, Ty t1,
33 int d2, int copies2, Ty t2 )
37 Ty tys[2];
38 Ty tres;
51 static Ty tycon_Vecto
[all...]
/external/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp393 bool isNSAutoreleasePool(QualType Ty) { argument
394 QualType pointee = Ty->getPointeeType();
/external/clang/lib/AST/
H A DCXXInheritance.cpp146 const RecordType *Ty = I->getType()->getAs<RecordType>(); local
147 if (!Ty) {
154 cast_or_null<CXXRecordDecl>(Ty->getDecl()->getDefinition());

Completed in 615 milliseconds

12345678910