Home
last modified time | relevance | path

Searched refs:getIntegerValue (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DTCE.cpp58 llvm::ConstantAsMetadata::get(llvm::Constant::getIntegerValue( in setTargetAttributes()
60 llvm::ConstantAsMetadata::get(llvm::Constant::getIntegerValue( in setTargetAttributes()
62 llvm::ConstantAsMetadata::get(llvm::Constant::getIntegerValue( in setTargetAttributes()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp228 return Constant::getIntegerValue(VTy, Known.One); in SimplifyDemandedUseBits()
259 return Constant::getIntegerValue(VTy, Known.One); in SimplifyDemandedUseBits()
305 return Constant::getIntegerValue(VTy, Known.One); in SimplifyDemandedUseBits()
332 Constant *AndC = Constant::getIntegerValue(VTy, in SimplifyDemandedUseBits()
1057 replaceOperand(*I, 0, Constant::getIntegerValue(VTy, LHSKnown.One)); in SimplifyDemandedUseBits()
1064 replaceOperand(*I, 1, Constant::getIntegerValue(VTy, RHSKnown.One)); in SimplifyDemandedUseBits()
1127 return Constant::getIntegerValue(VTy, Known.One); in SimplifyDemandedUseBits()
1170 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits()
1191 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits()
1214 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits()
[all …]
H A DInstCombineCompares.cpp3788 Op, Constant::getIntegerValue(Op->getType(), ~(OpKnown.One))); in foldCtpopPow2Test()
5369 Constant *C3 = Constant::getIntegerValue(BO0->getType(), Diff); in foldICmpBinOp()
5375 Constant *C3 = Constant::getIntegerValue(BO0->getType(), Diff); in foldICmpBinOp()
6870 Pred, ConstantExpr::getIntegerValue(Ty, Op0Known.getConstant()), Op1); in foldICmpUsingKnownBits()
6873 Pred, Op0, ConstantExpr::getIntegerValue(Ty, Op1Known.getConstant())); in foldICmpUsingKnownBits()
H A DInstCombineCalls.cpp2064 X = Constant::getIntegerValue( in visitCallInst()
H A DInstructionCombining.cpp1084 C = Constant::getIntegerValue(V->getType(), APInt(BitWidth, 1)); in foldBinOpOfSelectAndCastOfSelectCondition()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Atomic/
H A DAtomic.cpp77 Constant::getIntegerValue(IntegerType::get(ctx, IntBits), in EmitAtomicCompareExchangeLibcall()
80 Constant::getIntegerValue(IntegerType::get(ctx, IntBits), in EmitAtomicCompareExchangeLibcall()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstant.h199 LLVM_ABI static Constant *getIntegerValue(Type *Ty, const APInt &V);
H A DIntrinsicInst.h842 return Constant::getIntegerValue( in getSaturationPoint()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOCtxProfLowering.cpp145 Constant::getIntegerValue( \ in CtxInstrumentationLowerer()
H A DMemProfInstrumentation.cpp500 Constant::getIntegerValue(IntTy1, APInt(1, ClHistogram)), VarName); in createMemprofHistogramFlagVar()
H A DInstrProfiling.cpp2151 ValueZero = Constant::getIntegerValue(SamplingVarTy, APInt(16, 0)); in createProfileSamplingVar()
2154 ValueZero = Constant::getIntegerValue(SamplingVarTy, APInt(32, 0)); in createProfileSamplingVar()
H A DNumericalStabilitySanitizer.cpp1841 Value *ValueSize = Constant::getIntegerValue( in propagateNonFTStore()
H A DPGOInstrumentation.cpp472 Constant::getIntegerValue(IntTy64, APInt(64, ProfileVersion)), VarName); in createIRLevelProfileFlagVar()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp477 virtual std::string getIntegerValue(const std::string &) { in getIntegerValue() function in __anon819a2c470111::Result
580 std::string getIntegerValue(const std::string &IntType) override { in getIntegerValue() function in __anon819a2c470111::BuiltinArgResult
683 Arg->getIntegerValue(it->second)); in genCode()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDXILResource.cpp632 Constant::getIntegerValue(I32Ty, APInt(32, V))); in getAsMetadata()
636 Constant::getIntegerValue(I1Ty, APInt(1, V))); in getAsMetadata()
H A DLazyValueInfo.cpp1414 Constant* OpConst = Constant::getIntegerValue(Op->getType(), OpConstVal); in constantFoldUser()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp403 Constant *Constant::getIntegerValue(Type *Ty, const APInt &V) { in getIntegerValue() function in Constant
2727 return Constant::getIntegerValue( in getIntrinsicIdentity()
2730 return Constant::getIntegerValue( in getIntrinsicIdentity()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerBufferFatPointers.cpp1945 ConstantExpr::getIntegerValue(ResTy, APInt(Width, BufferOffsetWidth)), in visitPtrToIntInst()
1975 ConstantExpr::getIntegerValue(IntTy, APInt(Width, BufferOffsetWidth))); in visitIntToPtrInst()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp1355 llvm::Constant::getIntegerValue(IntTy64, in setProfileVersion()
H A DCGBuiltin.cpp2227 ArgVal = llvm::Constant::getIntegerValue(Int64Ty, llvm::APInt(64, Val)); in emitBuiltinOSLogFormat()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp478 auto *MinC = Constant::getIntegerValue(ArgTy, MinValue); in simplifyX86pack()
479 auto *MaxC = Constant::getIntegerValue(ArgTy, MaxValue); in simplifyX86pack()
H A DX86ISelLowering.cpp7559 return Constant::getIntegerValue(Ty, Val); in getConstantVector()
7583 return Constant::getIntegerValue(Type::getIntNTy(C, ScalarSize), Val); in getConstantVector()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp6259 And, Constant::getIntegerValue(And->getType(), AndMask)); in foldSwitchToSelect()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc20817 {"_ZN4llvm8Constant15getIntegerValueEPKNS_4TypeERKNS_5APIntE", "llvm::Constant::getIntegerValue(llv…