/external/llvm/lib/ExecutionEngine/Interpreter/ |
Execution.cpp | 49 #define IMPLEMENT_BINARY_OPERATOR(OP, TY) \ 50 case Type::TY##TyID: \ 51 Dest.TY##Val = Src1.TY##Val OP Src2.TY##Val; \ 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()) [all...] |
/external/llvm/include/llvm/IR/ |
DIBuilder.h | 80 StringRef Name, DIType Ty, Value *Val, 176 /// @param Ty Original type. 181 DIDerivedType createTypedef(DIType Ty, StringRef Name, DIFile File, 185 DIDerivedType createFriend(DIType Ty, DIType FriendTy); 189 /// @param Ty Original type. 190 /// @param BaseTy Base type. Ty is inherits from base. 194 DIDerivedType createInheritance(DIType Ty, DIType BaseTy, 206 /// @param Ty Parent type. 210 uint64_t OffsetInBits, unsigned Flags, DIType Ty); 218 /// @param Ty Type of the static member [all...] |
GlobalObject.h | 30 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, 32 : GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name), ObjComdat(nullptr) {
|
GlobalAlias.h | 36 GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage, 47 static GlobalAlias *create(Type *Ty, unsigned AddressSpace, 52 static GlobalAlias *create(Type *Ty, unsigned AddressSpace, 57 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
|
Constant.h | 47 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) 48 : User(ty, vty, Ops, NumOps) {} 156 static Constant *getNullValue(Type* Ty); 161 static Constant *getAllOnesValue(Type* Ty); 165 static Constant *getIntegerValue(Type* Ty, const APInt &V);
|
Constants.h | 55 ConstantInt(IntegerType *Ty, const APInt& V); 65 static Constant *getTrue(Type *Ty); 66 static Constant *getFalse(Type *Ty); 68 /// If Ty is a vector type, return a Constant with a splat of the given 70 static Constant *get(Type *Ty, uint64_t V, bool isSigned = false); 78 static ConstantInt *get(IntegerType *Ty, uint64_t V, 84 /// signed value for the type Ty. 86 static ConstantInt *getSigned(IntegerType *Ty, int64_t V); 87 static Constant *getSigned(Type *Ty, int64_t V); 95 static ConstantInt *get(IntegerType *Ty, StringRef Str [all...] |
InstrTypes.h | 37 TerminatorInst(Type *Ty, Instruction::TermOps iType, 40 : Instruction(Ty, iType, Ops, NumOps, InsertBefore) {} 42 TerminatorInst(Type *Ty, Instruction::TermOps iType, 44 : Instruction(Ty, iType, Ops, NumOps, InsertAtEnd) {} 93 UnaryInstruction(Type *Ty, unsigned iType, Value *V, 95 : Instruction(Ty, iType, &Op<0>(), 1, IB) { 98 UnaryInstruction(Type *Ty, unsigned iType, Value *V, BasicBlock *IAE) 99 : Instruction(Ty, iType, &Op<0>(), 1, IAE) { 142 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, 144 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, [all...] |
/external/clang/lib/CodeGen/ |
CodeGenTypes.h | 139 bool isFuncParamTypeConvertible(QualType Ty); 199 const FunctionType *Ty); 211 const CGFunctionInfo &arrangeFreeFunctionType(CanQual<FunctionProtoType> Ty); 212 const CGFunctionInfo &arrangeFreeFunctionType(CanQual<FunctionNoProtoType> Ty); 230 llvm::StructType *Ty); 234 void addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, 242 /// GetExpandedTypes - Expand the type \arg Ty into the LLVM 256 bool isRecordLayoutComplete(const Type *Ty) const; 260 bool isRecordBeingLaidOut(const Type *Ty) const { 261 return RecordsBeingLaidOut.count(Ty); [all...] |
CGDebugInfo.h | 114 llvm::DIType CreateType(const BuiltinType *Ty); 115 llvm::DIType CreateType(const ComplexType *Ty); 116 llvm::DIType CreateQualifiedType(QualType Ty, llvm::DIFile Fg); 117 llvm::DIType CreateType(const TypedefType *Ty, llvm::DIFile Fg); 118 llvm::DIType CreateType(const TemplateSpecializationType *Ty, llvm::DIFile Fg); 119 llvm::DIType CreateType(const ObjCObjectPointerType *Ty, 121 llvm::DIType CreateType(const PointerType *Ty, llvm::DIFile F); 122 llvm::DIType CreateType(const BlockPointerType *Ty, llvm::DIFile F); 123 llvm::DIType CreateType(const FunctionType *Ty, llvm::DIFile F); 125 llvm::DIType CreateTypeDefinition(const RecordType *Ty); [all...] |
CGDebugInfo.cpp | 509 llvm::DIType CGDebugInfo::CreateType(const ComplexType *Ty) { 512 if (Ty->isComplexIntegerType()) 515 uint64_t Size = CGM.getContext().getTypeSize(Ty); 516 uint64_t Align = CGM.getContext().getTypeAlign(Ty); 525 llvm::DIType CGDebugInfo::CreateQualifiedType(QualType Ty, llvm::DIFile Unit) { 527 const Type *T = Qc.strip(Ty); 560 llvm::DIType CGDebugInfo::CreateType(const ObjCObjectPointerType *Ty, 566 if (Ty->isObjCQualifiedIdType()) 570 CreatePointerLikeType(llvm::dwarf::DW_TAG_pointer_type, Ty, 571 Ty->getPointeeType(), Unit) [all...] |
/external/llvm/lib/Analysis/ |
TargetTransformInfo.cpp | 43 unsigned TargetTransformInfo::getOperationCost(unsigned Opcode, Type *Ty, 45 return PrevTTI->getOperationCost(Opcode, Ty, OpTy); 103 bool TargetTransformInfo::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, 107 return PrevTTI->isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, 111 int TargetTransformInfo::getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, 115 return PrevTTI->getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, 123 bool TargetTransformInfo::isTypeLegal(Type *Ty) const { 124 return PrevTTI->isTypeLegal(Ty); 144 bool TargetTransformInfo::haveFastSqrt(Type *Ty) const { 145 return PrevTTI->haveFastSqrt(Ty); [all...] |
/external/llvm/lib/Target/Mips/ |
MipsISelLowering.h | 261 SDValue getGlobalReg(SelectionDAG &DAG, EVT Ty) const; 268 SDValue getAddrLocal(NodeTy *N, EVT Ty, SelectionDAG &DAG, 272 SDValue GOT = DAG.getNode(MipsISD::Wrapper, DL, Ty, getGlobalReg(DAG, Ty), 273 getTargetNode(N, Ty, DAG, GOTFlag)); 274 SDValue Load = DAG.getLoad(Ty, DL, DAG.getEntryNode(), GOT, 278 SDValue Lo = DAG.getNode(MipsISD::Lo, DL, Ty, 279 getTargetNode(N, Ty, DAG, LoFlag)); 280 return DAG.getNode(ISD::ADD, DL, Ty, Load, Lo); 288 SDValue getAddrGlobal(NodeTy *N, EVT Ty, SelectionDAG &DAG [all...] |
/external/llvm/lib/IR/ |
Globals.cpp | 131 GlobalVariable::GlobalVariable(Type *Ty, bool constant, LinkageTypes Link, 135 : GlobalObject(PointerType::get(Ty, AddressSpace), Value::GlobalVariableVal, 142 assert(InitVal->getType() == Ty && 150 GlobalVariable::GlobalVariable(Module &M, Type *Ty, bool constant, 155 : GlobalObject(PointerType::get(Ty, AddressSpace), Value::GlobalVariableVal, 162 assert(InitVal->getType() == Ty && 240 GlobalAlias::GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Link, 243 : GlobalValue(PointerType::get(Ty, AddressSpace), Value::GlobalAliasVal, 252 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, 255 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule) [all...] |
Instructions.cpp | 834 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, 836 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca, 837 getAISize(Ty->getContext(), ArraySize), InsertBefore) { 839 assert(!Ty->isVoidTy() && "Cannot allocate void!"); 843 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, 845 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca, 846 getAISize(Ty->getContext(), ArraySize), InsertAtEnd) { 848 assert(!Ty->isVoidTy() && "Cannot allocate void!"); 852 AllocaInst::AllocaInst(Type *Ty, const Twine &Name, 854 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca [all...] |
InlineAsm.cpp | 28 InlineAsm *InlineAsm::get(FunctionType *Ty, StringRef AsmString, 33 LLVMContextImpl *pImpl = Ty->getContext().pImpl; 34 return pImpl->InlineAsms.getOrCreate(PointerType::getUnqual(Ty), Key); 37 InlineAsm::InlineAsm(PointerType *Ty, const std::string &asmString, 40 : Value(Ty, Value::InlineAsmVal), 236 bool InlineAsm::Verify(FunctionType *Ty, StringRef ConstStr) { 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->getReturnType()) [all...] |
TypeFinder.cpp | 96 void TypeFinder::incorporateType(Type *Ty) { 98 if (!VisitedTypes.insert(Ty).second) 102 TypeWorklist.push_back(Ty); 104 Ty = TypeWorklist.pop_back_val(); 107 if (StructType *STy = dyn_cast<StructType>(Ty)) 112 for (Type::subtype_reverse_iterator I = Ty->subtype_rbegin(), 113 E = Ty->subtype_rend();
|
/external/llvm/include/llvm-c/ |
Target.h | 241 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty); 245 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty); 249 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty); 253 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty); 257 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty); 261 unsigned LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty);
|
/external/clang/lib/Analysis/ |
BodyFarm.cpp | 28 static bool isDispatchBlock(QualType Ty) { 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) { 125 return new (C) UnaryOperator(const_cast<Expr*>(Arg), UO_Deref, Ty, [all...] |
/external/clang/include/clang/CodeGen/ |
CodeGenABITypes.h | 60 CanQual<FunctionProtoType> Ty); 62 CanQual<FunctionNoProtoType> Ty);
|
/external/clang/lib/StaticAnalyzer/Core/ |
ConstraintManager.cpp | 30 QualType Ty = Sym->getType(); 31 DefinedSVal V = Loc::isLocType(Ty) ? getLocFromSymbol(State, Sym)
|
/external/llvm/bindings/ocaml/target/ |
target_ocaml.c | 131 CAMLprim value llvm_datalayout_size_in_bits(LLVMTypeRef Ty, value DL) { 132 return caml_copy_int64(LLVMSizeOfTypeInBits(DataLayout_val(DL), Ty)); 136 CAMLprim value llvm_datalayout_store_size(LLVMTypeRef Ty, value DL) { 137 return caml_copy_int64(LLVMStoreSizeOfType(DataLayout_val(DL), Ty)); 141 CAMLprim value llvm_datalayout_abi_size(LLVMTypeRef Ty, value DL) { 142 return caml_copy_int64(LLVMABISizeOfType(DataLayout_val(DL), Ty)); 146 CAMLprim value llvm_datalayout_abi_align(LLVMTypeRef Ty, value DL) { 147 return Val_int(LLVMABIAlignmentOfType(DataLayout_val(DL), Ty)); 151 CAMLprim value llvm_datalayout_stack_align(LLVMTypeRef Ty, value DL) { 152 return Val_int(LLVMCallFrameAlignmentOfType(DataLayout_val(DL), Ty)); [all...] |
/external/llvm/lib/Analysis/IPA/ |
FindUsedTypes.cpp | 31 void FindUsedTypes::IncorporateType(Type *Ty) { 32 // If ty doesn't already exist in the used types map, add it now, otherwise 34 if (!UsedTypes.insert(Ty)) return; // Already contain Ty. 38 for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end();
|
/external/llvm/include/llvm/CodeGen/ |
MachineConstantPool.h | 38 Type *Ty; 41 explicit MachineConstantPoolValue(Type *ty) : Ty(ty) {} 46 Type *getType() const { return Ty; }
|
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.h | 81 Constant *getConstantFwdRef(unsigned Idx, Type *Ty); 82 Value *getValueFwdRef(unsigned Idx, Type *Ty); 261 Value *getFnValueByID(unsigned ID, Type *Ty) { 262 if (Ty && Ty->isMetadataTy()) 264 return ValueList.getValueFwdRef(ID, Ty); 304 unsigned InstNum, Type *Ty, Value *&ResVal) { 305 if (getValue(Record, Slot, InstNum, Ty, ResVal)) 314 unsigned InstNum, Type *Ty, Value *&ResVal) { 315 ResVal = getValue(Record, Slot, InstNum, Ty); [all...] |
/external/llvm/lib/Target/AArch64/ |
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) const [all...] |