Searched refs:Ty (Results 126 - 150 of 340) sorted by relevance

1234567891011>>

/external/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.h100 virtual bool isLegalAddressingMode(const AddrMode &AM, Type *Ty) const;
166 Type *Ty, unsigned Idx) const;
/external/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp83 static bool isZeroLengthArray(Type *Ty) { argument
84 ArrayType *AT = dyn_cast<ArrayType>(Ty);
/external/llvm/utils/TableGen/
H A DCodeGenTarget.h191 MVT::SimpleValueType Ty; member in class:llvm::ComplexPattern
200 MVT::SimpleValueType getValueType() const { return Ty; }
/external/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdater.h63 /// type 'Ty'.
66 void Initialize(Type *Ty, StringRef Name);
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp133 static int GetDecodedBinaryOpcode(unsigned Val, Type *Ty) { argument
137 return Ty->isFPOrFPVectorTy() ? Instruction::FAdd : Instruction::Add;
139 return Ty->isFPOrFPVectorTy() ? Instruction::FSub : Instruction::Sub;
141 return Ty->isFPOrFPVectorTy() ? Instruction::FMul : Instruction::Mul;
144 return Ty->isFPOrFPVectorTy() ? Instruction::FDiv : Instruction::SDiv;
147 return Ty->isFPOrFPVectorTy() ? Instruction::FRem : Instruction::SRem;
206 explicit ConstantPlaceHolder(Type *Ty, LLVMContext& Context) argument
207 : ConstantExpr(Ty, Instruction::UserOp1, &Op<0>(), 1) {
261 Type *Ty) {
266 assert(Ty
260 getConstantFwdRef(unsigned Idx, Type *Ty) argument
276 getValueFwdRef(unsigned Idx, Type *Ty) argument
1054 Type *Ty = getTypeByID(Record[i]); local
[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 DARMSelectionDAGInfo.cpp160 Entry.Ty = IntPtrTy;
165 Entry.Ty = IntPtrTy;
177 Entry.Ty = Type::getInt32Ty(*DAG.getContext());
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/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/clang/lib/Parse/
H A DParseExprCXX.cpp1182 TypeResult Ty = ParseTypeName(); local
1187 if (Ty.isInvalid() || RParenLoc.isInvalid())
1191 Ty.get().getAsOpaquePtr(), RParenLoc);
1230 TypeResult Ty = ParseTypeName(); local
1235 if (Ty.isInvalid())
1239 Ty.get().getAsOpaquePtr(),
2147 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), D); local
2148 if (Ty.isInvalid())
2152 Result.setConversionFunctionId(KeywordLoc, Ty.get(),
2221 ParsedType Ty local
2259 ParsedType Ty = Actions.getTypeName(*TemplateId->Name, local
2347 ParsedType Ty = Actions.getDestructorName(TildeLoc, *ClassName, local
2794 TypeResult Ty = ParseTypeName(); local
2982 TypeResult Ty = ParseTypeName(); local
[all...]
/external/clang/lib/CodeGen/
H A DCGVTables.cpp55 llvm::Type *Ty = getTypes().GetFunctionTypeForVTable(GD); local
56 return GetOrCreateLLVMFunction(Name, Ty, GD, /*ForVTable=*/true);
232 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FnInfo); local
233 llvm::Value *Callee = CGM.GetAddrOfFunction(GD, Ty, /*ForVTable=*/true);
347 llvm::Type *Ty = local
349 llvm::Value *Callee = CGM.GetAddrOfFunction(GD, Ty, /*ForVTable=*/true);
583 llvm::FunctionType *Ty = local
586 PureVirtualFn = CGM.CreateRuntimeFunction(Ty, PureCallName);
593 llvm::FunctionType *Ty = local
597 DeletedVirtualFn = CGM.CreateRuntimeFunction(Ty, DeletedCallNam
613 llvm::Type *Ty = CGM.getTypes().GetFunctionTypeForVTable(GD); local
[all...]
H A DCodeGenFunction.cpp615 QualType Ty; local
617 Ty = PVD->getOriginalType();
619 Ty = VD->getType();
621 if (Ty->isVariablyModifiedType())
622 EmitVariablyModifiedType(Ty);
1012 CodeGenFunction::EmitNullInitialization(llvm::Value *DestPtr, QualType Ty) { argument
1015 if (const RecordType *RT = Ty->getAs<RecordType>()) {
1030 getContext().getTypeInfoInChars(Ty);
1042 getContext().getAsArrayType(Ty))) {
1064 if (!CGM.getTypes().isZeroInitializable(Ty)) {
[all...]
H A DCGExprScalar.cpp46 QualType Ty; // Computation Type. member in struct:__anon15207::BinOpInfo
122 Value *EmitNullValue(QualType Ty);
408 if (Ops.Ty->isSignedIntegerOrEnumerationType()) {
421 if (Ops.Ty->isUnsignedIntegerType() && CGF.SanOpts->UnsignedIntegerOverflow)
830 Value *ScalarExprEmitter::EmitNullValue(QualType Ty) { argument
831 return CGF.EmitFromMemory(CGF.CGM.EmitNullConstant(Ty), Ty);
864 StaticData.push_back(CGF.EmitCheckTypeDescriptor(Info.Ty));
873 StaticData.push_back(CGF.EmitCheckTypeDescriptor(Info.Ty));
1444 BinOp.Ty
2040 llvm::IntegerType *Ty = cast<llvm::IntegerType>(Zero->getType()); local
2483 llvm::IntegerType *Ty; local
[all...]
H A DCGExprAgg.cpp568 QualType Ty = E->getSubExpr()->getType(); local
569 QualType PtrTy = CGF.getContext().getPointerType(Ty);
573 CGF.MakeAddrLValue(CastPtr, Ty));
1369 llvm::Value *SrcPtr, QualType Ty,
1373 assert(!Ty->isAnyComplexType() && "Shouldn't happen for complex");
1376 if (const RecordType *RT = Ty->getAs<RecordType>()) {
1405 TypeInfo = getContext().getTypeInfoDataSizeInChars(Ty);
1407 TypeInfo = getContext().getTypeInfoInChars(Ty);
1440 } else if (const RecordType *RecordTy = Ty->getAs<RecordType>()) {
1450 } else if (Ty
1368 EmitAggregateCopy(llvm::Value *DestPtr, llvm::Value *SrcPtr, QualType Ty, bool isVolatile, CharUnits alignment, bool isAssignment) argument
[all...]
/external/clang/test/PCH/
H A Dcxx-templates.h45 typedef typename T::type Ty; typedef in struct:Dep
47 Ty x = Ty();
/external/llvm/include/llvm/IR/
H A DMDBuilder.h89 Type *Ty = IntegerType::get(Context, Lo.getBitWidth());
90 Value *Range[2] = { ConstantInt::get(Ty, Lo), ConstantInt::get(Ty, Hi) };
H A DValue.h94 Value(Type *Ty, unsigned scid);
323 void mutateType(Type *Ty) { argument
324 VTy = Ty;
H A DInstructions.h64 explicit AllocaInst(Type *Ty, Value *ArraySize = 0,
66 AllocaInst(Type *Ty, Value *ArraySize,
69 AllocaInst(Type *Ty, const Twine &Name, Instruction *InsertBefore = 0);
70 AllocaInst(Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd);
72 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align,
74 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align,
703 inline Type *checkGEPType(Type *Ty) { argument
704 assert(Ty && "Invalid GetElementPtrInst indices for type!");
705 return Ty;
1519 VAArgInst(Value *List, Type *Ty, cons argument
1524 VAArgInst(Value *List, Type *Ty, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
1996 PHINode(Type *Ty, unsigned NumReservedValues, const Twine &NameStr = �, Instruction *InsertBefore = 0) argument
2004 PHINode(Type *Ty, unsigned NumReservedValues, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
2021 Create(Type *Ty, unsigned NumReservedValues, const Twine &NameStr = �, Instruction *InsertBefore = 0) argument
2026 Create(Type *Ty, unsigned NumReservedValues, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp52 static bool IsCompleteType(ASTContext &Ctx, QualType Ty) { argument
53 if (const RecordType *RT = Ty->getAs<RecordType>()) {
226 static bool regionMatchesCXXRecordType(SVal V, QualType Ty) { argument
239 const CXXRecordDecl *Expected = Ty->getPointeeCXXRecordDecl();
241 Expected = Ty->getAsCXXRecordDecl();
/external/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h143 template<typename Ty, typename IterTy>
145 : public std::iterator<std::bidirectional_iterator_tag, Ty, ptrdiff_t> {
151 bundle_iterator(Ty &mi) : MII(mi) {
155 bundle_iterator(Ty *mi) : MII(mi) {
165 Ty &operator*() const { return *MII; }
166 Ty *operator->() const { return &operator*(); }
168 operator Ty*() const { return MII; }
/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/Transforms/Vectorize/
H A DSLPVectorizer.cpp179 Type *Ty = VL[0]->getType(); local
181 if (VL[i]->getType() != Ty)
184 return Ty;
293 int getGatherCost(Type *Ty);
315 Value *Gather(ArrayRef<Value *> VL, VectorType *Ty);
686 Type *Ty = cast<Instruction>(VL[i])->getOperand(0)->getType(); local
687 if (Ty != SrcTy || Ty->isAggregateType() || Ty->isVectorTy()) {
940 int BoUpSLP::getGatherCost(Type *Ty) { argument
1003 Type *Ty = cast<PointerType>(PtrA->getType())->getElementType(); local
1105 Gather(ArrayRef<Value *> VL, VectorType *Ty) argument
1448 Type *Ty = Scalar->getType(); local
1768 Type *Ty = SI->getValueOperand()->getType(); local
1805 Type *Ty = VL[i]->getType(); local
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp91 uint32_t BitWidth = Ty->getScalarSizeInBits();
95 return CanEvaluateTruncated(I->getOperand(0), Ty);
549 IntegerType *Ty = cast<IntegerType>(I.getType()); local
563 ConstantInt::get(Ty, AmtSum));
585 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
596 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
617 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
634 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
644 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
665 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDif
[all...]
/external/llvm/include/llvm/ADT/
H A Dilist.h138 template<typename Ty>
139 struct ilist_traits<const Ty> : public ilist_traits<Ty> {};
714 template<class Ty>
715 void swap(llvm::iplist<Ty> &Left, llvm::iplist<Ty> &Right) {
/external/llvm/lib/IR/
H A DValue.cpp39 static inline Type *checkType(Type *Ty) { argument
40 assert(Ty && "Value defined with a null type: Error!");
41 return const_cast<Type*>(Ty);
434 Type *Ty = *GTI++; local
436 if (isa<StructType>(Ty))
445 ArrayType *ATy = dyn_cast<ArrayType>(Ty);

Completed in 1114 milliseconds

1234567891011>>