Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DTCE.cpp57 llvm::ConstantAsMetadata::get(llvm::Constant::getIntegerValue( in setTargetAttributes()
60 llvm::ConstantAsMetadata::get(llvm::Constant::getIntegerValue( in setTargetAttributes()
63 llvm::ConstantAsMetadata::get(llvm::Constant::getIntegerValue( in setTargetAttributes()
/src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp221 return Constant::getIntegerValue(VTy, Known.One); in SimplifyDemandedUseBits()
252 return Constant::getIntegerValue(VTy, Known.One); in SimplifyDemandedUseBits()
298 return Constant::getIntegerValue(VTy, Known.One); in SimplifyDemandedUseBits()
325 Constant *AndC = Constant::getIntegerValue(VTy, in SimplifyDemandedUseBits()
1051 replaceOperand(*I, 0, Constant::getIntegerValue(VTy, LHSKnown.One)); in SimplifyDemandedUseBits()
1058 replaceOperand(*I, 1, Constant::getIntegerValue(VTy, RHSKnown.One)); in SimplifyDemandedUseBits()
1121 return Constant::getIntegerValue(VTy, Known.One); in SimplifyDemandedUseBits()
1164 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits()
1185 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits()
1208 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits()
[all …]
H A DInstCombineCompares.cpp3595 Op, Constant::getIntegerValue(Op->getType(), ~(OpKnown.One))); in foldCtpopPow2Test()
5115 Constant *C3 = Constant::getIntegerValue(BO0->getType(), Diff); in foldICmpBinOp()
5121 Constant *C3 = Constant::getIntegerValue(BO0->getType(), Diff); in foldICmpBinOp()
6485 return new ICmpInst(Pred, ConstantExpr::getIntegerValue(Ty, Op0Min), Op1); in foldICmpUsingKnownBits()
6487 return new ICmpInst(Pred, Op0, ConstantExpr::getIntegerValue(Ty, Op1Min)); in foldICmpUsingKnownBits()
H A DInstructionCombining.cpp1056 C = Constant::getIntegerValue(V->getType(), APInt(BitWidth, 1)); in foldBinOpOfSelectAndCastOfSelectCondition()
H A DInstCombineCalls.cpp1810 X = Constant::getIntegerValue( in visitCallInst()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstant.h198 static Constant *getIntegerValue(Type *Ty, const APInt &V);
H A DIntrinsicInst.h829 return Constant::getIntegerValue( in getSaturationPoint()
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDXILResource.cpp273 Constant::getIntegerValue(I32Ty, APInt(32, V))); in getAsMetadata()
277 Constant::getIntegerValue(I1Ty, APInt(1, V))); in getAsMetadata()
/src/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp479 virtual std::string getIntegerValue(const std::string &) { in getIntegerValue() function in __anon7767069c0111::Result
582 std::string getIntegerValue(const std::string &IntType) override { in getIntegerValue() function in __anon7767069c0111::BuiltinArgResult
685 Arg->getIntegerValue(it->second)); in genCode()
/src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp2142 ValueZero = Constant::getIntegerValue(SamplingVarTy, APInt(16, 0)); in createProfileSamplingVar()
2145 ValueZero = Constant::getIntegerValue(SamplingVarTy, APInt(32, 0)); in createProfileSamplingVar()
H A DMemProfiler.cpp531 Constant::getIntegerValue(IntTy1, APInt(1, ClHistogram)), VarName); in createMemprofHistogramFlagVar()
H A DNumericalStabilitySanitizer.cpp1784 Value *ValueSize = Constant::getIntegerValue( in propagateNonFTStore()
H A DPGOInstrumentation.cpp414 Constant::getIntegerValue(IntTy64, APInt(64, ProfileVersion)), VarName); in createIRLevelProfileFlagVar()
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerBufferFatPointers.cpp1310 ConstantExpr::getIntegerValue(ResTy, APInt(Width, BufferOffsetWidth)), in visitPtrToIntInst()
1340 ConstantExpr::getIntegerValue(IntTy, APInt(Width, BufferOffsetWidth))); in visitIntToPtrInst()
/src/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp400 Constant *Constant::getIntegerValue(Type *Ty, const APInt &V) { in getIntegerValue() function in Constant
2705 return Constant::getIntegerValue( in getIntrinsicIdentity()
2708 return Constant::getIntegerValue( in getIntrinsicIdentity()
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp1343 llvm::Constant::getIntegerValue(IntTy64, in setProfileVersion()
H A DCGBuiltin.cpp2189 ArgVal = llvm::Constant::getIntegerValue(Int64Ty, llvm::APInt(64, Val)); in emitBuiltinOSLogFormat()
/src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp484 auto *MinC = Constant::getIntegerValue(ArgTy, MinValue); in simplifyX86pack()
485 auto *MaxC = Constant::getIntegerValue(ArgTy, MaxValue); in simplifyX86pack()
H A DX86ISelLowering.cpp7209 return Constant::getIntegerValue(Ty, Val); in getConstantVector()
7233 return Constant::getIntegerValue(Type::getIntNTy(C, ScalarSize), Val); in getConstantVector()
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1338 Constant* OpConst = Constant::getIntegerValue(Op->getType(), OpConstVal); in constantFoldUser()