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

1 2 3 4 5

  /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 295 llvm::Value *This, llvm::Type *Ty) {
296 Ty = Ty->getPointerTo()->getPointerTo();
298 llvm::Value *VTable = CGF.GetVTablePtr(This, Ty);
306 llvm::Type *Ty) {
310 return ::BuildVirtualCall(*this, VTableIndex, This, Ty);
319 llvm::Type *Ty) {
334 Ty = Ty->getPointerTo()->getPointerTo();
335 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>();
285 const Type *Ty = T.getTypePtr();
288 if (const RecordType *RT = dyn_cast<RecordType>(Ty))
292 llvm::DenseMap<const Type *, llvm::Type *>::iterator TCI = TypeCache.find(Ty);
299 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
270 Type *Ty) const {
306 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType());
307 Align *= cast<VectorType>(Ty)->getNumElements();
352 const StructLayout *TargetData::getStructLayout(StructType *Ty) const {
357 StructLayout *&SL = (*STM)[Ty];
362 int NumElts = Ty->getNumElements();
370 new (L) StructLayout(Ty, *this)
    [all...]
  /external/clang/include/clang/Index/
ASTLocation.h 63 } Ty;
90 Ty.TyPtr = tyLoc.getType().getAsOpaquePtr();
91 Ty.Data = tyLoc.getOpaqueData();
120 return TypeLoc(QualType::getFromOpaquePtr(Ty.TyPtr), Ty.Data);
  /external/clang/tools/libclang/
CXType.cpp 430 QualType Ty;
432 Ty = Ctx.getTypeDeclType(TD);
434 Ty = VD->getType();
436 Ctx.getObjCEncodingForType(Ty, encoding);
  /external/llvm/lib/Transforms/Scalar/
GlobalMerge.cpp 140 Type *Ty = Globals[j]->getType()->getElementType();
141 MergedSize += TD->getTypeAllocSize(Ty);
145 Tys.push_back(Ty);
186 Type *Ty = I->getType()->getElementType();
187 if (Alignment > TD->getABITypeAlignment(Ty))
195 if (TD->getTypeAllocSize(Ty) < MaxOffset) {
  /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/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 525 Type *Ty = 0;
529 ParseType(Ty, TyLoc) ||
657 Type *Ty = 0;
663 ParseType(Ty, TyLoc))
672 if (ParseGlobalValue(Ty, Init))
676 if (Ty->isFunctionTy() || Ty->isLabelTy())
698 GV = new GlobalVariable(*M, Ty, false, GlobalValue::ExternalLinkage, 0,
701 if (GV->getType()->getElementType() != Ty)
750 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/Target/Mips/
MipsISelDAGToDAG.cpp 277 EVT Ty = Node->getValueType(0);
283 (Ty == MVT::i32 ? Mips::MULT : Mips::DMULT));
290 unsigned Opc = (Ty == MVT::i32 ? Mips::MFLO : Mips::MFLO64);
291 return CurDAG->getMachineNode(Opc, dl, Ty, InFlag);
  /external/llvm/lib/Transforms/InstCombine/
InstCombineShifts.cpp 91 uint32_t BitWidth = Ty->getScalarSizeInBits();
95 return CanEvaluateTruncated(I->getOperand(0), Ty);
540 IntegerType *Ty = cast<IntegerType>(I.getType());
553 ConstantInt::get(Ty, AmtSum));
579 Value *Shift = Builder->CreateShl(X, ConstantInt::get(Ty, ShiftDiff));
590 Value *Shift = Builder->CreateLShr(X, ConstantInt::get(Ty, ShiftDiff));
606 ConstantInt::get(Ty, ShiftDiff));
616 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 171 MVT::SimpleValueType Ty;
180 MVT::SimpleValueType getValueType() const { return Ty; }

Completed in 911 milliseconds

1 2 3 4 5