/external/clang/lib/AST/ |
H A D | DeclarationName.cpp | 356 DeclarationName DeclarationNameTable::getCXXConstructorName(CanQualType Ty) { argument 358 Ty.getUnqualifiedType()); 361 DeclarationName DeclarationNameTable::getCXXDestructorName(CanQualType Ty) { argument 363 Ty.getUnqualifiedType()); 367 DeclarationNameTable::getCXXConversionFunctionName(CanQualType Ty) { argument 368 return getCXXSpecialName(DeclarationName::CXXConversionFunctionName, Ty); 373 CanQualType Ty) { 384 assert(!Ty.hasQualifiers() &&"Constructor type must be unqualified"); 388 assert(!Ty.hasQualifiers() && "Destructor type must be unqualified"); 400 ID.AddPointer(Ty 372 getCXXSpecialName(DeclarationName::NameKind Kind, CanQualType Ty) argument [all...] |
/external/clang/lib/Frontend/ |
H A D | InitPreprocessor.cpp | 180 static void DefineTypeSize(StringRef MacroName, TargetInfo::IntType Ty, argument 182 DefineTypeSize(MacroName, TI.getTypeWidth(Ty), TI.getTypeConstantSuffix(Ty), 183 TI.isTypeSigned(Ty), Builder); 186 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, argument 188 Builder.defineMacro(MacroName, TargetInfo::getTypeName(Ty)); 191 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty, argument 193 Builder.defineMacro(MacroName, Twine(TI.getTypeWidth(Ty))); 202 static void DefineExactWidthIntType(TargetInfo::IntType Ty, argument 204 int TypeWidth = TI.getTypeWidth(Ty); [all...] |
/external/clang/lib/Sema/ |
H A D | SemaCXXScopeSpec.cpp | 34 const Type *Ty = T->getCanonicalTypeInternal().getTypePtr(); local 35 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { 42 } else if (isa<InjectedClassNameType>(Ty)) 43 return cast<InjectedClassNameType>(Ty)->getDecl();
|
H A D | SemaStmtAsm.cpp | 173 const Type *Ty = Exprs[i]->getType().getTypePtr(); local 174 if (Ty->isDependentType()) 177 if (!Ty->isVoidType() || !Info.allowsMemory()) 182 unsigned Size = Context.getTypeSize(Ty); 254 const Type *Ty = Exprs[ConstraintIdx]->getType().getTypePtr(); local 255 if (Ty->isDependentType() || Ty->isIncompleteType()) 258 unsigned Size = Context.getTypeSize(Ty);
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCXX.cpp | 89 /// On return, \p Ty will be set to the base type of the array. 93 QualType &Ty) { 97 while (const ArrayType *AT = Ctx.getAsArrayType(Ty)) { 98 Ty = AT->getElementType(); 99 LValue = State->getLValue(Ty, SVB.makeZeroArrayIndex(), LValue); 131 QualType Ty = Var->getType(); local 132 LValue = makeZeroElementRegion(State, LValue, Ty); 159 QualType Ty = Field->getType(); local 160 FieldVal = makeZeroElementRegion(State, FieldVal, Ty); 375 QualType Ty local 92 makeZeroElementRegion(ProgramStateRef State, SVal LValue, QualType &Ty) argument [all...] |
H A D | Store.cpp | 52 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/clang/test/PCH/ |
H A D | cxx-templates.h | 45 typedef typename T::type Ty; typedef in struct:Dep 47 Ty x = Ty();
|
/external/clang/tools/libclang/ |
H A D | CXType.cpp | 822 QualType Ty; local 824 Ty = Ctx.getTypeDeclType(TD); 826 Ty = VD->getType(); 828 Ctx.getObjCEncodingForType(Ty, encoding);
|
/external/llvm/bindings/ocaml/executionengine/ |
H A D | executionengine_ocaml.c | 90 CAMLprim value llvm_genericvalue_of_float(LLVMTypeRef Ty, value N) { argument 93 LLVMCreateGenericValueOfFloat(Ty, Double_val(N)))); 103 CAMLprim value llvm_genericvalue_of_int(LLVMTypeRef Ty, value Int) { argument 104 return alloc_generic_value(LLVMCreateGenericValueOfInt(Ty, Int_val(Int), 1)); 108 CAMLprim value llvm_genericvalue_of_int32(LLVMTypeRef Ty, value Int32) { argument 111 LLVMCreateGenericValueOfInt(Ty, Int32_val(Int32), 1))); 115 CAMLprim value llvm_genericvalue_of_nativeint(LLVMTypeRef Ty, value NatInt) { argument 118 LLVMCreateGenericValueOfInt(Ty, Nativeint_val(NatInt), 1))); 122 CAMLprim value llvm_genericvalue_of_int64(LLVMTypeRef Ty, value Int64) { argument 125 LLVMCreateGenericValueOfInt(Ty, Int64_va 129 llvm_genericvalue_as_float(LLVMTypeRef Ty, value GenVal) argument [all...] |
/external/llvm/include/llvm/IR/ |
H A D | Function.h | 124 Function(FunctionType *Ty, LinkageTypes Linkage, 128 static Function *Create(FunctionType *Ty, LinkageTypes Linkage, argument 130 return new(0) Function(Ty, Linkage, N, M);
|
/external/llvm/lib/Analysis/ |
H A D | AliasAnalysis.cpp | 489 uint64_t AliasAnalysis::getTypeStoreSize(Type *Ty) { argument 490 return TD ? TD->getTypeStoreSize(Ty) : UnknownSize;
|
H A D | TargetTransformInfo.cpp | 52 unsigned TargetTransformInfo::getOperationCost(unsigned Opcode, Type *Ty, argument 54 return PrevTTI->getOperationCost(Opcode, Ty, OpTy); 107 bool TargetTransformInfo::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, argument 111 return PrevTTI->isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, 115 int TargetTransformInfo::getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, argument 119 return PrevTTI->getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, 127 bool TargetTransformInfo::isTypeLegal(Type *Ty) const { 128 return PrevTTI->isTypeLegal(Ty); 148 unsigned TargetTransformInfo::getIntImmCost(const APInt &Imm, Type *Ty) const { 149 return PrevTTI->getIntImmCost(Imm, Ty); 164 getArithmeticInstrCost(unsigned Opcode, Type *Ty, OperandValueKind Op1Info, OperandValueKind Op2Info) const argument 250 getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) const argument 468 isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, bool HasBaseReg, int64_t Scale) const argument 475 getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, bool HasBaseReg, int64_t Scale) const argument 524 getArithmeticInstrCost(unsigned Opcode, Type *Ty, OperandValueKind, OperandValueKind) const argument [all...] |
/external/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 578 Type *Ty = 0; local 582 ParseType(Ty, TyLoc) || 713 Type *Ty = 0; local 722 ParseType(Ty, TyLoc)) 731 if (ParseGlobalValue(Ty, Init)) 735 if (Ty->isFunctionTy() || Ty->isLabelTy()) 757 GV = new GlobalVariable(*M, Ty, false, GlobalValue::ExternalLinkage, 0, 761 if (GV->getType()->getElementType() != Ty) 968 GlobalValue *LLParser::GetGlobalVal(const std::string &Name, Type *Ty, argument 1011 GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc) argument [all...] |
/external/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 33 unsigned llvm::ComputeLinearIndex(Type *Ty, argument 42 if (StructType *STy = dyn_cast<StructType>(Ty)) { 54 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 74 void llvm::ComputeValueVTs(const TargetLowering &TLI, Type *Ty, argument 79 if (StructType *STy = dyn_cast<StructType>(Ty)) { 90 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 99 if (Ty->isVoidTy()) 102 ValueVTs.push_back(TLI.getValueType(Ty));
|
H A D | BasicTargetTransformInfo.cpp | 33 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const; 75 virtual bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, 78 virtual int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, 82 virtual bool isTypeLegal(Type *Ty) const; 95 virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty, 113 virtual unsigned getAddressComputationCost(Type *Ty, bool IsComplex) const; 139 bool BasicTTI::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, argument 147 return getTLI()->isLegalAddressingMode(AM, Ty); 150 int BasicTTI::getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, argument 158 return getTLI()->getScalingFactorCost(AM, Ty); 191 getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const argument 218 getArithmeticInstrCost(unsigned Opcode, Type *Ty, OperandValueKind, OperandValueKind) const argument 498 getAddressComputationCost(Type *Ty, bool IsComplex) const argument [all...] |
H A D | SjLjEHPrepare.cpp | 250 Type *Ty = AI->getType(); local 255 if (isa<StructType>(Ty) || isa<ArrayType>(Ty) || isa<VectorType>(Ty)) {
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | ExternalFunctions.cpp | 63 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/IR/ |
H A D | Function.cpp | 45 Argument::Argument(Type *Ty, const Twine &Name, Function *Par) argument 46 : Value(Ty, Value::ArgumentVal) { 195 Function::Function(FunctionType *Ty, LinkageTypes Linkage, argument 197 : GlobalValue(PointerType::getUnqual(Ty), 204 if (Ty->getNumParams())
|
H A D | Module.cpp | 139 FunctionType *Ty, 145 Function *New = Function::Create(Ty, GlobalVariable::ExternalLinkage, Name); 157 Constant *NewF = getOrInsertFunction(Name, Ty); 164 if (F->getType() != PointerType::getUnqual(Ty)) 165 return ConstantExpr::getBitCast(F, PointerType::getUnqual(Ty)); 172 FunctionType *Ty) { 173 return getOrInsertFunction(Name, Ty, AttributeSet()); 250 Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) { argument 256 new GlobalVariable(*this, Ty, false, GlobalVariable::ExternalLinkage, 263 if (GV->getType() != PointerType::getUnqual(Ty)) 138 getOrInsertFunction(StringRef Name, FunctionType *Ty, AttributeSet AttributeList) argument 171 getOrInsertFunction(StringRef Name, FunctionType *Ty) argument [all...] |
H A D | Value.cpp | 39 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);
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelDAGToDAG.cpp | 497 EVT Ty = Node->getValueType(0); local 498 assert((Ty == MVT::i32 || Ty == MVT::i64) && "unexpected type"); 499 uint16_t Register = Ty == MVT::i32 ? AArch64::WZR : AArch64::XZR; 502 Register, Ty).getNode();
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 91 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...] |
H A D | InstCombineSimplifyDemanded.cpp | 859 Type *Ty = VarX->getType(); local 861 APInt BitMask1(APInt::getAllOnesValue(Ty->getIntegerBitWidth())); 862 APInt BitMask2(APInt::getAllOnesValue(Ty->getIntegerBitWidth()));
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | ThreadSanitizer.cpp | 162 Type *Ty = Type::getIntNTy(M.getContext(), BitSize); local 163 Type *PtrTy = Ty->getPointerTo(); 167 AtomicLoadName, Ty, PtrTy, OrdTy, NULL)); 172 AtomicStoreName, IRB.getVoidTy(), PtrTy, Ty, OrdTy, 197 RMWName, Ty, PtrTy, Ty, OrdTy, NULL)); 203 AtomicCASName, Ty, PtrTy, Ty, Ty, OrdTy, OrdTy, NULL)); 505 Type *Ty local 520 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); local 538 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); local 552 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); local [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | LowerInvoke.cpp | 290 Type *Ty = AI->getType(); local 294 if (isa<StructType>(Ty) || isa<ArrayType>(Ty) || isa<VectorType>(Ty)) {
|