• Home
  • Raw
  • Download

Lines Matching refs:IntInit

245     return IntInit::get(getValue());  in convertInitializerTo()
308 return IntInit::get(Result); in convertInitializerTo()
395 IntInit *IntInit::get(int64_t V) { in get()
396 static DenseMap<int64_t, std::unique_ptr<IntInit>> ThePool; in get()
398 std::unique_ptr<IntInit> &I = ThePool[V]; in get()
399 if (!I) I.reset(new IntInit(V)); in get()
403 std::string IntInit::getAsString() const { in getAsString()
413 Init *IntInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
415 return const_cast<IntInit *>(this); in convertInitializerTo()
440 IntInit::convertInitializerBitRange(const std::vector<unsigned> &Bits) const { in convertInitializerBitRange()
661 if (IntInit *LHSi = dyn_cast<IntInit>(LHS)) in Fold()
739 return IntInit::get(LHSl->empty()); in Fold()
741 return IntInit::get(LHSs->getValue().empty()); in Fold()
845 IntInit *L = in Fold()
846 dyn_cast_or_null<IntInit>(LHS->convertInitializerTo(IntRecTy::get())); in Fold()
847 IntInit *R = in Fold()
848 dyn_cast_or_null<IntInit>(RHS->convertInitializerTo(IntRecTy::get())); in Fold()
851 return IntInit::get(L->getValue() == R->getValue()); in Fold()
858 return IntInit::get(LHSs->getValue() == RHSs->getValue()); in Fold()
867 IntInit *LHSi = in Fold()
868 dyn_cast_or_null<IntInit>(LHS->convertInitializerTo(IntRecTy::get())); in Fold()
869 IntInit *RHSi = in Fold()
870 dyn_cast_or_null<IntInit>(RHS->convertInitializerTo(IntRecTy::get())); in Fold()
882 return IntInit::get(Result); in Fold()
1095 IntInit *LHSi = dyn_cast<IntInit>(LHS); in Fold()
1097 LHSi = dyn_cast<IntInit>(I); in Fold()
1115 IntInit *Value = dyn_cast<IntInit>(lhs); in resolveReferences()
1117 Value = dyn_cast<IntInit>(I); in resolveReferences()
1800 if (IntInit *II = dyn_cast<IntInit>(R->getValue())) in getValueAsInt()
1811 if (IntInit *II = dyn_cast<IntInit>(I)) in getValueAsListOfInts()