/external/clang/lib/AST/ |
MangleNumberingContext.cpp | 36 const Type *Ty = 0; 37 return ++ManglingNumbers[Ty];
|
/external/llvm/lib/Target/Hexagon/ |
HexagonTargetObjectFile.cpp | 81 Type *Ty = GV->getType()->getElementType(); 82 return IsInSmallSection(TM.getDataLayout()->getTypeAllocSize(Ty));
|
/external/clang/lib/StaticAnalyzer/Core/ |
ConstraintManager.cpp | 30 QualType Ty = Sym->getType(); 31 DefinedSVal V = Loc::isLocType(Ty) ? getLocFromSymbol(State, Sym)
|
/external/llvm/lib/Transforms/IPO/ |
ExtractGV.cpp | 106 Type *Ty = CurI->getType()->getElementType(); 110 if (FunctionType *FTy = dyn_cast<FunctionType>(Ty)) { 116 new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage,
|
/external/llvm/lib/Transforms/Utils/ |
ModuleUtils.cpp | 27 StructType *Ty = StructType::get( 31 Ty, IRB.getInt32(Priority), F, NULL);
|
/external/llvm/unittests/IR/ |
VerifierTest.cpp | 50 Type *Ty = Type::getInt8Ty(C); 51 Constant *Init = Constant::getNullValue(Ty); 52 GlobalVariable *Aliasee = new GlobalVariable(M, Ty, true,
|
/external/clang/test/Analysis/inlining/ |
inline-defensive-checks.cpp | 40 typedef const int *Ty; 42 Ty notNullArg(Ty cf) __attribute__((nonnull)); 44 extern Ty getTyVal(); 45 inline void radar13224271_callee(Ty def, Ty& result ) { 52 Ty value;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
DynamicTypePropagation.cpp | 52 QualType Ty = Ctx.getPointerType(Ctx.getRecordType(MD->getParent())); 55 State = State->setDynamicTypeInfo(Region, Ty, /*CanBeSubclass=*/false);
|
StackAddrEscapeChecker.cpp | 82 QualType Ty = TOR->getValueType().getLocalUnqualifiedType(); 84 Ty.print(os, Ctx.getPrintingPolicy());
|
/external/llvm/include/llvm/CodeGen/ |
MachineConstantPool.h | 38 Type *Ty; 41 explicit MachineConstantPoolValue(Type *ty) : Ty(ty) {} 46 Type *getType() const { return Ty; }
|
/external/llvm/lib/IR/ |
DataLayout.cpp | 52 Type *Ty = ST->getElementType(i); 53 unsigned TyAlign = ST->isPacked() ? 1 : DL.getABITypeAlignment(Ty); 63 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item 357 Type *Ty) const { 393 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType()); 394 Align *= cast<VectorType>(Ty)->getNumElements(); 445 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const { 450 StructLayout *&SL = (*STM)[Ty]; 455 int NumElts = Ty->getNumElements(); 463 new (L) StructLayout(Ty, *this) [all...] |
/external/llvm/lib/Target/ |
Mangler.cpp | 170 Type *Ty = AI->getType(); 173 Ty = cast<PointerType>(Ty)->getElementType(); 175 ArgWords += ((TD.getTypeAllocSize(Ty) + 3)/4)*4;
|
/frameworks/compile/slang/ |
slang_rs_check_ast.cpp | 57 const clang::Type *Ty; 60 Ty = ImplCast->getSubExpr()->getType()->getPointeeType() 62 VectorTy = clang::dyn_cast_or_null<clang::VectorType>(Ty); 69 Ty->getUnqualifiedDesugaredType());
|
/external/clang/lib/CodeGen/ |
CGCXX.cpp | 277 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, RD) [all...] |
CodeGenTBAA.cpp | 103 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); 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] = getChar() [all...] |
CGCXXABI.cpp | 60 llvm::Type *Ty = CGF.ConvertType(MPT->getPointeeType())->getPointerTo(); 61 return llvm::Constant::getNullValue(Ty);
|
CodeGenTypes.cpp | 52 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) { 197 const TagType *TT = Ty->getAs<TagType>(); 296 const Type *Ty = T.getTypePtr(); 299 if (const RecordType *RT = dyn_cast<RecordType>(Ty)) 303 llvm::DenseMap<const Type *, llvm::Type *>::iterator TCI = TypeCache.find(Ty); 310 switch (Ty->getTypeClass()) [all...] |
/external/clang/test/Misc/ |
integer-literal-printing.cpp | 15 template <> struct Type3Helper<boolTy::b> { typedef boolTy Ty; }; 16 template <boolTy T, typename Type3Helper<T>::Ty U> struct Type3 {}; 24 template <> struct Type4Helper<charTy::c> { typedef charTy Ty; }; 25 template <charTy T, typename Type4Helper<T>::Ty U> struct Type4 {}; 32 template <> struct Type5Helper<scharTy::c> { typedef scharTy Ty; }; 33 template <scharTy T, typename Type5Helper<T>::Ty U> struct Type5 {}; 40 template <> struct Type6Helper<ucharTy::c> { typedef ucharTy Ty; }; 41 template <ucharTy T, typename Type6Helper<T>::Ty U> struct Type6 {}; 48 template <> struct Type7Helper<wcharTy::c> { typedef wcharTy Ty; }; 49 template <wcharTy T, typename Type7Helper<T>::Ty U> struct Type7 {} [all...] |
/external/llvm/include/llvm/ADT/ |
PointerUnion.h | 121 UNION_DOESNT_CONTAIN_TYPE<T> > >::Return Ty; 122 int TyNo = Ty::Num; 269 >::Return Ty; 270 return Ty(Val).template is<T>(); 282 >::Return Ty; 283 return Ty(Val).template get<T>(); 377 >::Return Ty; 378 return Val.template is<Ty>() && 379 Val.template get<Ty>().template is<T>(); 391 >::Return Ty; [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
Execution.cpp | 48 #define IMPLEMENT_BINARY_OPERATOR(OP, TY) \ 49 case Type::TY##TyID: \ 50 Dest.TY##Val = Src1.TY##Val OP Src2.TY##Val; \ 54 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()) [all...] |
/external/llvm/unittests/Analysis/ |
ScalarEvolutionTest.cpp | 46 Type *Ty = Type::getInt1Ty(Context); 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); 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, 2), A[1], B[2])) [all...] |
/external/valgrind/main/mpi/ |
mpiwrap_type_test.c | 16 typedef MPI_Datatype Ty; 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_Vector ( int count, int blocklen, int stride, Ty t [all...] |
/external/clang/lib/Analysis/ |
BodyFarm.cpp | 28 static bool isDispatchBlock(QualType Ty) { 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) { 123 return new (C) UnaryOperator(const_cast<Expr*>(Arg), UO_Deref, Ty, [all...] |
/external/clang/lib/Sema/ |
SemaCXXScopeSpec.cpp | 34 const Type *Ty = T->getCanonicalTypeInternal().getTypePtr(); 35 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { 42 } else if (isa<InjectedClassNameType>(Ty)) 43 return cast<InjectedClassNameType>(Ty)->getDecl(); [all...] |
SemaStmtAsm.cpp | 173 const Type *Ty = Exprs[i]->getType().getTypePtr(); 174 if (Ty->isDependentType()) 177 if (!Ty->isVoidType() || !Info.allowsMemory()) 182 unsigned Size = Context.getTypeSize(Ty); 254 const Type *Ty = Exprs[ConstraintIdx]->getType().getTypePtr(); 255 if (Ty->isDependentType() || Ty->isIncompleteType()) 258 unsigned Size = Context.getTypeSize(Ty);
|