/external/clang/lib/CodeGen/ |
CGCall.cpp | 222 ArgTys.push_back(Context.getCanonicalParamType(i->Ty)); 340 CodeGenFunction::ExpandTypeFromArgs(QualType Ty, LValue LV, 346 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { 354 } else if (const RecordType *RT = Ty->getAsStructureType()) { 365 } else if (const ComplexType *CT = Ty->getAs<ComplexType>()) { 412 /// CoerceIntOrPtrToIntOrPtr - Convert a value Val to the specific Ty where both 416 llvm::Type *Ty, 418 if (Val->getType() == Ty) 423 if (isa<llvm::PointerType>(Ty)) 424 return CGF.Builder.CreateBitCast(Val, Ty, "coerce.val") 650 llvm::Type *ty = ConvertType(ret); local [all...] |
CodeGenModule.cpp | [all...] |
CGRecordLayoutBuilder.cpp | 177 CharUnits getTypeAlignment(llvm::Type *Ty) const; 233 llvm::Type *Ty = Types.ConvertTypeForMem(FD->getType()); 235 CharUnits::fromQuantity(Types.getTargetData().getTypeAllocSize(Ty)); 442 llvm::Type *Ty = Types.ConvertTypeForMem(D->getType()); 443 CharUnits typeAlignment = getTypeAlignment(Ty); 484 AppendField(fieldOffsetInBytes, Ty); 870 llvm::Type *Ty = llvm::Type::getInt8Ty(Types.getLLVMContext()); 872 Ty = llvm::ArrayType::get(Ty, numBytes.getQuantity()); 874 return Ty; [all...] |
CGDecl.cpp | 100 QualType Ty = TD.getUnderlyingType(); 102 if (Ty->isVariablyModifiedType()) 103 EmitVariablyModifiedType(Ty); 177 QualType Ty = D.getType(); 178 assert(Ty->isConstantSizeType() && "VLAs can't be static"); 182 llvm::Type *LTy = CGM.getTypes().ConvertTypeForMem(Ty); 185 Ty.isConstant(getContext()), Linkage, 188 CGM.getContext().getTargetAddressSpace(Ty)); 520 llvm::PointerType *ty local 522 ty = cast<llvm::PointerType>(ty->getElementType()) [all...] |
CGCall.h | 49 QualType Ty; 51 CallArg(RValue rv, QualType ty, bool needscopy) 52 : RV(rv), Ty(ty), NeedsCopy(needscopy)
|
CodeGenModule.h | 473 CreateOrReplaceCXXRuntimeVariable(StringRef Name, llvm::Type *Ty, 477 /// given global variable. If Ty is non-null and if the global doesn't exist, 481 llvm::Type *Ty = 0); 484 /// GetAddrOfFunction - Return the address of the given function. If Ty is 488 llvm::Type *Ty = 0, 493 llvm::Constant *GetAddrOfRTTIDescriptor(QualType Ty, bool ForEH = false); 638 llvm::Constant *CreateRuntimeFunction(llvm::FunctionType *Ty, 644 llvm::Constant *CreateRuntimeVariable(llvm::Type *Ty, 755 CharUnits GetTargetTypeStoreSize(llvm::Type *Ty) const; 796 llvm::Type *Ty, [all...] |
/external/clang/test/PCH/ |
cxx-templates.h | 45 typedef typename T::type Ty; 47 Ty x = Ty();
|
/external/llvm/include/llvm/ |
InlineAsm.h | 46 InlineAsm(PointerType *Ty, const std::string &AsmString, 58 static InlineAsm *get(FunctionType *Ty, StringRef AsmString, 82 static bool Verify(FunctionType *Ty, StringRef Constraints);
|
Instructions.h | 61 explicit AllocaInst(Type *Ty, Value *ArraySize = 0, 63 AllocaInst(Type *Ty, Value *ArraySize, 66 AllocaInst(Type *Ty, const Twine &Name, Instruction *InsertBefore = 0); 67 AllocaInst(Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd); 69 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, 71 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, 702 static inline Type *checkGEPType(Type *Ty) { 703 assert(Ty && "Invalid GetElementPtrInst indices for type!"); 704 return Ty; [all...] |
SymbolTableListTraits.h | 35 template<typename Ty> struct ilist_traits;
|
/external/llvm/lib/VMCore/ |
ValueTypes.cpp | 195 EVT EVT::getEVT(Type *Ty, bool HandleUnknown){ 196 switch (Ty->getTypeID()) { 204 return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth()); 213 VectorType *VTy = cast<VectorType>(Ty); 214 return getVectorVT(Ty->getContext(), getEVT(VTy->getElementType(), false),
|
Function.cpp | 42 Argument::Argument(Type *Ty, const Twine &Name, Function *Par) 43 : Value(Ty, Value::ArgumentVal) { 162 Function::Function(FunctionType *Ty, LinkageTypes Linkage, 164 : GlobalValue(PointerType::getUnqual(Ty), 171 if (Ty->getNumParams())
|
Core.cpp | 133 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty) { 134 switch (unwrap(Ty)->getTypeID()) { 170 LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty) 172 return unwrap(Ty)->isSized(); 175 LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty) { 176 return wrap(&unwrap(Ty)->getContext()); 285 FunctionType *Ty = unwrap<FunctionType>(FunctionTy); 286 for (FunctionType::param_iterator I = Ty->param_begin(), 287 E = Ty->param_end(); I != E; ++I) 310 const char *LLVMGetStructName(LLVMTypeRef Ty) [all...] |
Value.cpp | 38 static inline Type *checkType(Type *Ty) { 39 assert(Ty && "Value defined with a null type: Error!"); 40 return const_cast<Type*>(Ty); 43 Value::Value(Type *ty, unsigned scid) 45 SubclassOptionalData(0), SubclassData(0), VTy((Type*)checkType(ty)), 372 Type *Ty = *GTI++; 374 if (isa<StructType>(Ty)) 383 ArrayType *ATy = dyn_cast<ArrayType>(Ty);
|
/external/clang/lib/Parse/ |
ParseExpr.cpp | 747 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), 749 if (Ty.isInvalid()) 754 Ty.get(), 0); [all...] |
/external/llvm/include/llvm-c/ |
ExecutionEngine.h | 37 LLVMGenericValueRef LLVMCreateGenericValueOfInt(LLVMTypeRef Ty, 43 LLVMGenericValueRef LLVMCreateGenericValueOfFloat(LLVMTypeRef Ty, double N); 135 #define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ 136 inline ty *unwrap(ref P) { \ 137 return reinterpret_cast<ty*>(P); \ 140 inline ref wrap(const ty *P) { \ 141 return reinterpret_cast<ref>(const_cast<ty*>(P)); \
|
Core.h | 362 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty); 363 LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty); 366 LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty); 412 const char *LLVMGetStructName(LLVMTypeRef Ty); 428 LLVMTypeRef LLVMGetElementType(LLVMTypeRef Ty); 549 LLVMValueRef LLVMConstNull(LLVMTypeRef Ty); /* all zeroes */ 550 LLVMValueRef LLVMConstAllOnes(LLVMTypeRef Ty); /* only for int/vector */ 551 LLVMValueRef LLVMGetUndef(LLVMTypeRef Ty); 555 LLVMValueRef LLVMConstPointerNull(LLVMTypeRef Ty); 608 LLVMValueRef LLVMAlignOf(LLVMTypeRef Ty); [all...] |
/external/llvm/include/llvm/Support/ |
DOTGraphTraits.h | 154 template <typename Ty>
|
/external/llvm/include/llvm/Transforms/Utils/ |
SSAUpdater.h | 58 /// updates with type 'Ty'. PHI nodes get a name based on 'Name'. 59 void Initialize(Type *Ty, StringRef Name);
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfCompileUnit.h | 95 void addGlobalType(DIType Ty); 179 void addSourceLine(DIE *Die, DIType Ty); 188 bool addConstantValue(DIE *Die, const MachineOperand &MO, DIType Ty); 229 void addType(DIE *Entity, DIType Ty);
|
/external/llvm/lib/Target/ |
Mangler.cpp | 162 Type *Ty = AI->getType(); 165 Ty = cast<PointerType>(Ty)->getElementType(); 167 ArgWords += ((TD.getTypeAllocSize(Ty) + 3)/4)*4;
|
/external/llvm/lib/Transforms/IPO/ |
PassManagerBuilder.cpp | 53 PassManagerBuilder::ExtensionPointTy Ty, 55 GlobalExtensions->push_back(std::make_pair(Ty, Fn)); 58 void PassManagerBuilder::addExtension(ExtensionPointTy Ty, ExtensionFn Fn) { 59 Extensions.push_back(std::make_pair(Ty, Fn));
|
/external/clang/include/clang/AST/ |
TypeLoc.h | 40 // The correctness of this relies on the property that, for Type *Ty, 41 // QualType(Ty, 0).getAsOpaquePtr() == (void*) Ty 42 const void *Ty; 57 TypeLoc() : Ty(0), Data(0) { } 58 TypeLoc(QualType ty, void *opaqueData) 59 : Ty(ty.getAsOpaquePtr()), Data(opaqueData) { } 60 TypeLoc(const Type *ty, void *opaqueData) 61 : Ty(ty), Data(opaqueData) { [all...] |
/external/llvm/lib/Target/CppBackend/ |
CPPBackend.cpp | 143 void printType(Type* Ty); 177 static std::string getTypePrefix(Type *Ty) { 178 switch (Ty->getTypeID()) { 181 return "int" + utostr(cast<IntegerType>(Ty)->getBitWidth()) + "_"; 332 std::string CppWriter::getCppName(Type* Ty) { 334 if (Ty->isPrimitiveType() || Ty->isIntegerTy()) { 335 switch (Ty->getTypeID()) { 338 unsigned BitWidth = cast<IntegerType>(Ty)->getBitWidth(); 355 TypeMap::iterator I = TypeNames.find(Ty); [all...] |
/external/llvm/lib/Target/ARM/ |
ARMConstantPoolValue.h | 60 ARMConstantPoolValue(Type *Ty, unsigned id, ARMCP::ARMCPKind Kind, 125 ARMConstantPoolConstant(Type *Ty, const Constant *C,
|