reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CGExpr.cpp
 2837   if (V->getType() == TargetTy)
 2838     return V;
 2842   if (V->getType()->isFloatingPointTy()) {
 2843     unsigned Bits = V->getType()->getPrimitiveSizeInBits();
 2845       V = Builder.CreateBitCast(V, llvm::Type::getIntNTy(getLLVMContext(),
 2845       V = Builder.CreateBitCast(V, llvm::Type::getIntNTy(getLLVMContext(),
 2850   if (V->getType()->isIntegerTy() &&
 2851       V->getType()->getIntegerBitWidth() <= TargetTy->getIntegerBitWidth())
 2852     return Builder.CreateZExt(V, TargetTy);
 2855   if (!V->getType()->isPointerTy()) {
 2856     Address Ptr = CreateDefaultAlignTempAlloca(V->getType());
 2857     Builder.CreateStore(V, Ptr);
 2858     V = Ptr.getPointer();
 2860   return Builder.CreatePtrToInt(V, TargetTy);