/external/llvm/lib/ExecutionEngine/Interpreter/ |
Interpreter.h | 215 GenericValue executeTruncInst(Value *SrcVal, Type *DstTy, 217 GenericValue executeSExtInst(Value *SrcVal, Type *DstTy, 219 GenericValue executeZExtInst(Value *SrcVal, Type *DstTy, 221 GenericValue executeFPTruncInst(Value *SrcVal, Type *DstTy, 223 GenericValue executeFPExtInst(Value *SrcVal, Type *DstTy, 225 GenericValue executeFPToUIInst(Value *SrcVal, Type *DstTy, 227 GenericValue executeFPToSIInst(Value *SrcVal, Type *DstTy, 229 GenericValue executeUIToFPInst(Value *SrcVal, Type *DstTy, 231 GenericValue executeSIToFPInst(Value *SrcVal, Type *DstTy, 233 GenericValue executePtrToIntInst(Value *SrcVal, Type *DstTy, [all...] |
Execution.cpp | [all...] |
/external/llvm/lib/Linker/ |
LinkModules.cpp | 61 void addTypeMapping(Type *DstTy, Type *SrcTy); 92 bool areTypesIsomorphic(Type *DstTy, Type *SrcTy); 96 void TypeMapTy::addTypeMapping(Type *DstTy, Type *SrcTy) { 100 if (DstTy == SrcTy) { 101 Entry = DstTy; 107 if (!areTypesIsomorphic(DstTy, SrcTy)) { 118 bool TypeMapTy::areTypesIsomorphic(Type *DstTy, Type *SrcTy) { 120 if (DstTy->getTypeID() != SrcTy->getTypeID()) return false; 125 return Entry == DstTy; 129 if (DstTy == SrcTy) [all...] |
/external/clang/lib/CodeGen/ |
CGExprScalar.cpp | 100 Value *EmitConversionToBool(Value *Src, QualType DstTy); 104 Value *EmitScalarConversion(Value *Src, QualType SrcTy, QualType DstTy); 110 QualType SrcTy, QualType DstTy); 562 llvm::Type *DstTy = ConvertType(DstType); 565 if (SrcTy == DstTy) 571 if (isa<llvm::PointerType>(DstTy)) { 574 return Builder.CreateBitCast(Src, DstTy, "conv"); 584 return Builder.CreateIntToPtr(IntResult, DstTy, "conv"); 589 assert(isa<llvm::IntegerType>(DstTy) && "not ptr->int?"); 590 return Builder.CreatePtrToInt(Src, DstTy, "conv") [all...] |
CGCall.cpp | 736 llvm::Type *DstTy = 738 if (SrcTy == DstTy) { 745 if (llvm::StructType *DstSTy = dyn_cast<llvm::StructType>(DstTy)) { 747 DstTy = cast<llvm::PointerType>(DstPtr->getType())->getElementType(); 753 (isa<llvm::IntegerType>(DstTy) || isa<llvm::PointerType>(DstTy))) { 754 Src = CoerceIntOrPtrToIntOrPtr(Src, DstTy, CGF); 759 uint64_t DstSize = CGF.CGM.getTargetData().getTypeAllocSize(DstTy); 780 CGF.Builder.CreateBitCast(Tmp, llvm::PointerType::getUnqual(DstTy)); [all...] |
CodeGenFunction.h | [all...] |
/external/llvm/lib/VMCore/ |
Instructions.cpp | [all...] |
ConstantFold.cpp | 44 static Constant *BitCastConstantVector(Constant *CV, VectorType *DstTy) { 46 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy); 47 if (CV->isNullValue()) return Constant::getNullValue(DstTy); 52 unsigned NumElts = DstTy->getNumElements(); 56 Type *DstEltTy = DstTy->getElementType(); 78 Type *DstTy ///< desintation type of the first cast 81 assert(DstTy && DstTy->isFirstClassType() && "Invalid cast destination type"); 91 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy, 92 Type::getInt64Ty(DstTy->getContext())) [all...] |
Constants.cpp | [all...] |
/external/llvm/include/llvm/ |
InstrTypes.h | 573 Type *DstTy, ///< DstTy of cast 586 /// the pair, casting SrcTy to DstTy. 592 Type *MidTy, ///< DstTy of 1st cast & SrcTy of 2nd cast 593 Type *DstTy, ///< DstTy of 2nd cast 607 /// This method can be used to determine if a cast from S to DstTy using 611 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | 747 Type* DstTy = cast<PointerType>(CI->getType())->getElementType(); 748 if (!SrcTy->isSized() || !DstTy->isSized()) 750 if (!TD || TD->getTypeAllocSize(SrcTy) != TD->getTypeAllocSize(DstTy)) [all...] |
InstCombineCasts.cpp | 231 Type *DstTy, ///< The target type for the second cast instruction 243 DstTy, 251 (!TD || DstTy != TD->getIntPtrType(CI->getContext())))) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
LoopStrengthReduce.cpp | [all...] |
/external/llvm/lib/Analysis/ |
InstructionSimplify.cpp | [all...] |
/external/llvm/lib/Target/X86/ |
X86ISelLowering.cpp | [all...] |
/external/clang/lib/Sema/ |
SemaChecking.cpp | [all...] |
SemaExpr.cpp | [all...] |