Home
last modified time | relevance | path

Searched refs:ConstantInt (Results 1 – 25 of 563) sorted by relevance

12345678910>>...23

/llvm-project-15.0.7/llvm/lib/IR/
H A DMDBuilder.cpp50 Vals[i + 1] = createConstant(ConstantInt::get(Int32Ty, Weights[i])); in createBranchWeights()
68 Ops.push_back(createConstant(ConstantInt::get(Int64Ty, Count))); in createFunctionEntryCount()
73 Ops.push_back(createConstant(ConstantInt::get(Int64Ty, ID))); in createFunctionEntryCount()
88 return createRange(ConstantInt::get(Ty, Lo), ConstantInt::get(Ty, Hi)); in createRange()
113 Ops.push_back(createConstant(ConstantInt::get(Int64, CalleeArgNo))); in createCallbackEncoding()
234 ConstantInt *Off = ConstantInt::get(Type::getInt64Ty(Context), Offset); in createTBAAScalarTypeNode()
244 ConstantInt *Off = ConstantInt::get(Int64, Offset); in createTBAAStructTagNode()
258 Ops[1] = createConstant(ConstantInt::get(Int64, Size)); in createTBAATypeNode()
273 auto *SizeNode = createConstant(ConstantInt::get(Int64, Size)); in createTBAAAccessTag()
321 Ops[0] = createConstant(ConstantInt::get(Int64Ty, GUID)); in createPseudoProbeDesc()
[all …]
H A DConstantFold.cpp166 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in FoldBitCast()
224 if (ConstantInt *CI = dyn_cast<ConstantInt>(C)) { in ExtractConstantBytes()
245 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(RHS)) in ExtractConstantBytes()
471 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in ConstantFoldCastInstruction()
481 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in ConstantFoldCastInstruction()
488 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in ConstantFoldCastInstruction()
499 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in ConstantFoldCastInstruction()
685 ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldInsertElementInstruction()
1007 if (ConstantInt *CI2 = dyn_cast<ConstantInt>(C2)) { in ConstantFoldBinaryInstruction()
1127 if (ConstantInt *CI1 = dyn_cast<ConstantInt>(C1)) { in ConstantFoldBinaryInstruction()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp111 ConstantInt::get(V->getType(), in LowerBSWAP()
115 ConstantInt::get(V->getType(), in LowerBSWAP()
119 ConstantInt::get(V->getType(), in LowerBSWAP()
123 ConstantInt::get(V->getType(), in LowerBSWAP()
127 ConstantInt::get(V->getType(), in LowerBSWAP()
131 ConstantInt::get(V->getType(), in LowerBSWAP()
161 Value *Count = ConstantInt::get(V->getType(), 0); in LowerCTPOP()
193 Value *ShVal = ConstantInt::get(V->getType(), i); in LowerCTLZ()
263 Value *SrcM1 = ConstantInt::get(Src->getType(), 1); in LowerIntrinsicCall()
287 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 0)); in LowerIntrinsicCall()
[all …]
/llvm-project-15.0.7/llvm/unittests/FuzzMutate/
H A DOperationsTest.cpp82 Constant *i1 = ConstantInt::getFalse(Ctx); in TEST()
83 Constant *i8 = ConstantInt::get(Type::getInt8Ty(Ctx), 3); in TEST()
86 Constant *i64 = ConstantInt::get(Type::getInt64Ty(Ctx), in TEST()
197 Value *Cond = ConstantInt::getFalse(Ctx); in TEST()
262 PHI1->addIncoming(ConstantInt::get(Int8Ty, 0), BB1); in TEST()
263 PHI1->addIncoming(ConstantInt::get(Int8Ty, 1), BB2); in TEST()
265 PHI2->addIncoming(ConstantInt::get(Int8Ty, 1), BB1); in TEST()
266 PHI2->addIncoming(ConstantInt::get(Int8Ty, 0), BB2); in TEST()
270 Value *Cond = ConstantInt::getFalse(Ctx); in TEST()
385 ElementsAre(ConstantInt::get(Int32Ty, 0), ConstantInt::get(Int32Ty, 1))); in TEST()
[all …]
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DLoopInfoTest.cpp279 ConstantInt *StepValue = in TEST()
338 ConstantInt *StepValue = in TEST()
397 ConstantInt *StepValue = in TEST()
456 ConstantInt *StepValue = in TEST()
515 ConstantInt *StepValue = in TEST()
575 ConstantInt *StepValue = in TEST()
690 ConstantInt *StepValue = in TEST()
747 ConstantInt *StepValue = in TEST()
869 ConstantInt *StepValue = in TEST()
930 ConstantInt *StepValue = in TEST()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DStraightLineStrengthReduce.cpp153 ConstantInt *Index = nullptr;
315 ConstantInt *ConstIdx = dyn_cast<ConstantInt>(Idx); in hasOnlyOneNonZeroIndex()
413 ConstantInt *Idx = nullptr; in allocateCandidatesAndFindBasisForAdd()
424 ConstantInt *One = ConstantInt::get(cast<IntegerType>(I->getType()), 1); in allocateCandidatesAndFindBasisForAdd()
445 ConstantInt *Idx = nullptr; in allocateCandidatesAndFindBasisForMul()
458 ConstantInt *Zero = ConstantInt::get(cast<IntegerType>(I->getType()), 0); in allocateCandidatesAndFindBasisForMul()
488 ConstantInt *ScaledIdx = ConstantInt::get( in allocateCandidatesAndFindBasisForGEP()
502 ConstantInt *RHS = nullptr; in factorArrayIndex()
522 ConstantInt *PowerOf2 = in factorArrayIndex()
619 ConstantInt *Exponent = ConstantInt::get(DeltaType, IndexOffset.logBase2()); in emitBump()
[all …]
H A DLowerExpectIntrinsic.cpp88 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleSwitchExpect()
122 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(Expect->getArgOperand(1)); in handlePhiDef()
156 ConstantInt *CInt = dyn_cast<ConstantInt>(BinOp->getOperand(1)); in handlePhiDef()
170 Result ^= cast<ConstantInt>(Op->getOperand(1))->getValue(); in handlePhiDef()
209 ConstantInt *CI = dyn_cast<ConstantInt>(PhiOpnd); in handlePhiDef()
277 ConstantInt *CmpConstOperand = nullptr; in handleBrSelExpect()
286 CmpConstOperand = dyn_cast<ConstantInt>(CmpI->getOperand(1)); in handleBrSelExpect()
308 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleBrSelExpect()
H A DSeparateConstOffsetFromGEP.cpp544 if (ConstantInt *ConstLHS = dyn_cast<ConstantInt>(LHS)) { in CanTraceInto()
548 if (ConstantInt *ConstRHS = dyn_cast<ConstantInt>(RHS)) { in CanTraceInto()
614 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in find()
683 assert(isa<ConstantInt>(U)); in distributeExtsAndCloneChain()
717 assert(isa<ConstantInt>(UserChain[ChainIndex])); in removeConstOffset()
734 if (ConstantInt *CI = dyn_cast<ConstantInt>(NextInChain)) { in removeConstOffset()
870 if (ConstantInt *CI = dyn_cast<ConstantInt>(Idx)) in lowerToSingleIndexGEPs()
931 if (ConstantInt *CI = dyn_cast<ConstantInt>(Idx)) in lowerToArithmetics()
1322 isa<ConstantInt>(FirstOffsetDef->getOperand(1))) in isLegalToSwapOperand()
1331 (isa<ConstantInt>(BO->getOperand(0)) || in isLegalToSwapOperand()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXImageOptimizer.cpp45 void replaceWith(Instruction *From, ConstantInt *To);
96 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSampler()
100 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePSampler()
113 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSurface()
119 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePSurface()
131 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePTexture()
138 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePTexture()
146 void NVPTXImageOptimizer::replaceWith(Instruction *From, ConstantInt *To) { in replaceWith()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp80 if (ConstantInt *ConstInt = dyn_cast<ConstantInt>(&V)) { in canSafelyConvertTo16Bit()
439 const ConstantInt *CMask = dyn_cast<ConstantInt>(Src1); in instCombineIntrinsic()
572 ConstantInt *CWidth = dyn_cast<ConstantInt>(II.getArgOperand(2)); in instCombineIntrinsic()
587 ConstantInt *COffset = dyn_cast<ConstantInt>(II.getArgOperand(1)); in instCombineIntrinsic()
626 ConstantInt *En = cast<ConstantInt>(II.getArgOperand(1)); in instCombineIntrinsic()
717 const ConstantInt *CC = cast<ConstantInt>(II.getArgOperand(2)); in instCombineIntrinsic()
889 const ConstantInt *C = dyn_cast<ConstantInt>(II.getArgOperand(0)); in instCombineIntrinsic()
899 auto *BC = cast<ConstantInt>(II.getArgOperand(5)); in instCombineIntrinsic()
916 ConstantInt *FetchInvalid = cast<ConstantInt>(II.getArgOperand(4)); in instCombineIntrinsic()
917 ConstantInt *BoundCtrl = cast<ConstantInt>(II.getArgOperand(5)); in instCombineIntrinsic()
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemoryLocation.cpp180 if (ConstantInt *LenCI = dyn_cast<ConstantInt>(II->getArgOperand(2))) in getForArgument()
192 cast<ConstantInt>(II->getArgOperand(0))->getZExtValue()), in getForArgument()
219 cast<ConstantInt>(II->getArgOperand(1))->getZExtValue()), in getForArgument()
291 if (const ConstantInt *LenCI = in getForArgument()
292 dyn_cast<ConstantInt>(Call->getArgOperand(2))) in getForArgument()
300 if (const ConstantInt *LenCI = in getForArgument()
301 dyn_cast<ConstantInt>(Call->getArgOperand(2))) in getForArgument()
307 if (const ConstantInt *LenCI = in getForArgument()
308 dyn_cast<ConstantInt>(Call->getArgOperand(2))) in getForArgument()
316 if (const ConstantInt *LenCI = in getForArgument()
[all …]
H A DTypeBasedAliasAnalysis.cpp183 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Node->getOperand(2)); in isTypeImmutable()
247 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Node->getOperand(OpNo)); in isTypeImmutable()
342 mdconst::extract<ConstantInt>(Operands[Idx + 1])->getZExtValue(); in getField()
551 auto *OffsetNode = ConstantAsMetadata::get(ConstantInt::get(Int64, 0)); in createAccessTag()
558 ConstantAsMetadata::get(ConstantInt::get(Int64, AccessSize)); in createAccessTag()
769 ConstantInt *InnerOffset = mdconst::extract<ConstantInt>(MD->getOperand(i)); in shiftTBAAStruct()
770 ConstantInt *InnerSize = in shiftTBAAStruct()
771 mdconst::extract<ConstantInt>(MD->getOperand(i + 1)); in shiftTBAAStruct()
785 ConstantInt::get(InnerOffset->getType(), NewOffset))); in shiftTBAAStruct()
787 ConstantInt::get(InnerSize->getType(), NewSize))); in shiftTBAAStruct()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp140 ConstantInt *Idx = dyn_cast<ConstantInt>(GEP->getOperand(i)); in foldCmpLoadFromIndexedGlobal()
428 if (ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i))) { in evaluateGEPOffsetExpression()
456 ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i)); in evaluateGEPOffsetExpression()
690 if (isa<ConstantInt>(Op) && cast<ConstantInt>(Op)->isZero()) in rewriteGEPAsOffset()
4677 ConstantInt *Cst1; in foldICmpEquality()
5168 ConstantInt *CI; in processUMulZExtIdiom()
5186 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) { in processUMulZExtIdiom()
5198 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) { in processUMulZExtIdiom()
5209 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) { in processUMulZExtIdiom()
5221 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) { in processUMulZExtIdiom()
[all …]
H A DInstCombineShifts.cpp282 ConstantExpr::getSub(ConstantInt::get(ShAmtsDiff->getType(), in dropRedundantMaskingOfLeftShiftInput()
595 InnerShift->setOperand(1, ConstantInt::get(ShType, ShAmt)); in foldShiftedShift()
986 Constant *Mask = ConstantInt::get(Ty, Bits); in visitShl()
1005 Constant *NewLHS = ConstantInt::get(Ty, C1->shl(*C)); in visitShl()
1029 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitShl()
1053 ConstantInt::get(Ty, APInt::getSignMask(BitWidth)), X); in visitShl()
1084 Constant *RHS = ConstantInt::getSigned(Ty, IsPop ? -1 : 0); in visitLShr()
1141 Constant *Mask = ConstantInt::get(Ty, Bits); in visitLShr()
1158 auto *NewC = ConstantInt::get( in visitLShr()
1290 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitLShr()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp20 Value *DstAddr, ConstantInt *CopyLen, in createMemCpyLoopKnownSize()
109 Constant *LoopEndCI = ConstantInt::get(TypeOfCopyLen, LoopEndCount); in createMemCpyLoopKnownSize()
144 OpTy, CastedSrc, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize()
158 OpTy, CastedDst, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize()
225 ConstantInt *CILoopOpSize = ConstantInt::get(ILengthType, LoopOpSize); in createMemCpyLoopUnknownSize()
288 ConstantInt *Zero = ConstantInt::get(ILengthType, 0U); in createMemCpyLoopUnknownSize()
335 ResidualIndex, ConstantInt::get(CopyLenType, ResLoopOpSize)); in createMemCpyLoopUnknownSize()
347 ConstantInt *Zero = ConstantInt::get(ILengthType, 0U); in createMemCpyLoopUnknownSize()
436 LoopPhi, ConstantInt::get(TypeOfCopyLen, 1), "index_ptr"); in createMemMoveLoop()
531 if (ConstantInt *CI = dyn_cast<ConstantInt>(Memcpy->getLength())) { in expandMemCpyAsLoop()
[all …]
H A DLowerSwitch.cpp74 ConstantInt *Low;
75 ConstantInt *High;
78 CaseRange(ConstantInt *low, ConstantInt *high, BasicBlock *bb) in CaseRange()
89 const ConstantInt *CI1 = cast<const ConstantInt>(C1.Low); in operator ()()
90 const ConstantInt *CI2 = cast<const ConstantInt>(C2.High); in operator ()()
267 ConstantInt *NewLowerBound = Pivot.Low; in SwitchConvert()
271 ConstantInt *NewUpperBound = ConstantInt::get(NewLowerBound->getContext(), in SwitchConvert()
386 ConstantInt *LowerBound = nullptr; in ProcessSwitchInst()
387 ConstantInt *UpperBound = nullptr; in ProcessSwitchInst()
423 LowerBound = ConstantInt::get(SI->getContext(), Min); in ProcessSwitchInst()
[all …]
H A DSimplifyLibCalls.cpp261 if (ConstantInt *LenC = dyn_cast<ConstantInt>(Size)) { in annotateNonNullAndDereferenceable()
350 ConstantInt *LengthArg = dyn_cast<ConstantInt>(Size); in optimizeStrNCat()
417 ConstantInt *CharC = dyn_cast<ConstantInt>(CharVal); in optimizeStrChr()
470 ConstantInt *CharC = dyn_cast<ConstantInt>(CharVal); in optimizeStrRChr()
564 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(Size)) in optimizeStrNCmp()
705 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(Size)) in optimizeStrNCpy()
1047 ConstantInt *LenC = dyn_cast<ConstantInt>(Size); in optimizeMemRChr()
1084 if (ConstantInt *CharC = dyn_cast<ConstantInt>(CharVal)) { in optimizeMemRChr()
1141 ConstantInt *CharC = dyn_cast<ConstantInt>(CharVal); in optimizeMemChr()
1142 ConstantInt *LenC = dyn_cast<ConstantInt>(Size); in optimizeMemChr()
[all …]
/llvm-project-15.0.7/llvm/unittests/IR/
H A DConstantsTest.cpp27 Constant *One = ConstantInt::get(Int1, 1, true); in TEST()
28 Constant *Zero = ConstantInt::get(Int1, 0); in TEST()
173 ConstantInt *K = ConstantInt::get(Type::getInt64Ty(C), 1234); in TEST()
227 Constant *One = ConstantInt::get(Int32Ty, 1); in TEST()
228 Constant *Two = ConstantInt::get(Int64Ty, 2); in TEST()
312 Constant *One = ConstantInt::get(Int32Ty, 1); in TEST()
381 auto *C1 = ConstantInt::get(IntTy, 1); in TEST()
427 Constant *Vals[] = {ConstantInt::get(T, 0), ConstantInt::get(T, 1)}; in TEST()
454 Constant *Vals[] = {ConstantInt::get(T, 0), ConstantInt::get(T, 1)}; in TEST()
514 ConstantInt *TheConstant(ConstantInt::get(ConstantIntType, AndValue)); in foldFuncPtrAndConstToNull()
[all …]
H A DMDBuilderTest.cpp52 EXPECT_TRUE(mdconst::hasa<ConstantInt>(R1->getOperand(0))); in TEST_F()
53 EXPECT_TRUE(mdconst::hasa<ConstantInt>(R1->getOperand(1))); in TEST_F()
54 ConstantInt *C0 = mdconst::extract<ConstantInt>(R1->getOperand(0)); in TEST_F()
55 ConstantInt *C1 = mdconst::extract<ConstantInt>(R1->getOperand(1)); in TEST_F()
103 EXPECT_TRUE(mdconst::hasa<ConstantInt>(N2->getOperand(2))); in TEST_F()
104 EXPECT_EQ(mdconst::extract<ConstantInt>(N2->getOperand(2))->getZExtValue(), in TEST_F()
/llvm-project-15.0.7/clang/tools/clang-linker-wrapper/
H A DOffloadWrapper.cpp176 auto *Zero = ConstantInt::get(getSizeTTy(M), 0u); in createBinDesc()
191 auto *Size = ConstantInt::get(getSizeTTy(M), Buf.size()); in createBinDesc()
316 ConstantInt::get(Type::getInt32Ty(C), 1), in createFatbinDesc()
433 {ConstantInt::get(getSizeTTy(M), 0), in createRegisterGlobalsFunction()
438 {ConstantInt::get(getSizeTTy(M), 0), in createRegisterGlobalsFunction()
443 {ConstantInt::get(getSizeTTy(M), 0), in createRegisterGlobalsFunction()
448 {ConstantInt::get(getSizeTTy(M), 0), in createRegisterGlobalsFunction()
459 ConstantInt::get(Type::getInt32Ty(C), -1), in createRegisterGlobalsFunction()
495 getEntryTy(M), Entry, ConstantInt::get(getSizeTTy(M), 1)); in createRegisterGlobalsFunction()
500 ArrayRef<Constant *>({ConstantInt::get(getSizeTTy(M), 0), in createRegisterGlobalsFunction()
[all …]
/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DSSAUpdaterBulkTest.cpp56 Value *AddOp1 = B.CreateAdd(FirstArg, ConstantInt::get(I32Ty, 1)); in TEST()
57 Value *SubOp1 = B.CreateSub(FirstArg, ConstantInt::get(I32Ty, 2)); in TEST()
61 Value *AddOp2 = B.CreateAdd(FirstArg, ConstantInt::get(I32Ty, 3)); in TEST()
62 Value *SubOp2 = B.CreateSub(FirstArg, ConstantInt::get(I32Ty, 4)); in TEST()
66 auto *I1 = cast<Instruction>(B.CreateAdd(AddOp1, ConstantInt::get(I32Ty, 5))); in TEST()
67 auto *I2 = cast<Instruction>(B.CreateAdd(AddOp2, ConstantInt::get(I32Ty, 6))); in TEST()
140 Value *AddOp1 = B.CreateAdd(FirstArg, ConstantInt::get(I32Ty, 1)); in TEST()
144 Value *AddOp2 = B.CreateAdd(FirstArg, ConstantInt::get(I32Ty, 2)); in TEST()
148 auto *I1 = cast<Instruction>(B.CreateAdd(AddOp1, ConstantInt::get(I32Ty, 3))); in TEST()
152 auto *I2 = cast<Instruction>(B.CreateAdd(AddOp2, ConstantInt::get(I32Ty, 4))); in TEST()
/llvm-project-15.0.7/llvm/lib/FuzzMutate/
H A DOpDescriptor.cpp18 Cs.push_back(ConstantInt::get(IntTy, APInt::getMaxValue(W))); in makeConstantsWithType()
19 Cs.push_back(ConstantInt::get(IntTy, APInt::getMinValue(W))); in makeConstantsWithType()
20 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType()
21 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMinValue(W))); in makeConstantsWithType()
22 Cs.push_back(ConstantInt::get(IntTy, APInt::getOneBitSet(W, W / 2))); in makeConstantsWithType()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DInstrOrderFile.cpp127 Value *IdxFlags[] = {ConstantInt::get(Int32Ty, 0), in generateCodeSequence()
128 ConstantInt::get(Int32Ty, FuncId)}; in generateCodeSequence()
131 entryB.CreateStore(ConstantInt::get(Int8Ty, 1), MapAddr); in generateCodeSequence()
133 entryB.CreateICmpEQ(loadBitMap, ConstantInt::get(Int8Ty, 0)); in generateCodeSequence()
138 AtomicRMWInst::Add, BufferIdx, ConstantInt::get(Int32Ty, 1), in generateCodeSequence()
142 IdxVal, ConstantInt::get(Int32Ty, INSTR_ORDER_FILE_BUFFER_MASK)); in generateCodeSequence()
143 Value *BufferGEPIdx[] = {ConstantInt::get(Int32Ty, 0), WrappedIdx}; in generateCodeSequence()
146 updateB.CreateStore(ConstantInt::get(Type::getInt64Ty(Ctx), MD5Hash(F.getName())), in generateCodeSequence()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp62 !isa<ConstantInt>(GEP->getOperand(1)) || in splitGlobal()
63 !cast<ConstantInt>(GEP->getOperand(1))->isZero() || in splitGlobal()
64 !isa<ConstantInt>(GEP->getOperand(2))) in splitGlobal()
93 uint64_t ByteOffset = cast<ConstantInt>( in splitGlobal()
111 ConstantInt::get(Int32Ty, ByteOffset - SplitBegin)), in splitGlobal()
121 unsigned I = cast<ConstantInt>(GEP->getOperand(2))->getZExtValue(); in splitGlobal()
126 Ops.push_back(ConstantInt::get(Int32Ty, 0)); in splitGlobal()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DSwitchLoweringUtils.h22 class ConstantInt; variable
44 const ConstantInt *Low, *High;
52 static CaseCluster range(const ConstantInt *Low, const ConstantInt *High, in range()
63 static CaseCluster jumpTable(const ConstantInt *Low, const ConstantInt *High, in jumpTable()
74 static CaseCluster bitTests(const ConstantInt *Low, const ConstantInt *High, in bitTests()
243 const ConstantInt *GE;
244 const ConstantInt *LT;

12345678910>>...23