/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/include/llvm/IR/ |
H A D | 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 Typ [all...] |
H A D | Constant.h | 156 static Constant *getNullValue(Type* Ty); 161 static Constant *getAllOnesValue(Type* Ty); 165 static Constant *getIntegerValue(Type* Ty, const APInt &V);
|
H A D | 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, StringRe [all...] |
/external/llvm/lib/Analysis/ |
H A D | TargetTransformInfo.cpp | 43 unsigned TargetTransformInfo::getOperationCost(unsigned Opcode, Type *Ty, argument 45 return PrevTTI->getOperationCost(Opcode, Ty, OpTy); 103 bool TargetTransformInfo::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, argument 107 return PrevTTI->isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, 111 int TargetTransformInfo::getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, argument 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); 174 getArithmeticInstrCost(unsigned Opcode, Type *Ty, OperandValueKind Op1Info, OperandValueKind Op2Info) const argument 228 getReductionCost(unsigned Opcode, Type *Ty, bool IsPairwise) const argument [all...] |
/external/llvm/lib/Target/Mips/ |
H A D | MipsISelLowering.h | 261 SDValue getGlobalReg(SelectionDAG &DAG, EVT Ty) const; 268 SDValue getAddrLocal(NodeTy *N, EVT Ty, SelectionDAG &DAG, argument 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, SelectionDA argument 302 getAddrGlobalLargeGOT(NodeTy *N, EVT Ty, SelectionDAG &DAG, unsigned HiFlag, unsigned LoFlag, SDValue Chain, const MachinePointerInfo &PtrInfo) const argument 321 getAddrNonPIC(NodeTy *N, EVT Ty, SelectionDAG &DAG) const argument [all...] |
/external/llvm/lib/IR/ |
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 | Instructions.cpp | 834 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, argument 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, argument 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, argument 854 : UnaryInstruction(PointerType::getUnqual(Ty), Alloc 861 AllocaInst(Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) argument 870 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, const Twine &Name, Instruction *InsertBefore) argument 879 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, const Twine &Name, BasicBlock *InsertAtEnd) argument 1744 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument 1757 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) argument 2375 Create(Instruction::CastOps op, Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument 2397 Create(Instruction::CastOps op, Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) argument 2419 CreateZExtOrBitCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument 2427 CreateZExtOrBitCast(Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) argument 2435 CreateSExtOrBitCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument 2443 CreateSExtOrBitCast(Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) argument 2451 CreateTruncOrBitCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument 2459 CreateTruncOrBitCast(Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) argument 2467 CreatePointerCast(Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) argument 2489 CreatePointerCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument 2510 CreateIntegerCast(Value *C, Type *Ty, bool isSigned, const Twine &Name, Instruction *InsertBefore) argument 2524 CreateIntegerCast(Value *C, Type *Ty, bool isSigned, const Twine &Name, BasicBlock *InsertAtEnd) argument 2538 CreateFPCast(Value *C, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument 2551 CreateFPCast(Value *C, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) argument 2897 TruncInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2903 TruncInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2909 ZExtInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2915 ZExtInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2920 SExtInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2926 SExtInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2932 FPTruncInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2938 FPTruncInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2944 FPExtInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2950 FPExtInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2956 UIToFPInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2962 UIToFPInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2968 SIToFPInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2974 SIToFPInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2980 FPToUIInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2986 FPToUIInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2992 FPToSIInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2998 FPToSIInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 3004 PtrToIntInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 3010 PtrToIntInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 3016 IntToPtrInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 3022 IntToPtrInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 3028 BitCastInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 3034 BitCastInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 3040 AddrSpaceCastInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 3046 AddrSpaceCastInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) 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...] |
H A D | TypeFinder.cpp | 96 void TypeFinder::incorporateType(Type *Ty) { argument 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/ |
H A D | 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/ |
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...] |
H A D | CocoaConventions.cpp | 59 bool cocoa::isCocoaObjectRef(QualType Ty) { argument 60 if (!Ty->isObjCObjectPointerType()) 63 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>();
|
/external/clang/include/clang/CodeGen/ |
H A D | CodeGenABITypes.h | 60 CanQual<FunctionProtoType> Ty); 62 CanQual<FunctionNoProtoType> Ty);
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ConstraintManager.cpp | 30 QualType Ty = Sym->getType(); local 31 DefinedSVal V = Loc::isLocType(Ty) ? getLocFromSymbol(State, Sym)
|
/external/llvm/bindings/ocaml/target/ |
H A D | target_ocaml.c | 131 CAMLprim value llvm_datalayout_size_in_bits(LLVMTypeRef Ty, value DL) { argument 132 return caml_copy_int64(LLVMSizeOfTypeInBits(DataLayout_val(DL), Ty)); 136 CAMLprim value llvm_datalayout_store_size(LLVMTypeRef Ty, value DL) { argument 137 return caml_copy_int64(LLVMStoreSizeOfType(DataLayout_val(DL), Ty)); 141 CAMLprim value llvm_datalayout_abi_size(LLVMTypeRef Ty, value DL) { argument 142 return caml_copy_int64(LLVMABISizeOfType(DataLayout_val(DL), Ty)); 146 CAMLprim value llvm_datalayout_abi_align(LLVMTypeRef Ty, value DL) { argument 147 return Val_int(LLVMABIAlignmentOfType(DataLayout_val(DL), Ty)); 151 CAMLprim value llvm_datalayout_stack_align(LLVMTypeRef Ty, value DL) { argument 152 return Val_int(LLVMCallFrameAlignmentOfType(DataLayout_val(DL), Ty)); 156 llvm_datalayout_preferred_align(LLVMTypeRef Ty, value DL) argument 167 llvm_datalayout_element_at_offset(LLVMTypeRef Ty, value Offset, value DL) argument 174 llvm_datalayout_offset_of_element(LLVMTypeRef Ty, value Index, value DL) argument [all...] |
/external/llvm/lib/Analysis/IPA/ |
H A D | FindUsedTypes.cpp | 31 void FindUsedTypes::IncorporateType(Type *Ty) { argument 34 if (!UsedTypes.insert(Ty)) return; // Already contain Ty. 38 for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end();
|
/external/clang/lib/CodeGen/ |
H A D | 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...] |
H A D | CGDebugInfo.cpp | 509 llvm::DIType CGDebugInfo::CreateType(const ComplexType *Ty) { argument 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) { argument 527 const Type *T = Qc.strip(Ty); 560 llvm::DIType CGDebugInfo::CreateType(const ObjCObjectPointerType *Ty, argument 566 if (Ty->isObjCQualifiedIdType()) 570 CreatePointerLikeType(llvm::dwarf::DW_TAG_pointer_type, Ty, 571 Ty 575 CreateType(const PointerType *Ty, llvm::DIFile Unit) argument 584 getUniqueTagTypeName(const TagType *Ty, CodeGenModule &CGM, llvm::DICompileUnit TheCU) argument 607 getOrCreateRecordFwdDecl(const RecordType *Ty, llvm::DIDescriptor Ctx) argument 634 CreatePointerLikeType(llvm::dwarf::Tag Tag, const Type *Ty, QualType PointeeTy, llvm::DIFile Unit) argument 664 CreateType(const BlockPointerType *Ty, llvm::DIFile Unit) argument 726 CreateType(const TemplateSpecializationType *Ty, llvm::DIFile Unit) argument 751 CreateType(const TypedefType *Ty, llvm::DIFile Unit) argument 769 CreateType(const FunctionType *Ty, llvm::DIFile Unit) argument 1529 CreateType(const RecordType *Ty) argument 1542 CreateTypeDefinition(const RecordType *Ty) argument 1599 CreateType(const ObjCObjectType *Ty, llvm::DIFile Unit) argument 1631 CreateType(const ObjCInterfaceType *Ty, llvm::DIFile Unit) argument 1657 CreateTypeDefinition(const ObjCInterfaceType *Ty, llvm::DIFile Unit) argument 1805 CreateType(const VectorType *Ty, llvm::DIFile Unit) argument 1822 CreateType(const ArrayType *Ty, llvm::DIFile Unit) argument 1877 CreateType(const LValueReferenceType *Ty, llvm::DIFile Unit) argument 1883 CreateType(const RValueReferenceType *Ty, llvm::DIFile Unit) argument 1889 CreateType(const MemberPointerType *Ty, llvm::DIFile U) argument 1904 CreateType(const AtomicType *Ty, llvm::DIFile U) argument 1912 CreateEnumType(const EnumType *Ty) argument 1941 CreateTypeDefinition(const EnumType *Ty) argument 2034 getTypeOrNull(QualType Ty) argument 2062 getOrCreateType(QualType Ty, llvm::DIFile Unit) argument 2096 getObjCInterfaceDecl(QualType Ty) argument 2109 CreateTypeNode(QualType Ty, llvm::DIFile Unit) argument 2200 getOrCreateLimitedType(const RecordType *Ty, llvm::DIFile Unit) argument 2225 CreateLimitedType(const RecordType *Ty) argument 2312 llvm::DIType Ty = DBuilder.createMemberType(Unit, Name, Unit, 0, local 2723 llvm::DIType Ty; local 2844 CreateSelfType(const QualType &QualTy, llvm::DIType Ty) argument 2865 llvm::DIType Ty; local 3198 llvm::DIType Ty = getOrCreateType(VD->getType(), Unit); local [all...] |
H A D | 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...] |
/external/llvm/lib/Bitcode/Reader/ |
H A D | 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/ |
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/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/CodeGen/ |
H A D | MachineConstantPool.h | 38 Type *Ty; member in class:llvm::MachineConstantPoolValue 41 explicit MachineConstantPoolValue(Type *ty) : Ty(ty) {} 46 Type *getType() const { return Ty; }
|
/external/llvm/include/llvm/ADT/ |
H A D | PointerIntPair.h | 162 typedef PointerIntPair<PointerTy, IntBits, IntType> Ty; 163 static Ty getEmptyKey() { 165 Val <<= PointerLikeTypeTraits<Ty>::NumLowBitsAvailable; 166 return Ty::getFromOpaqueValue(reinterpret_cast<void *>(Val)); 168 static Ty getTombstoneKey() { 171 return Ty::getFromOpaqueValue(reinterpret_cast<void *>(Val)); 173 static unsigned getHashValue(Ty V) { 177 static bool isEqual(const Ty &LHS, const Ty &RHS) { return LHS == RHS; }
|