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

References

lib/IR/ConstantFold.cpp
  102   Type *SrcTy = V->getType();
  104     return V; // no-op cast
  108   if (PointerType *PTy = dyn_cast<PointerType>(V->getType()))
  134                                                         V, IdxList);
  140     if (VectorType *SrcTy = dyn_cast<VectorType>(V->getType())) {
  145       if (isa<ConstantAggregateZero>(V))
  149       return BitCastConstantVector(V, DestPTy);
  155     if (isa<ConstantInt>(V) || isa<ConstantFP>(V))
  155     if (isa<ConstantInt>(V) || isa<ConstantFP>(V))
  156       return ConstantExpr::getBitCast(ConstantVector::get(V), DestPTy);
  161   if (isa<ConstantPointerNull>(V))  // ptr->ptr cast.
  165   if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
  169       return V;
  182   if (ConstantFP *FP = dyn_cast<ConstantFP>(V)) {