/macosx-10.9.5/llvmCore-3425.0.33/bindings/ocaml/target/ |
H A D | target_ocaml.c | 57 CAMLprim value llvm_size_in_bits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 58 return caml_copy_int64(LLVMSizeOfTypeInBits(TD, Ty)); 62 CAMLprim value llvm_store_size(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 63 return caml_copy_int64(LLVMStoreSizeOfType(TD, Ty)); 67 CAMLprim value llvm_abi_size(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 68 return caml_copy_int64(LLVMABISizeOfType(TD, Ty)); 72 CAMLprim value llvm_abi_align(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 73 return Val_int(LLVMABIAlignmentOfType(TD, Ty)); 77 CAMLprim value llvm_stack_align(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 78 return Val_int(LLVMCallFrameAlignmentOfType(TD, Ty)); 82 llvm_preferred_align(LLVMTargetDataRef TD, LLVMTypeRef Ty) argument 93 llvm_element_at_offset(LLVMTargetDataRef TD, LLVMTypeRef Ty, value Offset) argument 99 llvm_offset_of_element(LLVMTargetDataRef TD, LLVMTypeRef Ty, value Index) argument [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Target/ |
H A D | TargetData.h | 103 bool ABIAlign, Type *Ty) const; 105 unsigned getAlignment(Type *Ty, bool abi_or_pref) const; 226 uint64_t getTypeSizeInBits(Type* Ty) const; 231 uint64_t getTypeStoreSize(Type *Ty) const { 232 return (getTypeSizeInBits(Ty)+7)/8; 238 uint64_t getTypeStoreSizeInBits(Type *Ty) const { 239 return 8*getTypeStoreSize(Ty); 246 uint64_t getTypeAllocSize(Type* Ty) const { 248 return RoundUpAlignment(getTypeStoreSize(Ty), getABITypeAlignment(Ty)); [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/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...] |
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/ |
H A D | Target.cpp | 65 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 66 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty)); 69 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 70 return unwrap(TD)->getTypeStoreSize(unwrap(Ty)); 73 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 74 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); 77 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 78 return unwrap(TD)->getABITypeAlignment(unwrap(Ty)); 81 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 82 return unwrap(TD)->getCallFrameTypeAlignment(unwrap(Ty)); 85 LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) argument [all...] |
H A D | TargetData.cpp | 52 Type *Ty = ST->getElementType(i); local 53 unsigned TyAlign = ST->isPacked() ? 1 : TD.getABITypeAlignment(Ty); 63 StructSize += TD.getTypeAllocSize(Ty); // Consume space for this data item 337 Type *Ty) const { 373 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType()); 374 Align *= cast<VectorType>(Ty)->getNumElements(); 419 const StructLayout *TargetData::getStructLayout(StructType *Ty) const { 424 StructLayout *&SL = (*STM)[Ty]; 429 int NumElts = Ty->getNumElements(); 437 new (L) StructLayout(Ty, *thi 513 getAlignment(Type *Ty, bool abi_or_pref) const argument 601 Type *Ty = ptrTy; local [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/lib/ExecutionEngine/Interpreter/ |
H A D | Execution.cpp | 54 GenericValue Src2, Type *Ty) { 55 switch (Ty->getTypeID()) { 59 dbgs() << "Unhandled type for FAdd instruction: " << *Ty << "\n"; 65 GenericValue Src2, Type *Ty) { 66 switch (Ty->getTypeID()) { 70 dbgs() << "Unhandled type for FSub instruction: " << *Ty << "\n"; 76 GenericValue Src2, Type *Ty) { 77 switch (Ty->getTypeID()) { 81 dbgs() << "Unhandled type for FMul instruction: " << *Ty << "\n"; 87 GenericValue Src2, Type *Ty) { 53 executeFAddInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument 64 executeFSubInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument 75 executeFMulInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument 86 executeFDivInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument 97 executeFRemInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument 127 executeICMP_EQ(GenericValue Src1, GenericValue Src2, Type *Ty) argument 140 executeICMP_NE(GenericValue Src1, GenericValue Src2, Type *Ty) argument 153 executeICMP_ULT(GenericValue Src1, GenericValue Src2, Type *Ty) argument [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/ADT/ |
H A D | STLExtras.h | 32 template<class Ty> 33 struct identity : public std::unary_function<Ty, Ty> { 34 Ty &operator()(Ty &self) const { 37 const Ty &operator()(const Ty &self) const { 42 template<class Ty> 43 struct less_ptr : public std::binary_function<Ty, Ty, boo [all...] |
H A D | PointerIntPair.h | 136 typedef PointerIntPair<PointerTy, IntBits, IntType> Ty; 137 static Ty getEmptyKey() { 140 return Ty(reinterpret_cast<PointerTy>(Val), IntType((1 << IntBits)-1)); 142 static Ty getTombstoneKey() { 145 return Ty(reinterpret_cast<PointerTy>(Val), IntType(0)); 147 static unsigned getHashValue(Ty V) { 151 static bool isEqual(const Ty &LHS, const Ty &RHS) { return LHS == RHS; }
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/VMCore/ |
H A D | Constants.cpp | 90 Constant *Constant::getNullValue(Type *Ty) { argument 91 switch (Ty->getTypeID()) { 93 return ConstantInt::get(Ty, 0); 95 return ConstantFP::get(Ty->getContext(), 98 return ConstantFP::get(Ty->getContext(), 101 return ConstantFP::get(Ty->getContext(), 104 return ConstantFP::get(Ty->getContext(), 107 return ConstantFP::get(Ty->getContext(), 110 return ConstantFP::get(Ty->getContext(), 113 return ConstantPointerNull::get(cast<PointerType>(Ty)); 124 getIntegerValue(Type *Ty, const APInt &V) argument 141 getAllOnesValue(Type *Ty) argument 374 ConstantInt(IntegerType *Ty, const APInt& V) argument 393 getTrue(Type *Ty) argument 405 getFalse(Type *Ty) argument 433 get(Type *Ty, uint64_t V, bool isSigned) argument 443 get(IntegerType *Ty, uint64_t V, bool isSigned) argument 448 getSigned(IntegerType *Ty, int64_t V) argument 452 getSigned(Type *Ty, int64_t V) argument 456 get(Type *Ty, const APInt& V) argument 468 get(IntegerType* Ty, StringRef Str, uint8_t radix) argument 477 TypeToFloatSemantics(Type *Ty) argument 498 get(Type *Ty, double V) argument 515 get(Type *Ty, StringRef Str) argument 529 getNegativeZero(Type *Ty) argument 537 getZeroValueForNegation(Type *Ty) argument 559 Type *Ty; local 581 getInfinity(Type *Ty, bool Negative) argument 587 ConstantFP(Type *Ty, const APFloat& V) argument 688 get(ArrayType *Ty, ArrayRef<Constant*> V) argument 1101 isValueValidForType(Type *Ty, uint64_t Val) argument 1111 isValueValidForType(Type *Ty, int64_t Val) argument 1122 isValueValidForType(Type *Ty, const APFloat& Val) argument 1173 get(Type *Ty) argument 1231 get(PointerType *Ty) argument 1251 get(Type *Ty) argument 1346 getFoldedCast( Instruction::CastOps opc, Constant *C, Type *Ty) argument 1362 getCast(unsigned oc, Constant *C, Type *Ty) argument 1386 getZExtOrBitCast(Constant *C, Type *Ty) argument 1392 getSExtOrBitCast(Constant *C, Type *Ty) argument 1398 getTruncOrBitCast(Constant *C, Type *Ty) argument 1404 getPointerCast(Constant *S, Type *Ty) argument 1413 getIntegerCast(Constant *C, Type *Ty, bool isSigned) argument 1426 getFPCast(Constant *C, Type *Ty) argument 1438 getTrunc(Constant *C, Type *Ty) argument 1452 getSExt(Constant *C, Type *Ty) argument 1466 getZExt(Constant *C, Type *Ty) argument 1480 getFPTrunc(Constant *C, Type *Ty) argument 1492 getFPExtend(Constant *C, Type *Ty) argument 1504 getUIToFP(Constant *C, Type *Ty) argument 1515 getSIToFP(Constant *C, Type *Ty) argument 1526 getFPToUI(Constant *C, Type *Ty) argument 1537 getFPToSI(Constant *C, Type *Ty) argument 1661 getSizeOf(Type* Ty) argument 1671 getAlignOf(Type* Ty) argument 1690 getOffsetOf(Type* Ty, Constant *FieldNo) argument 2013 getBinOpIdentity(unsigned Opcode, Type *Ty) argument 2036 getBinOpAbsorber(unsigned Opcode, Type *Ty) argument 2094 isElementTypeCompatible(const Type *Ty) argument 2215 Type *Ty = ArrayType::get(Type::getInt8Ty(Context), Elts.size()); local 2220 Type *Ty = ArrayType::get(Type::getInt16Ty(Context), Elts.size()); local 2225 Type *Ty = ArrayType::get(Type::getInt32Ty(Context), Elts.size()); local 2230 Type *Ty = ArrayType::get(Type::getInt64Ty(Context), Elts.size()); local 2235 Type *Ty = ArrayType::get(Type::getFloatTy(Context), Elts.size()); local 2240 Type *Ty = ArrayType::get(Type::getDoubleTy(Context), Elts.size()); local 2268 Type *Ty = VectorType::get(Type::getInt8Ty(Context), Elts.size()); local 2273 Type *Ty = VectorType::get(Type::getInt16Ty(Context), Elts.size()); local 2278 Type *Ty = VectorType::get(Type::getInt32Ty(Context), Elts.size()); local 2283 Type *Ty = VectorType::get(Type::getInt64Ty(Context), Elts.size()); local 2288 Type *Ty = VectorType::get(Type::getFloatTy(Context), Elts.size()); local 2293 Type *Ty = VectorType::get(Type::getDoubleTy(Context), Elts.size()); local [all...] |
H A D | Instructions.cpp | 812 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, argument 814 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca, 815 getAISize(Ty->getContext(), ArraySize), InsertBefore) { 817 assert(!Ty->isVoidTy() && "Cannot allocate void!"); 821 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, argument 823 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca, 824 getAISize(Ty->getContext(), ArraySize), InsertAtEnd) { 826 assert(!Ty->isVoidTy() && "Cannot allocate void!"); 830 AllocaInst::AllocaInst(Type *Ty, const Twine &Name, argument 832 : UnaryInstruction(PointerType::getUnqual(Ty), Alloc 839 AllocaInst(Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) argument 848 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, const Twine &Name, Instruction *InsertBefore) argument 857 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, const Twine &Name, BasicBlock *InsertAtEnd) argument 1385 Type *Ty = Ptr->getType(); local 1725 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument 1738 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) argument 2277 Create(Instruction::CastOps op, Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument 2298 Create(Instruction::CastOps op, Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) argument 2319 CreateZExtOrBitCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument 2327 CreateZExtOrBitCast(Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) argument 2335 CreateSExtOrBitCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument 2343 CreateSExtOrBitCast(Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) argument 2351 CreateTruncOrBitCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument 2359 CreateTruncOrBitCast(Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) argument 2367 CreatePointerCast(Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) argument 2380 CreatePointerCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument 2392 CreateIntegerCast(Value *C, Type *Ty, bool isSigned, const Twine &Name, Instruction *InsertBefore) argument 2406 CreateIntegerCast(Value *C, Type *Ty, bool isSigned, const Twine &Name, BasicBlock *InsertAtEnd) argument 2420 CreateFPCast(Value *C, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument 2433 CreateFPCast(Value *C, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd) argument 2692 TruncInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2698 TruncInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2704 ZExtInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2710 ZExtInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2715 SExtInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2721 SExtInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2727 FPTruncInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2733 FPTruncInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2739 FPExtInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2745 FPExtInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2751 UIToFPInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2757 UIToFPInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2763 SIToFPInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2769 SIToFPInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2775 FPToUIInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2781 FPToUIInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2787 FPToSIInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2793 FPToSIInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2799 PtrToIntInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2805 PtrToIntInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2811 IntToPtrInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2817 IntToPtrInst( Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd ) argument 2823 BitCastInst( Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore ) argument 2829 BitCastInst( 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), 246 bool InlineAsm::Verify(FunctionType *Ty, StringRef ConstStr) { argument 247 if (Ty->isVarArg()) return false; 280 if (!Ty->getReturnType()->isVoidTy()) return false; 283 if (Ty->getReturnType()->isStructTy()) return false; 286 StructType *STy = dyn_cast<StructType>(Ty [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/CodeGen/ |
H A D | Analysis.h | 37 unsigned ComputeLinearIndex(Type *Ty, 42 inline unsigned ComputeLinearIndex(Type *Ty, argument 45 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex); 55 void ComputeValueVTs(const TargetLowering &TLI, Type *Ty,
|
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; }
|
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Transforms/IPO/ |
H A D | PassManagerBuilder.h | 118 static void addGlobalExtension(ExtensionPointTy Ty, ExtensionFn Fn); 119 void addExtension(ExtensionPointTy Ty, ExtensionFn Fn); 142 RegisterStandardPasses(PassManagerBuilder::ExtensionPointTy Ty, argument 144 PassManagerBuilder::addGlobalExtension(Ty, Fn);
|
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/ |
H A D | DIBuilder.h | 134 /// @param Ty Original type. 139 DIType createTypedef(DIType Ty, StringRef Name, DIFile File, 143 DIType createFriend(DIType Ty, DIType FriendTy); 147 /// @param Ty Original type. 148 /// @param BaseTy Base type. Ty is inherits from base. 152 DIType createInheritance(DIType Ty, DIType BaseTy, uint64_t BaseOffset, 164 /// @param Ty Parent type. 168 unsigned Flags, DIType Ty); 179 /// @param Ty Parent type. 190 unsigned Flags, DIType Ty, [all...] |
H A D | Constant.h | 138 static Constant *getNullValue(Type* Ty); 143 static Constant *getAllOnesValue(Type* Ty); 147 static Constant *getIntegerValue(Type* Ty, const APInt &V);
|
H A D | Constants.h | 54 ConstantInt(IntegerType *Ty, const APInt& V); 64 static Constant *getTrue(Type *Ty); 65 static Constant *getFalse(Type *Ty); 67 /// If Ty is a vector type, return a Constant with a splat of the given 69 static Constant *get(Type *Ty, uint64_t V, bool isSigned = false); 77 static ConstantInt *get(IntegerType *Ty, uint64_t V, 83 /// signed value for the type Ty. 85 static ConstantInt *getSigned(IntegerType *Ty, int64_t V); 86 static Constant *getSigned(Type *Ty, int64_t V); 94 static ConstantInt *get(IntegerType *Ty, StringRe [all...] |
H A D | InstrTypes.h | 37 TerminatorInst(Type *Ty, Instruction::TermOps iType, argument 40 : Instruction(Ty, iType, Ops, NumOps, InsertBefore) {} 42 TerminatorInst(Type *Ty, Instruction::TermOps iType, argument 44 : Instruction(Ty, iType, Ops, NumOps, InsertAtEnd) {} 94 UnaryInstruction(Type *Ty, unsigned iType, Value *V, argument 96 : Instruction(Ty, iType, &Op<0>(), 1, IB) { 99 UnaryInstruction(Type *Ty, unsigned iType, Value *V, BasicBlock *IAE) argument 100 : Instruction(Ty, iType, &Op<0>(), 1, IAE) { 144 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, 146 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, 394 CastInst(Type *Ty, unsigned iType, Value *S, const Twine &NameStr = �, Instruction *InsertBefore = 0) argument 400 CastInst(Type *Ty, unsigned iType, Value *S, const Twine &NameStr, BasicBlock *InsertAtEnd) argument [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/IPA/ |
H A D | FindUsedTypes.cpp | 32 void FindUsedTypes::IncorporateType(Type *Ty) { argument 35 if (!UsedTypes.insert(Ty)) return; // Already contain Ty. 39 for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end();
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/ |
H A D | ScalarEvolutionExpander.cpp | 27 /// ReuseOrCreateCast - Arrange for there to be a cast of V to Ty at IP, 31 Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty, argument 51 if (U->getType() == Ty) 61 Ret = CastInst::Create(Op, V, Ty, "", IP); 74 Ret = CastInst::Create(Op, V, Ty, V->getName(), IP); 88 Value *SCEVExpander::InsertNoopCastOfTo(Value *V, Type *Ty) { argument 89 Instruction::CastOps Op = CastInst::getCastOpcode(V, false, Ty, false); 94 assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) && 99 if (V->getType() == Ty) 102 if (CI->getOperand(0)->getType() == Ty) 309 SimplifyAddOperands(SmallVectorImpl<const SCEV *> &Ops, Type *Ty, ScalarEvolution &SE) argument 338 SplitAddRecs(SmallVectorImpl<const SCEV *> &Ops, Type *Ty, ScalarEvolution &SE) argument 396 expandAddToGEP(const SCEV *const *op_begin, const SCEV *const *op_end, PointerType *PTy, Type *Ty, Value *V) argument 711 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 782 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 824 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 1404 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 1413 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 1422 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 1432 Type *Ty = LHS->getType(); local 1456 Type *Ty = LHS->getType(); local 1478 expandCodeFor(const SCEV *SH, Type *Ty, Instruction *IP) argument 1484 expandCodeFor(const SCEV *SH, Type *Ty) argument 1567 getOrInsertCanonicalInductionVariable(const Loop *L, Type *Ty) argument [all...] |
H A D | ConstantFolding.cpp | 481 Type *Ty = cast<PointerType>(CE->getType())->getElementType(); local 482 unsigned NumBits = Ty->getPrimitiveSizeInBits(); 486 (isa<IntegerType>(Ty) || Ty->isFloatingPointTy())) { 505 if (Ty->isFloatingPointTy()) 506 Res = ConstantExpr::getBitCast(Res, Ty); 703 Type *Ty = Ptr->getType(); local 704 assert(Ty->isPointerTy() && "Forming regular GEP of non-pointer type"); 707 if (SequentialType *ATy = dyn_cast<SequentialType>(Ty)) { 720 IntegerType *IntPtrTy = TD->getIntPtrType(Ty 1155 ConstantFoldFP(double (*NativeFP)(double), double V, Type *Ty) argument 1171 ConstantFoldBinaryFP(double (*NativeFP)(double, double), double V, double W, Type *Ty) argument 1195 ConstantFoldConvertToInt(const APFloat &Val, bool roundTowardZero, Type *Ty) argument 1222 Type *Ty = F->getReturnType(); local [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/unittests/VMCore/ |
H A D | VerifierTest.cpp | 50 Type *Ty = Type::getInt8Ty(C); local 51 Constant *Init = Constant::getNullValue(Ty); 52 GlobalVariable *Aliasee = new GlobalVariable(M, Ty, true,
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Scalar/ |
H A D | GlobalMerge.cpp | 140 Type *Ty = Globals[j]->getType()->getElementType(); local 141 MergedSize += TD->getTypeAllocSize(Ty); 145 Tys.push_back(Ty); 186 Type *Ty = I->getType()->getElementType(); local 187 if (Alignment > TD->getABITypeAlignment(Ty)) 195 if (TD->getTypeAllocSize(Ty) < MaxOffset) {
|
/macosx-10.9.5/llvmCore-3425.0.33/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...] |
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Analysis/ |
H A D | FindUsedTypes.h | 48 void IncorporateType(Type *Ty);
|