/external/llvm/unittests/Analysis/ |
H A D | ScalarEvolutionTest.cpp | 46 Type *Ty = Type::getInt1Ty(Context); local 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); local 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, [all...] |
/external/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 28 static bool isDispatchBlock(QualType Ty) { argument 30 const BlockPointerType *BPT = Ty->getAs<BlockPointerType>(); 50 BinaryOperator *makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty); 63 UnaryOperator *makeDereference(const Expr *Arg, QualType Ty); 66 Expr *makeIntegralCast(const Expr *Arg, QualType Ty); 72 ImplicitCastExpr *makeLvalueToRvalue(const Expr *Arg, QualType Ty); 89 QualType Ty) { 91 BO_Assign, Ty, VK_RValue, 124 UnaryOperator *ASTMaker::makeDereference(const Expr *Arg, QualType Ty) { argument 125 return new (C) UnaryOperator(const_cast<Expr*>(Arg), UO_Deref, Ty, 88 makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty) argument 129 makeLvalueToRvalue(const Expr *Arg, QualType Ty) argument 134 makeIntegralCast(const Expr *Arg, QualType Ty) argument 148 QualType Ty = C.getBOOLDecl() ? C.getBOOLType() : C.ObjCBuiltinBoolTy; local 190 QualType Ty = Block->getType(); local 258 QualType Ty = PV->getType(); local [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGCXX.cpp | 308 llvm::Type *Ty, 315 Ty = Ty->getPointerTo()->getPointerTo(); 316 VTable = CGF.Builder.CreateBitCast(VTable, Ty); 334 llvm::Type *Ty) { 347 return ::BuildAppleKextVirtualCall(*this, MD, Ty, RD); 365 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FInfo); local 366 return ::BuildAppleKextVirtualCall(*this, GlobalDecl(DD, Type), Ty, RD); 306 BuildAppleKextVirtualCall(CodeGenFunction &CGF, GlobalDecl GD, llvm::Type *Ty, const CXXRecordDecl *RD) argument 332 BuildAppleKextVirtualCall(const CXXMethodDecl *MD, NestedNameSpecifier *Qual, llvm::Type *Ty) argument
|
H A D | CGCall.h | 47 QualType Ty; member in struct:clang::CodeGen::CallArg 50 : RV(rv), Ty(ty), NeedsCopy(needscopy)
|
H A D | CodeGenTBAA.cpp | 98 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); local 100 if (llvm::MDNode *N = MetadataCache[Ty]) 104 if (const BuiltinType *BTy = dyn_cast<BuiltinType>(Ty)) { 133 return MetadataCache[Ty] = 141 if (Ty->isPointerType()) 142 return MetadataCache[Ty] = createTBAAScalarType("any pointer", 147 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { 153 return MetadataCache[Ty] = getChar(); 159 return MetadataCache[Ty] = createTBAAScalarType(OutName, getChar()); 163 return MetadataCache[Ty] 214 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); local 243 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); local [all...] |
H A D | CodeGenTypes.cpp | 49 llvm::StructType *Ty, 77 Ty->setName(OS.str()); 99 bool CodeGenTypes::isRecordLayoutComplete(const Type *Ty) const { 101 RecordDeclTypes.find(Ty); 189 bool CodeGenTypes::isFuncParamTypeConvertible(QualType Ty) { argument 191 const TagType *TT = Ty->getAs<TagType>(); 294 const Type *Ty = T.getTypePtr(); local 297 if (const RecordType *RT = dyn_cast<RecordType>(Ty)) 301 llvm::DenseMap<const Type *, llvm::Type *>::iterator TCI = TypeCache.find(Ty); 308 switch (Ty 48 addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, StringRef suffix) argument 636 llvm::StructType *Ty = Entry; local [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ArrayBoundCheckerV2.cpp | 222 static bool IsCompleteType(ASTContext &Ctx, QualType Ty) { argument 223 if (const RecordType *RT = Ty->getAs<RecordType>()) {
|
/external/llvm/include/llvm/ADT/ |
H A D | PointerUnion.h | 122 UNION_DOESNT_CONTAIN_TYPE<T> > >::Return Ty; 123 int TyNo = Ty::Num; 283 >::Return Ty; typedef 284 return Ty(Val).template is<T>(); 296 >::Return Ty; typedef 297 return Ty(Val).template get<T>(); 397 >::Return Ty; typedef 398 return Val.template is<Ty>() && 399 Val.template get<Ty>().template is<T>(); 411 >::Return Ty; typedef [all...] |
/external/llvm/lib/Bitcode/Writer/ |
H A D | ValueEnumerator.cpp | 354 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/CodeGen/ |
H A D | GlobalMerge.cpp | 182 Type *Ty = Globals[j]->getType()->getElementType(); local 183 MergedSize += DL->getTypeAllocSize(Ty); 187 Tys.push_back(Ty); 308 Type *Ty = I->getType()->getElementType(); local 309 if (Alignment > DL->getABITypeAlignment(Ty)) 321 if (DL->getTypeAllocSize(Ty) < MaxOffset) {
|
H A D | StackProtector.cpp | 106 bool StackProtector::ContainsProtectableArray(Type *Ty, bool &IsLarge, argument 109 if (!Ty) 111 if (ArrayType *AT = dyn_cast<ArrayType>(Ty)) { 133 const StructType *ST = dyn_cast<StructType>(Ty);
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Execution.cpp | 55 GenericValue Src2, Type *Ty) { 56 switch (Ty->getTypeID()) { 60 dbgs() << "Unhandled type for FAdd instruction: " << *Ty << "\n"; 66 GenericValue Src2, Type *Ty) { 67 switch (Ty->getTypeID()) { 71 dbgs() << "Unhandled type for FSub instruction: " << *Ty << "\n"; 77 GenericValue Src2, Type *Ty) { 78 switch (Ty->getTypeID()) { 82 dbgs() << "Unhandled type for FMul instruction: " << *Ty << "\n"; 88 GenericValue Src2, Type *Ty) { 54 executeFAddInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument 65 executeFSubInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument 76 executeFMulInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument 87 executeFDivInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument 98 executeFRemInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument 137 executeICMP_EQ(GenericValue Src1, GenericValue Src2, Type *Ty) argument 151 executeICMP_NE(GenericValue Src1, GenericValue Src2, Type *Ty) argument 165 executeICMP_ULT(GenericValue Src1, GenericValue Src2, Type *Ty) argument 2023 Type * Ty = CE->getOperand(0)->getType(); local [all...] |
/external/llvm/lib/IR/ |
H A D | DataLayout.cpp | 53 Type *Ty = ST->getElementType(i); local 54 unsigned TyAlign = ST->isPacked() ? 1 : DL.getABITypeAlignment(Ty); 64 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item 412 Type *Ty) const { 448 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType()); 449 Align *= cast<VectorType>(Ty)->getNumElements(); 498 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const { 503 StructLayout *&SL = (*STM)[Ty]; 508 int NumElts = Ty->getNumElements(); 516 new (L) StructLayout(Ty, *thi [all...] |
H A D | Globals.cpp | 131 GlobalVariable::GlobalVariable(Type *Ty, bool constant, LinkageTypes Link, argument 135 : GlobalObject(PointerType::get(Ty, AddressSpace), Value::GlobalVariableVal, 142 assert(InitVal->getType() == Ty && 150 GlobalVariable::GlobalVariable(Module &M, Type *Ty, bool constant, argument 155 : GlobalObject(PointerType::get(Ty, AddressSpace), Value::GlobalVariableVal, 162 assert(InitVal->getType() == Ty && 240 GlobalAlias::GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Link, argument 243 : GlobalValue(PointerType::get(Ty, AddressSpace), Value::GlobalAliasVal, 252 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, argument 255 return new GlobalAlias(Ty, AddressSpac 258 create(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, Module *Parent) argument 264 create(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, GlobalValue *Aliasee) argument [all...] |
H A D | InlineAsm.cpp | 28 InlineAsm *InlineAsm::get(FunctionType *Ty, StringRef AsmString, argument 33 LLVMContextImpl *pImpl = Ty->getContext().pImpl; 34 return pImpl->InlineAsms.getOrCreate(PointerType::getUnqual(Ty), Key); 37 InlineAsm::InlineAsm(PointerType *Ty, const std::string &asmString, argument 40 : Value(Ty, Value::InlineAsmVal), 236 bool InlineAsm::Verify(FunctionType *Ty, StringRef ConstStr) { argument 237 if (Ty->isVarArg()) return false; 270 if (!Ty->getReturnType()->isVoidTy()) return false; 273 if (Ty->getReturnType()->isStructTy()) return false; 276 StructType *STy = dyn_cast<StructType>(Ty [all...] |
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 45 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const; 77 unsigned getIntImmCost(const APInt &Imm, Type *Ty) const override; 79 Type *Ty) const override; 81 Type *Ty) const override; 115 unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty, 120 unsigned getAddressComputationCost(Type *Ty, bool IsComplex) const override; 158 unsigned AArch64TTI::getIntImmCost(const APInt &Imm, Type *Ty) const { 159 assert(Ty->isIntegerTy()); 161 unsigned BitSize = Ty->getPrimitiveSizeInBits(); 183 const APInt &Imm, Type *Ty) cons 403 getArithmeticInstrCost(unsigned Opcode, Type *Ty, OperandValueKind Opd1Info, OperandValueKind Opd2Info) const argument 426 getAddressComputationCost(Type *Ty, bool IsComplex) const argument [all...] |
/external/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.cpp | 43 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/lib/Target/Mips/ |
H A D | Mips16ISelDAGToDAG.cpp | 46 Mips16DAGToDAGISel::selectMULT(SDNode *N, unsigned Opc, SDLoc DL, EVT Ty, argument 55 Lo = CurDAG->getMachineNode(Opcode, DL, Ty, MVT::Glue, InFlag); 60 Hi = CurDAG->getMachineNode(Opcode, DL, Ty, InFlag);
|
H A D | MipsOptimizePICCall.cpp | 147 MVT::SimpleValueType Ty = getRegTy(MI.getOperand(0).getReg(), MF); local 148 unsigned Reg = Ty == MVT::i32 ? Mips::GP : Mips::GP_64;
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCCTRLoops.cpp | 190 static bool isLargeIntegerTy(bool Is32Bit, Type *Ty) { argument 191 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty))
|
H A D | PPCTargetTransformInfo.cpp | 75 unsigned getIntImmCost(const APInt &Imm, Type *Ty) const override; 78 Type *Ty) const override; 80 Type *Ty) const override; 95 virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty, 132 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2"); 138 unsigned PPCTTI::getIntImmCost(const APInt &Imm, Type *Ty) const { 140 return TargetTransformInfo::getIntImmCost(Imm, Ty); 142 assert(Ty->isIntegerTy()); 144 unsigned BitSize = Ty->getPrimitiveSizeInBits(); 168 const APInt &Imm, Type *Ty) cons 321 getArithmeticInstrCost(unsigned Opcode, Type *Ty, OperandValueKind Op1Info, OperandValueKind Op2Info) const argument [all...] |
/external/llvm/lib/Target/ |
H A D | Target.cpp | 93 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 94 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty)); 97 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 98 return unwrap(TD)->getTypeStoreSize(unwrap(Ty)); 101 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 102 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); 105 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 106 return unwrap(TD)->getABITypeAlignment(unwrap(Ty)); 109 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 110 return unwrap(TD)->getABITypeAlignment(unwrap(Ty)); 113 LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) argument [all...] |
/external/llvm/lib/Transforms/IPO/ |
H A D | PassManagerBuilder.cpp | 85 PassManagerBuilder::ExtensionPointTy Ty, 87 GlobalExtensions->push_back(std::make_pair(Ty, Fn)); 90 void PassManagerBuilder::addExtension(ExtensionPointTy Ty, ExtensionFn Fn) { argument 91 Extensions.push_back(std::make_pair(Ty, Fn)); 84 addGlobalExtension( PassManagerBuilder::ExtensionPointTy Ty, PassManagerBuilder::ExtensionFn Fn) argument
|
/external/llvm/utils/TableGen/ |
H A D | CodeGenTarget.h | 198 MVT::SimpleValueType Ty; member in class:llvm::ComplexPattern 207 MVT::SimpleValueType getValueType() const { return Ty; }
|
/external/valgrind/main/mpi/ |
H A D | mpiwrap_type_test.c | 16 typedef MPI_Datatype Ty; typedef 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_Vecto [all...] |