/external/llvm/lib/Analysis/ |
InstructionSimplify.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | 768 Type* DstTy = cast<PointerType>(CI->getType())->getElementType(); 769 if (!SrcTy->isSized() || !DstTy->isSized()) 771 if (!TD || TD->getTypeAllocSize(SrcTy) != TD->getTypeAllocSize(DstTy)) [all...] |
/external/clang/lib/CodeGen/ |
CGCall.cpp | 538 llvm::Type *DstTy = 540 if (SrcTy == DstTy) { 547 if (llvm::StructType *DstSTy = dyn_cast<llvm::StructType>(DstTy)) { 549 DstTy = cast<llvm::PointerType>(DstPtr->getType())->getElementType(); 555 (isa<llvm::IntegerType>(DstTy) || isa<llvm::PointerType>(DstTy))) { 556 Src = CoerceIntOrPtrToIntOrPtr(Src, DstTy, CGF); 561 uint64_t DstSize = CGF.CGM.getTargetData().getTypeAllocSize(DstTy); 582 CGF.Builder.CreateBitCast(Tmp, llvm::PointerType::getUnqual(DstTy)); [all...] |
CGObjC.cpp | [all...] |
CGExprScalar.cpp | 98 Value *EmitConversionToBool(Value *Src, QualType DstTy); 102 Value *EmitScalarConversion(Value *Src, QualType SrcTy, QualType DstTy); 108 QualType SrcTy, QualType DstTy); 569 llvm::Type *DstTy = ConvertType(DstType); 572 if (SrcTy == DstTy) 578 if (isa<llvm::PointerType>(DstTy)) { 581 return Builder.CreateBitCast(Src, DstTy, "conv"); 591 return Builder.CreateIntToPtr(IntResult, DstTy, "conv"); 596 assert(isa<llvm::IntegerType>(DstTy) && "not ptr->int?"); 597 return Builder.CreatePtrToInt(Src, DstTy, "conv") [all...] |
/external/llvm/lib/Target/CBackend/ |
CBackend.cpp | 212 void printCast(unsigned opcode, Type *SrcTy, Type *DstTy); 687 void CWriter::printCast(unsigned opc, Type *SrcTy, Type *DstTy) { 696 case Instruction::FPTrunc: // For these the DstTy sign doesn't matter 698 printType(Out, DstTy); 705 printSimpleType(Out, DstTy, false); 711 printSimpleType(Out, DstTy, true); [all...] |
/external/llvm/lib/VMCore/ |
Instructions.cpp | [all...] |
/external/clang/lib/Sema/ |
SemaExpr.cpp | [all...] |
/external/llvm/lib/Target/X86/ |
X86ISelLowering.cpp | [all...] |