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

1234567891011>>

/external/clang/lib/CodeGen/
H A DCGExprConstant.cpp73 llvm::Constant *Finalize(QualType Ty);
292 llvm::Type *Ty = CGM.Int8Ty;
294 Ty = llvm::ArrayType::get(Ty, PadSize.getQuantity());
296 llvm::Constant *C = llvm::UndefValue::get(Ty);
328 llvm::Type *Ty = CGM.Int8Ty; local
330 Ty = llvm::ArrayType::get(Ty, NumChars.getQuantity());
332 llvm::Constant *Padding = llvm::UndefValue::get(Ty);
474 llvm::Constant *ConstStructBuilder::Finalize(QualType Ty) { argument
623 llvm::Type *Ty = CGM.Int8Ty; local
985 QualType Ty = D.getType(); local
[all...]
H A DCGVTables.cpp49 llvm::Type *Ty = getTypes().GetFunctionTypeForVTable(GD); local
50 return GetOrCreateLLVMFunction(Name, Ty, GD, /*ForVTable=*/true,
136 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FnInfo); local
137 llvm::Value *Callee = CGM.GetAddrOfFunction(GD, Ty, /*ForVTable=*/true);
304 llvm::Type *Ty = local
306 llvm::Value *Callee = CGM.GetAddrOfFunction(GD, Ty, /*ForVTable=*/true);
496 llvm::FunctionType *Ty = local
499 PureVirtualFn = CGM.CreateRuntimeFunction(Ty, PureCallName);
506 llvm::FunctionType *Ty = local
510 DeletedVirtualFn = CGM.CreateRuntimeFunction(Ty, DeletedCallNam
526 llvm::Type *Ty = CGM.getTypes().GetFunctionTypeForVTable(GD); local
[all...]
H A DCGExprScalar.cpp46 QualType Ty; // Computation Type. member in struct:__anon17838::BinOpInfo
123 Value *EmitNullValue(QualType Ty);
411 if (Ops.Ty->isSignedIntegerOrEnumerationType()) {
424 if (Ops.Ty->isUnsignedIntegerType() && CGF.SanOpts->UnsignedIntegerOverflow)
833 Value *ScalarExprEmitter::EmitNullValue(QualType Ty) { argument
834 return CGF.EmitFromMemory(CGF.CGM.EmitNullConstant(Ty), Ty);
867 StaticData.push_back(CGF.EmitCheckTypeDescriptor(Info.Ty));
876 StaticData.push_back(CGF.EmitCheckTypeDescriptor(Info.Ty));
1534 BinOp.Ty
2135 llvm::IntegerType *Ty = cast<llvm::IntegerType>(Zero->getType()); local
2578 llvm::IntegerType *Ty; local
3203 QualType Ty = VE->getType(); local
[all...]
/external/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp147 void printType(Type* Ty);
181 static std::string getTypePrefix(Type *Ty) { argument
182 switch (Ty->getTypeID()) {
185 return "int" + utostr(cast<IntegerType>(Ty)->getBitWidth()) + "_";
371 std::string CppWriter::getCppName(Type* Ty) { argument
372 switch (Ty->getTypeID()) {
378 unsigned BitWidth = cast<IntegerType>(Ty)->getBitWidth();
394 TypeMap::iterator I = TypeNames.find(Ty);
400 switch (Ty->getTypeID()) {
411 if (StructType *STy = dyn_cast<StructType>(Ty))
425 printCppName(Type* Ty) argument
547 printType(Type* Ty) argument
2063 Type* Ty = TheModule->getTypeByName(typeName); local
[all...]
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp63 static char getTypeID(Type *Ty) { argument
64 switch (Ty->getTypeID()) {
67 switch (cast<IntegerType>(Ty)->getBitWidth()) {
113 static ffi_type *ffiTypeFor(Type *Ty) { argument
114 switch (Ty->getTypeID()) {
117 switch (cast<IntegerType>(Ty)->getBitWidth()) {
133 static void *ffiValueFor(Type *Ty, const GenericValue &AV, argument
135 switch (Ty->getTypeID()) {
137 switch (cast<IntegerType>(Ty)->getBitWidth()) {
/external/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp80 bool isTypeLegal(Type *Ty, MVT &VT);
81 bool isLoadTypeLegal(Type *Ty, MVT &VT);
119 bool MipsFastISel::isTypeLegal(Type *Ty, MVT &VT) { argument
120 EVT evt = TLI.getValueType(Ty, true);
131 bool MipsFastISel::isLoadTypeLegal(Type *Ty, MVT &VT) { argument
132 if (isTypeLegal(Ty, VT))
/external/llvm/include/llvm-c/
H A DExecutionEngine.h55 LLVMGenericValueRef LLVMCreateGenericValueOfInt(LLVMTypeRef Ty,
61 LLVMGenericValueRef LLVMCreateGenericValueOfFloat(LLVMTypeRef Ty, double N);
/external/llvm/lib/CodeGen/
H A DAnalysis.cpp34 unsigned llvm::ComputeLinearIndex(Type *Ty, argument
43 if (StructType *STy = dyn_cast<StructType>(Ty)) {
55 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
75 void llvm::ComputeValueVTs(const TargetLowering &TLI, Type *Ty, argument
80 if (StructType *STy = dyn_cast<StructType>(Ty)) {
91 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
100 if (Ty->isVoidTy())
103 ValueVTs.push_back(TLI.getValueType(Ty));
/external/llvm/utils/TableGen/
H A DCodeGenTarget.h198 MVT::SimpleValueType Ty; member in class:llvm::ComplexPattern
207 MVT::SimpleValueType getValueType() const { return Ty; }
/external/llvm/lib/Linker/
H A DLinkModules.cpp247 Type *TypeMapTy::get(Type *Ty) { argument
248 Type *Result = getImpl(Ty);
257 Type *TypeMapTy::getImpl(Type *Ty) { argument
259 Type **Entry = &MappedTypes[Ty];
264 if (!isa<StructType>(Ty) || cast<StructType>(Ty)->isLiteral()) {
267 if (Ty->getNumContainedTypes() == 0)
268 return *Entry = Ty;
273 ElementTypes.resize(Ty->getNumContainedTypes());
274 for (unsigned i = 0, e = Ty
[all...]
/external/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdater.h63 /// type 'Ty'.
66 void Initialize(Type *Ty, StringRef Name);
/external/llvm/lib/Target/R600/
H A DAMDGPUTargetTransformInfo.cpp46 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const;
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp145 static int GetDecodedBinaryOpcode(unsigned Val, Type *Ty) { argument
149 return Ty->isFPOrFPVectorTy() ? Instruction::FAdd : Instruction::Add;
151 return Ty->isFPOrFPVectorTy() ? Instruction::FSub : Instruction::Sub;
153 return Ty->isFPOrFPVectorTy() ? Instruction::FMul : Instruction::Mul;
156 return Ty->isFPOrFPVectorTy() ? Instruction::FDiv : Instruction::SDiv;
159 return Ty->isFPOrFPVectorTy() ? Instruction::FRem : Instruction::SRem;
241 explicit ConstantPlaceHolder(Type *Ty, LLVMContext& Context) argument
242 : ConstantExpr(Ty, Instruction::UserOp1, &Op<0>(), 1) {
296 Type *Ty) {
301 assert(Ty
295 getConstantFwdRef(unsigned Idx, Type *Ty) argument
311 getValueFwdRef(unsigned Idx, Type *Ty) argument
1066 Type *Ty = getTypeByID(Record[i]); local
[all...]
/external/llvm/lib/IR/
H A DMDBuilder.cpp58 Type *Ty = IntegerType::get(Context, Lo.getBitWidth());
59 Value *Range[2] = {ConstantInt::get(Ty, Lo), ConstantInt::get(Ty, Hi)};
H A DFunction.cpp45 Argument::Argument(Type *Ty, const Twine &Name, Function *Par) argument
46 : Value(Ty, Value::ArgumentVal) {
218 Function::Function(FunctionType *Ty, LinkageTypes Linkage, argument
220 : GlobalObject(PointerType::getUnqual(Ty),
227 if (Ty->getNumParams())
675 Type *Ty = Tys[D.getArgumentNumber()];
676 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
679 return IntegerType::get(Context, 2 * cast<IntegerType>(Ty)->getBitWidth());
682 Type *Ty = Tys[D.getArgumentNumber()];
683 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
[all...]
/external/llvm/lib/Target/ARM/
H A DARMSelectionDAGInfo.cpp167 Entry.Ty = IntPtrTy;
172 Entry.Ty = IntPtrTy;
184 Entry.Ty = Type::getInt32Ty(*DAG.getContext());
H A DARMTargetTransformInfo.cpp43 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const;
77 unsigned getIntImmCost(const APInt &Imm, Type *Ty) const override;
130 getArithmeticInstrCost(unsigned Opcode, Type *Ty,
151 unsigned ARMTTI::getIntImmCost(const APInt &Imm, Type *Ty) const {
152 assert(Ty->isIntegerTy());
154 unsigned Bits = Ty->getPrimitiveSizeInBits();
429 unsigned ARMTTI::getAddressComputationCost(Type *Ty, bool IsComplex) const { argument
436 if (Ty->isVectorTy() && IsComplex)
500 unsigned ARMTTI::getArithmeticInstrCost(unsigned Opcode, Type *Ty, argument
505 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Ty);
[all...]
/external/llvm/include/llvm/IR/
H A DInstructions.h63 explicit AllocaInst(Type *Ty, Value *ArraySize = nullptr,
66 AllocaInst(Type *Ty, Value *ArraySize,
69 AllocaInst(Type *Ty, const Twine &Name, Instruction *InsertBefore = nullptr);
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,
767 inline Type *checkGEPType(Type *Ty) { argument
768 assert(Ty && "Invalid GetElementPtrInst indices for type!");
769 return Ty;
1603 VAArgInst(Value *List, Type *Ty, cons argument
1608 VAArgInst(Value *List, Type *Ty, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
2080 PHINode(Type *Ty, unsigned NumReservedValues, const Twine &NameStr = �, Instruction *InsertBefore = nullptr) argument
2089 PHINode(Type *Ty, unsigned NumReservedValues, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
2106 Create(Type *Ty, unsigned NumReservedValues, const Twine &NameStr = �, Instruction *InsertBefore = nullptr) argument
2111 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/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp71 /// ComputePTXValueVTs - For the given Type \p Ty, returns the set of primitive
77 static void ComputePTXValueVTs(const TargetLowering &TLI, Type *Ty, argument
84 ComputeValueVTs(TLI, Ty, TempVTs, &TempOffsets, StartingOffset);
545 Type *Ty = Args[i].Ty; local
552 if (Ty->isAggregateType() || Ty->isVectorTy()) {
558 align = TD->getABITypeAlignment(Ty);
559 unsigned sz = TD->getTypeAllocSize(Ty);
565 ComputeValueVTs(*this, Ty, vtpart
603 getArgumentAlignment(SDValue Callee, const ImmutableCallSite *CS, Type *Ty, unsigned Idx) const argument
694 Type *Ty = Args[i].Ty; local
1607 const Type *Ty = arg->getType(); local
1666 Type *Ty = argTypes[i]; local
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp184 Type *Ty = V->getType(); local
185 PtrTy = dyn_cast<PointerType>(Ty);
187 Ty = PtrTy->getElementType();
188 Size = Ty->getVectorNumElements();
206 Type *Ty = local
209 CV[0] = Builder.CreateBitCast(V, Ty, V->getName() + ".i0");
334 // Try to fill in Layout from Ty, returning true on success. Alignment is
336 bool Scalarizer::getVectorLayout(Type *Ty, unsigned Alignment, argument
342 Layout.VecTy = dyn_cast<VectorType>(Ty);
641 Type *Ty local
[all...]
/external/clang/lib/Parse/
H A DParseExprCXX.cpp1299 TypeResult Ty = ParseTypeName(); local
1304 if (Ty.isInvalid() || RParenLoc.isInvalid())
1308 Ty.get().getAsOpaquePtr(), RParenLoc);
1347 TypeResult Ty = ParseTypeName(); local
1352 if (Ty.isInvalid())
1356 Ty.get().getAsOpaquePtr(),
2268 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), D); local
2269 if (Ty.isInvalid())
2273 Result.setConversionFunctionId(KeywordLoc, Ty.get(),
2342 ParsedType Ty local
2380 ParsedType Ty = Actions.getTypeName(*TemplateId->Name, local
2468 ParsedType Ty = Actions.getDestructorName(TildeLoc, *ClassName, local
2800 TypeResult Ty = ParseTypeName(); local
[all...]
/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.cpp354 void ValueEnumerator::EnumerateType(Type *Ty) { argument
355 unsigned *TypeID = &TypeMap[Ty];
364 if (StructType *STy = dyn_cast<StructType>(Ty))
370 for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end();
375 TypeID = &TypeMap[Ty];
386 Types.push_back(Ty);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp93 uint32_t BitWidth = Ty->getScalarSizeInBits();
97 return CanEvaluateTruncated(I->getOperand(0), Ty);
560 IntegerType *Ty = cast<IntegerType>(I.getType()); local
574 ConstantInt::get(Ty, AmtSum));
596 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
607 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
628 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
645 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
655 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
676 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDif
[all...]

Completed in 3818 milliseconds

1234567891011>>