HomeSort by relevance Sort by last modified time
    Searched defs:Ty (Results 1 - 25 of 120) sorted by null

1 2 3 4 5

  /external/llvm/test/FrontendC++/
2005-02-27-PlacementArrayNewCrash.cpp 4 typedef double Ty[4];
6 void foo(Ty *XX) {
7 new(XX) Ty();
  /external/clang/lib/CodeGen/
CodeGenTBAA.cpp 104 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr();
106 if (llvm::MDNode *N = MetadataCache[Ty])
110 if (const BuiltinType *BTy = dyn_cast<BuiltinType>(Ty)) {
139 return MetadataCache[Ty] =
147 if (Ty->isPointerType())
148 return MetadataCache[Ty] = getTBAAInfoForNamedType("any pointer",
153 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) {
160 return MetadataCache[Ty] = getChar();
168 return MetadataCache[Ty] = getChar();
176 return MetadataCache[Ty] = getTBAAInfoForNamedType(OutName, getChar())
    [all...]
CGCXX.cpp 299 llvm::Value *This, llvm::Type *Ty) {
300 Ty = Ty->getPointerTo()->getPointerTo();
302 llvm::Value *VTable = CGF.GetVTablePtr(This, Ty);
310 llvm::Type *Ty) {
314 return ::BuildVirtualCall(*this, VTableIndex, This, Ty);
323 llvm::Type *Ty) {
338 Ty = Ty->getPointerTo()->getPointerTo();
339 VTable = Builder.CreateBitCast(VTable, Ty);
    [all...]
CGCXXABI.cpp 63 llvm::Type *Ty = CGF.ConvertType(MPT->getPointeeType())->getPointerTo();
64 return llvm::Constant::getNullValue(Ty);
CGCall.h 49 QualType Ty;
51 CallArg(RValue rv, QualType ty, bool needscopy)
52 : RV(rv), Ty(ty), NeedsCopy(needscopy)
CodeGenTypes.cpp 49 llvm::StructType *Ty,
77 Ty->setName(OS.str());
99 bool CodeGenTypes::isRecordLayoutComplete(const Type *Ty) const {
101 RecordDeclTypes.find(Ty);
192 bool CodeGenTypes::isFuncTypeArgumentConvertible(QualType Ty) {
194 const TagType *TT = Ty->getAs<TagType>();
284 const Type *Ty = T.getTypePtr();
287 if (const RecordType *RT = dyn_cast<RecordType>(Ty))
291 llvm::DenseMap<const Type *, llvm::Type *>::iterator TCI = TypeCache.find(Ty);
298 switch (Ty->getTypeClass())
    [all...]
  /external/llvm/unittests/VMCore/
VerifierTest.cpp 50 Type *Ty = Type::getInt8Ty(C);
51 Constant *Init = Constant::getNullValue(Ty);
52 GlobalVariable *Aliasee = new GlobalVariable(M, Ty, true,
  /external/clang/lib/AST/
ASTDiagnostic.cpp 28 const Type *Ty = QC.strip(QT);
31 if (const ElaboratedType *ET = dyn_cast<ElaboratedType>(Ty)) {
36 if (const ParenType *PT = dyn_cast<ParenType>(Ty)) {
42 dyn_cast<SubstTemplateTypeParmType>(Ty)) {
47 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) {
52 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) {
61 = dyn_cast<TemplateSpecializationType>(Ty))
66 if (QualType(Ty,0) == Context.getObjCIdType() ||
67 QualType(Ty,0) == Context.getObjCClassType() ||
68 QualType(Ty,0) == Context.getObjCSelType() |
    [all...]
MicrosoftMangle.cpp 235 QualType Ty = VD->getType();
236 if (Ty->isPointerType() || Ty->isReferenceType()) {
237 mangleType(Ty);
239 } else if (Ty->isArrayType()) {
241 mangleType(cast<ArrayType>(Ty.getTypePtr()), true);
244 mangleType(Ty.getLocalUnqualifiedType());
245 mangleQualifiers(Ty.getLocalQualifiers(), false);
    [all...]
  /external/llvm/include/llvm/CodeGen/
MachineConstantPool.h 37 Type *Ty;
40 explicit MachineConstantPoolValue(Type *ty) : Ty(ty) {}
45 Type *getType() const { return Ty; }
  /external/llvm/lib/Target/
Mangler.cpp 162 Type *Ty = AI->getType();
165 Ty = cast<PointerType>(Ty)->getElementType();
167 ArgWords += ((TD.getTypeAllocSize(Ty) + 3)/4)*4;
TargetData.cpp 52 Type *Ty = ST->getElementType(i);
53 unsigned TyAlign = ST->isPacked() ? 1 : TD.getABITypeAlignment(Ty);
63 StructSize += TD.getTypeAllocSize(Ty); // Consume space for this data item
264 Type *Ty) const {
300 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType());
301 Align *= cast<VectorType>(Ty)->getNumElements();
346 const StructLayout *TargetData::getStructLayout(StructType *Ty) const {
351 StructLayout *&SL = (*STM)[Ty];
356 int NumElts = Ty->getNumElements();
364 new (L) StructLayout(Ty, *this)
    [all...]
  /external/llvm/unittests/Analysis/
ScalarEvolutionTest.cpp 31 Type *Ty = Type::getInt1Ty(Context);
32 Constant *Init = Constant::getNullValue(Ty);
33 Value *V0 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V0");
34 Value *V1 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V1");
35 Value *V2 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V2");
  /external/clang/tools/libclang/
CXType.cpp 394 QualType Ty;
396 Ty = Ctx.getTypeDeclType(TD);
398 Ty = VD->getType();
400 Ctx.getObjCEncodingForType(Ty, encoding);
  /external/llvm/lib/Target/ARM/
ARMGlobalMerge.cpp 134 Type *Ty = Globals[j]->getType()->getElementType();
135 MergedSize += TD->getTypeAllocSize(Ty);
139 Tys.push_back(Ty);
179 Type *Ty = I->getType()->getElementType();
180 if (Alignment > TD->getABITypeAlignment(Ty))
188 if (TD->getTypeAllocSize(Ty) < MaxOffset) {
  /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/include/clang/Index/
ASTLocation.h 67 } Ty;
94 Ty.TyPtr = tyLoc.getType().getAsOpaquePtr();
95 Ty.Data = tyLoc.getOpaqueData();
124 return TypeLoc(QualType::getFromOpaquePtr(Ty.TyPtr), Ty.Data);
  /external/clang/lib/Sema/
SemaCXXScopeSpec.cpp 33 const Type *Ty = T->getCanonicalTypeInternal().getTypePtr();
34 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) {
47 } else if (isa<InjectedClassNameType>(Ty))
48 return cast<InjectedClassNameType>(Ty)->getDecl();
    [all...]
  /external/clang/test/PCH/
cxx-templates.h 45 typedef typename T::type Ty;
47 Ty x = Ty();
  /external/llvm/include/llvm/Analysis/
ScalarEvolutionExpressions.h 60 Type *Ty;
63 unsigned SCEVTy, const SCEV *op, Type *ty);
67 Type *getType() const { return Ty; }
86 const SCEV *op, Type *ty);
104 const SCEV *op, Type *ty);
122 const SCEV *op, Type *ty);
  /external/llvm/lib/AsmParser/
LLParser.cpp 522 Type *Ty = 0;
526 ParseType(Ty, TyLoc) ||
654 Type *Ty = 0;
660 ParseType(Ty, TyLoc))
669 if (ParseGlobalValue(Ty, Init))
673 if (Ty->isFunctionTy() || Ty->isLabelTy())
695 GV = new GlobalVariable(*M, Ty, false, GlobalValue::ExternalLinkage, 0,
698 if (GV->getType()->getElementType() != Ty)
747 GlobalValue *LLParser::GetGlobalVal(const std::string &Name, Type *Ty,
    [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
FunctionLoweringInfo.cpp 81 Type *Ty = AI->getAllocatedType();
82 uint64_t TySize = TLI.getTargetData()->getTypeAllocSize(Ty);
84 std::max((unsigned)TLI.getTargetData()->getPrefTypeAlignment(Ty),
95 (TySize > 8 && isa<ArrayType>(Ty) &&
96 cast<ArrayType>(Ty)->getElementType()->isIntegerTy(8)));
219 unsigned FunctionLoweringInfo::CreateRegs(Type *Ty) {
221 ComputeValueVTs(TLI, Ty, ValueVTs);
226 EVT RegisterVT = TLI.getRegisterType(Ty->getContext(), ValueVT);
228 unsigned NumRegs = TLI.getNumRegisters(Ty->getContext(), ValueVT);
263 Type *Ty = PN->getType()
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineShifts.cpp 90 uint32_t BitWidth = Ty->getScalarSizeInBits();
94 return CanEvaluateTruncated(I->getOperand(0), Ty);
531 IntegerType *Ty = cast<IntegerType>(I.getType());
544 ConstantInt::get(Ty, AmtSum));
570 Value *Shift = Builder->CreateShl(X, ConstantInt::get(Ty, ShiftDiff));
581 Value *Shift = Builder->CreateLShr(X, ConstantInt::get(Ty, ShiftDiff));
597 ConstantInt::get(Ty, ShiftDiff));
607 Value *Shift = Builder->CreateShl(X, ConstantInt::get(Ty, ShiftDiff));
  /external/llvm/lib/VMCore/
Value.cpp 38 static inline Type *checkType(Type *Ty) {
39 assert(Ty && "Value defined with a null type: Error!");
40 return const_cast<Type*>(Ty);
43 Value::Value(Type *ty, unsigned scid)
45 SubclassOptionalData(0), SubclassData(0), VTy((Type*)checkType(ty)),
372 Type *Ty = *GTI++;
374 if (isa<StructType>(Ty))
383 ArrayType *ATy = dyn_cast<ArrayType>(Ty);
  /external/llvm/utils/TableGen/
CodeGenTarget.h 175 MVT::SimpleValueType Ty;
184 MVT::SimpleValueType getValueType() const { return Ty; }

Completed in 324 milliseconds

1 2 3 4 5