/external/llvm/lib/Target/CellSPU/ |
SPUISelLowering.h | 150 virtual bool isLegalAddressImmediate(int64_t V, Type *Ty) const; 182 Type *Ty) const;
|
/external/llvm/utils/TableGen/ |
CodeGenTarget.h | 171 MVT::SimpleValueType Ty; 180 MVT::SimpleValueType getValueType() const { return Ty; }
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.cpp | 123 static int GetDecodedBinaryOpcode(unsigned Val, Type *Ty) { 127 return Ty->isFPOrFPVectorTy() ? Instruction::FAdd : Instruction::Add; 129 return Ty->isFPOrFPVectorTy() ? Instruction::FSub : Instruction::Sub; 131 return Ty->isFPOrFPVectorTy() ? Instruction::FMul : Instruction::Mul; 134 return Ty->isFPOrFPVectorTy() ? Instruction::FDiv : Instruction::SDiv; 137 return Ty->isFPOrFPVectorTy() ? Instruction::FRem : Instruction::SRem; 158 explicit ConstantPlaceHolder(Type *Ty, LLVMContext& Context) 159 : ConstantExpr(Ty, Instruction::UserOp1, &Op<0>(), 1) { 214 Type *Ty) { 219 assert(Ty == V->getType() && "Type mismatch in constant table!") [all...] |
/external/llvm/lib/Target/ARM/ |
ARMConstantPoolValue.cpp | 29 ARMConstantPoolValue::ARMConstantPoolValue(Type *Ty, unsigned id, 34 : MachineConstantPoolValue(Ty), LabelId(id), Kind(kind), 107 ARMConstantPoolConstant::ARMConstantPoolConstant(Type *Ty, 114 : ARMConstantPoolValue(Ty, ID, Kind, PCAdj, Modifier, AddCurrentAddress),
|
ARMSelectionDAGInfo.cpp | 159 Entry.Ty = IntPtrTy; 164 Entry.Ty = IntPtrTy; 176 Entry.Ty = Type::getInt32Ty(*DAG.getContext());
|
ARMFastISel.cpp | 174 bool isTypeLegal(Type *Ty, MVT &VT); 175 bool isLoadTypeLegal(Type *Ty, MVT &VT); 685 bool ARMFastISel::isTypeLegal(Type *Ty, MVT &VT) { 686 EVT evt = TLI.getValueType(Ty, true); 697 bool ARMFastISel::isLoadTypeLegal(Type *Ty, MVT &VT) { 698 if (isTypeLegal(Ty, VT)) return true; 726 if (PointerType *Ty = dyn_cast<PointerType>(Obj->getType())) 727 if (Ty->getAddressSpace() > 255) [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/clang/lib/AST/ |
TypeLoc.cpp | 54 unsigned TypeLoc::getFullDataSizeForType(QualType Ty) { 55 if (Ty.isNull()) return 0; 56 return TypeSizer().Visit(TypeLoc(Ty, 0));
|
DeclarationName.cpp | 411 CanQualType Ty) { 422 assert(!Ty.hasQualifiers() &&"Constructor type must be unqualified"); 426 assert(!Ty.hasQualifiers() && "Destructor type must be unqualified"); 438 ID.AddPointer(Ty.getAsOpaquePtr()); 446 SpecialName->Type = Ty;
|
/external/llvm/include/llvm/ |
Function.h | 120 Function(FunctionType *Ty, LinkageTypes Linkage, 124 static Function *Create(FunctionType *Ty, LinkageTypes Linkage, 126 return new(0) Function(Ty, Linkage, N, M);
|
Type.h | 192 /// with a lossless BitCast to type 'Ty'. For example, i8* to i32*. BitCasts 195 /// @brief Determine if this type could be losslessly bitcast to Ty 196 bool canLosslesslyBitCastTo(Type *Ty) const; 362 static inline bool doit(const Type &Ty) { 363 return Ty.getTypeID() == Type::PointerTyID;
|
Value.h | 94 Value(Type *Ty, unsigned scid); 308 void mutateType(Type *Ty) { 309 VTy = Ty;
|
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.cpp | 110 static int GetDecodedBinaryOpcode(unsigned Val, Type *Ty) { 114 return Ty->isFPOrFPVectorTy() ? Instruction::FAdd : Instruction::Add; 116 return Ty->isFPOrFPVectorTy() ? Instruction::FSub : Instruction::Sub; 118 return Ty->isFPOrFPVectorTy() ? Instruction::FMul : Instruction::Mul; 121 return Ty->isFPOrFPVectorTy() ? Instruction::FDiv : Instruction::SDiv; 124 return Ty->isFPOrFPVectorTy() ? Instruction::FRem : Instruction::SRem; 183 explicit ConstantPlaceHolder(Type *Ty, LLVMContext& Context) 184 : ConstantExpr(Ty, Instruction::UserOp1, &Op<0>(), 1) { 239 Type *Ty) { 244 assert(Ty == V->getType() && "Type mismatch in constant table!") [all...] |
/external/clang/lib/Parse/ |
ParseExprCXX.cpp | 872 TypeResult Ty = ParseTypeName(); 877 if (Ty.isInvalid() || RParenLoc.isInvalid()) 881 Ty.get().getAsOpaquePtr(), RParenLoc); [all...] |
/external/clang/lib/CodeGen/ |
CodeGenFunction.cpp | 349 QualType Ty = (*i)->getType(); 351 if (Ty->isVariablyModifiedType()) 352 EmitVariablyModifiedType(Ty); 697 CodeGenFunction::EmitNullInitialization(llvm::Value *DestPtr, QualType Ty) { 700 if (const RecordType *RT = Ty->getAs<RecordType>()) { 715 getContext().getTypeInfoInChars(Ty); 727 getContext().getAsArrayType(Ty))) { 749 if (!CGM.getTypes().isZeroInitializable(Ty)) { 751 if (vla) Ty = getContext().getBaseElementType(vla); 753 llvm::Constant *NullConstant = CGM.EmitNullConstant(Ty); 923 const Type *ty = type.getTypePtr(); local [all...] |
CGExprComplex.cpp | 207 QualType Ty; // Computation Type. 561 if (Op.Ty->getAs<ComplexType>()->getElementType()->isUnsignedIntegerType()) { 580 Ops.Ty = E->getType(); 598 OpInfo.Ty = E->getComputationResultType(); 601 assert(OpInfo.Ty->isAnyComplexType()); 602 assert(CGF.getContext().hasSameUnqualifiedType(OpInfo.Ty, 611 OpInfo.LHS = EmitComplexToComplexCast(LHSComplexPair, LHSTy, OpInfo.Ty); 617 Result = EmitComplexToComplexCast(Result, OpInfo.Ty, LHSTy); 755 QualType Ty = E->getType()->getAs<ComplexType>()->getElementType(); 756 llvm::Type* LTy = CGF.ConvertType(Ty); [all...] |
CGVTables.cpp | 75 llvm::Type *Ty = getTypes().GetFunctionTypeForVTable(GD); 76 return GetOrCreateLLVMFunction(Name, Ty, GD, /*ForVTable=*/true); 247 llvm::Type *Ty = 249 llvm::Value *Callee = CGM.GetAddrOfFunction(GD, Ty, /*ForVTable=*/true); 354 llvm::Type *Ty = 357 llvm::Value *Callee = CGM.GetAddrOfFunction(GD, Ty, /*ForVTable=*/true); 573 llvm::FunctionType *Ty = 577 CGM.CreateRuntimeFunction(Ty, "__cxa_pure_virtual"); 594 llvm::Type *Ty = CGM.getTypes().GetFunctionTypeForVTable(GD); 596 Init = CGM.GetAddrOfFunction(GD, Ty, /*ForVTable=*/true) [all...] |
CGExprConstant.cpp | 283 llvm::Type *Ty = llvm::Type::getInt8Ty(CGM.getLLVMContext()); 285 Ty = llvm::ArrayType::get(Ty, PadSize.getQuantity()); 287 llvm::Constant *C = llvm::UndefValue::get(Ty); 319 llvm::Type *Ty = llvm::Type::getInt8Ty(CGM.getLLVMContext()); 321 Ty = llvm::ArrayType::get(Ty, NumChars.getQuantity()); 323 llvm::Constant *Padding = llvm::UndefValue::get(Ty); 548 llvm::Type *Ty = llvm::Type::getInt8Ty(VMContext); 550 Ty = llvm::ArrayType::get(Ty, NumPadBytes) [all...] |
/external/llvm/lib/Bitcode/Writer/ |
ValueEnumerator.cpp | 318 void ValueEnumerator::EnumerateType(Type *Ty) { 319 unsigned *TypeID = &TypeMap[Ty]; 328 if (StructType *STy = dyn_cast<StructType>(Ty)) 334 for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end(); 339 TypeID = &TypeMap[Ty]; 350 Types.push_back(Ty);
|
/frameworks/compile/slang/BitWriter_2_9/ |
ValueEnumerator.cpp | 318 void ValueEnumerator::EnumerateType(Type *Ty) { 319 unsigned *TypeID = &TypeMap[Ty]; 328 if (StructType *STy = dyn_cast<StructType>(Ty)) 334 for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end(); 339 TypeID = &TypeMap[Ty]; 350 Types.push_back(Ty);
|
/external/llvm/include/llvm/Support/ |
CommandLine.h | 290 template<class Ty> 292 const Ty &Init; 293 initializer(const Ty &Val) : Init(Val) {} 299 template<class Ty> 300 initializer<Ty> init(const Ty &Val) { 301 return initializer<Ty>(Val); 309 template<class Ty> 311 Ty &Loc; 312 LocationClass(Ty &L) : Loc(L) { [all...] |
/external/llvm/lib/CodeGen/ |
SjLjEHPrepare.cpp | 272 Type *Ty = AI->getType(); 276 if (isa<StructType>(Ty) || isa<ArrayType>(Ty) || isa<VectorType>(Ty)) { 373 Type *Ty = Type::getInt8PtrTy(F.getContext()); 374 Exn = CastInst::Create(Instruction::IntToPtr, Exn, Ty, "", InsertPt); 377 Ty = StructType::get(Exn->getType(), Sel->getType(), NULL); 378 InsertValueInst *LPadVal = InsertValueInst::Create(llvm::UndefValue::get(Ty), 553 Type *Ty = Type::getInt8PtrTy(F.getContext()); 554 Val = CastInst::Create(Instruction::IntToPtr, Val, Ty, "", I) [all...] |
/external/llvm/lib/VMCore/ |
Verifier.cpp | 301 bool PerformTypeCheck(Intrinsic::ID ID, Function *F, Type *Ty, 305 void VerifyParameterAttrs(Attributes Attrs, Type *Ty, 532 void Verifier::VerifyParameterAttrs(Attributes Attrs, Type *Ty, 554 Attributes TypeI = Attrs & Attribute::typeIncompatible(Ty); 559 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) { 583 Type *Ty; 585 Ty = FT->getReturnType(); 587 Ty = FT->getParamType(Attr.Index-1); 591 VerifyParameterAttrs(Attr.Attrs, Ty, Attr.Index == 0, V); [all...] |
/external/llvm/include/llvm/Target/ |
TargetLowering.h | 438 unsigned Ty = (unsigned)VT.getSimpleVT().SimpleTy; 439 return (LegalizeAction)((IndexedModeActions[Ty][IdxMode] & 0xf0) >> 4); 459 unsigned Ty = (unsigned)VT.getSimpleVT().SimpleTy; 460 return (LegalizeAction)(IndexedModeActions[Ty][IdxMode] & 0x0f); 522 EVT getValueType(Type *Ty, bool AllowUnknown = false) const { 523 EVT VT = EVT::getEVT(Ty, AllowUnknown); 530 virtual unsigned getByValTypeAlignment(Type *Ty) const; [all...] |
/external/clang/lib/Driver/ |
Driver.cpp | 870 types::ID Ty = types::TY_INVALID; 887 Ty = types::TY_C; 894 Ty = TC.LookupTypeForExtension(Ext + 1); 896 if (Ty == types::TY_INVALID) { 898 Ty = types::TY_C; 900 Ty = types::TY_Object; 906 types::ID OldTy = Ty; 907 Ty = types::lookupCXXTypeForCType(Ty); 909 if (Ty != OldTy [all...] |