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

Declarations

include/llvm/IR/Constant.h
  175   static Constant *getIntegerValue(Type *Ty, const APInt &V);

References

lib/Analysis/LazyValueInfo.cpp
 1352   Constant* OpConst = Constant::getIntegerValue(Op->getType(), OpConstVal);
lib/ProfileData/InstrProf.cpp
 1141       Constant::getIntegerValue(IntTy64, APInt(64, ProfileVersion)), VarName);
lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
  143         Value *Idx = Constant::getIntegerValue(
lib/Target/X86/X86ISelLowering.cpp
 8087       Const = Constant::getIntegerValue(Type::getIntNTy(C, ScalarSize), Val);
 8227           Constant *C = Constant::getIntegerValue(ScalarTy, SplatValue);
lib/Transforms/InstCombine/InstCombineCalls.cpp
  589   auto *MinC = Constant::getIntegerValue(ArgTy, MinValue);
  590   auto *MaxC = Constant::getIntegerValue(ArgTy, MaxValue);
  780             Constant::getIntegerValue(IntTy32, APInt(32, i + Index)));
  783             Constant::getIntegerValue(IntTy32, APInt(32, i + 16)));
  859       ShuffleMask.push_back(Constant::getIntegerValue(IntTy32, APInt(32, i)));
  862           Constant::getIntegerValue(IntTy32, APInt(32, i + 16)));
  864       ShuffleMask.push_back(Constant::getIntegerValue(IntTy32, APInt(32, i)));
lib/Transforms/InstCombine/InstCombineCompares.cpp
 4967     return new ICmpInst(Pred, ConstantExpr::getIntegerValue(Ty, Op0Min), Op1);
 4969     return new ICmpInst(Pred, Op0, ConstantExpr::getIntegerValue(Ty, Op1Min));
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  182       return Constant::getIntegerValue(VTy, IKnownOne);
  216       return Constant::getIntegerValue(VTy, IKnownOne);
  250       return Constant::getIntegerValue(VTy, IKnownOne);
  275       Constant *AndC = Constant::getIntegerValue(VTy,
  755     return Constant::getIntegerValue(VTy, Known.One);
  792       return Constant::getIntegerValue(ITy, IKnownOne);
  823       return Constant::getIntegerValue(ITy, IKnownOne);
  855       return Constant::getIntegerValue(ITy, IKnownOne);
  877       return Constant::getIntegerValue(ITy, Known.One);
lib/Transforms/InstCombine/InstructionCombining.cpp
 2552     RI.setOperand(0, Constant::getIntegerValue(VTy, Known.getConstant()));
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1248       ArgVal = llvm::Constant::getIntegerValue(Int64Ty, llvm::APInt(64, Val));
tools/clang/lib/CodeGen/TargetInfo.cpp
 7405             llvm::ConstantAsMetadata::get(llvm::Constant::getIntegerValue(
 7408             llvm::ConstantAsMetadata::get(llvm::Constant::getIntegerValue(
 7411             llvm::ConstantAsMetadata::get(llvm::Constant::getIntegerValue(