/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | IntrinsicLowering.cpp | 111 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 …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | MDBuilder.cpp | 50 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() 255 ConstantInt *Off = ConstantInt::get(Type::getInt64Ty(Context), Offset); in createTBAAScalarTypeNode() 265 ConstantInt *Off = ConstantInt::get(Int64, Offset); in createTBAAStructTagNode() 279 Ops[1] = createConstant(ConstantInt::get(Int64, Size)); in createTBAATypeNode() 294 auto *SizeNode = createConstant(ConstantInt::get(Int64, Size)); in createTBAAAccessTag() 342 Ops[0] = createConstant(ConstantInt::get(Int64Ty, GUID)); in createPseudoProbeDesc() [all …]
|
H A D | ConstantFold.cpp | 90 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in FoldBitCast() 143 if (ConstantInt *CI = dyn_cast<ConstantInt>(C)) { in ExtractConstantBytes() 283 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in ConstantFoldCastInstruction() 293 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in ConstantFoldCastInstruction() 300 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in ConstantFoldCastInstruction() 311 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in ConstantFoldCastInstruction() 488 ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldInsertElementInstruction() 800 if (ConstantInt *CI2 = dyn_cast<ConstantInt>(C2)) { in ConstantFoldBinaryInstruction() 890 if (ConstantInt *CI1 = dyn_cast<ConstantInt>(C1)) { in ConstantFoldBinaryInstruction() 1272 if (isa<ConstantInt>(C1) && isa<ConstantInt>(C2)) { in ConstantFoldCompareInstruction() [all …]
|
H A D | Module.cpp | 266 if (ConstantInt *Behavior = mdconst::dyn_extract_or_null<ConstantInt>(MD)) { in isValidModFlagBehavior() 357 assert(mdconst::hasa<ConstantInt>(Node->getOperand(0)) && in addModuleFlag() 539 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getNumberRegisterParameters() 546 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getDwarfVersion() 551 return Val && cast<ConstantInt>(Val->getValue())->isOne(); in isDwarf64() 558 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getCodeViewFlag() 581 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPICLevel() 597 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPIELevel() 611 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getCodeModel() 629 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getLargeDataThreshold() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | StraightLineStrengthReduce.cpp | 153 ConstantInt *Index = nullptr; 311 ConstantInt *ConstIdx = dyn_cast<ConstantInt>(Idx); in hasOnlyOneNonZeroIndex() 409 ConstantInt *Idx = nullptr; in allocateCandidatesAndFindBasisForAdd() 420 ConstantInt *One = ConstantInt::get(cast<IntegerType>(I->getType()), 1); in allocateCandidatesAndFindBasisForAdd() 441 ConstantInt *Idx = nullptr; in allocateCandidatesAndFindBasisForMul() 454 ConstantInt *Zero = ConstantInt::get(cast<IntegerType>(I->getType()), 0); in allocateCandidatesAndFindBasisForMul() 484 ConstantInt *ScaledIdx = ConstantInt::get( in allocateCandidatesAndFindBasisForGEP() 498 ConstantInt *RHS = nullptr; in factorArrayIndex() 518 ConstantInt *PowerOf2 = in factorArrayIndex() 600 ConstantInt *Exponent = ConstantInt::get(DeltaType, IndexOffset.logBase2()); in emitBump() [all …]
|
H A D | LowerExpectIntrinsic.cpp | 87 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleSwitchExpect() 118 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(Expect->getArgOperand(1)); in handlePhiDef() 163 ConstantInt *CInt = dyn_cast<ConstantInt>(BinOp->getOperand(1)); in handlePhiDef() 177 Result ^= cast<ConstantInt>(Op->getOperand(1))->getValue(); in handlePhiDef() 216 ConstantInt *CI = dyn_cast<ConstantInt>(PhiOpnd); in handlePhiDef() 289 ConstantInt *CmpConstOperand = nullptr; in handleBrSelExpect() 298 CmpConstOperand = dyn_cast<ConstantInt>(CmpI->getOperand(1)); in handleBrSelExpect() 320 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleBrSelExpect()
|
H A D | SeparateConstOffsetFromGEP.cpp | 556 if (ConstantInt *ConstLHS = dyn_cast<ConstantInt>(LHS)) { in CanTraceInto() 560 if (ConstantInt *ConstRHS = dyn_cast<ConstantInt>(RHS)) { in CanTraceInto() 626 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { in find() 696 assert(isa<ConstantInt>(U)); in distributeExtsAndCloneChain() 730 assert(isa<ConstantInt>(UserChain[ChainIndex])); in removeConstOffset() 747 if (ConstantInt *CI = dyn_cast<ConstantInt>(NextInChain)) { in removeConstOffset() 882 if (ConstantInt *CI = dyn_cast<ConstantInt>(Idx)) in lowerToSingleIndexGEPs() 942 if (ConstantInt *CI = dyn_cast<ConstantInt>(Idx)) in lowerToArithmetics() 1289 isa<ConstantInt>(FirstOffsetDef->getOperand(1))) in isLegalToSwapOperand() 1298 (isa<ConstantInt>(BO->getOperand(0)) || in isLegalToSwapOperand() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/ |
H A D | OffloadWrapper.cpp | 119 auto *Zero = ConstantInt::get(getSizeTTy(M), 0u); in createBinDesc() 148 auto *Begin = ConstantInt::get(getSizeTTy(M), Entry->ImageOffset); in createBinDesc() 280 ConstantInt::get(Type::getInt32Ty(C), 1), in createFatbinDesc() 391 {ConstantInt::get(getSizeTTy(M), 0), in createRegisterGlobalsFunction() 396 {ConstantInt::get(getSizeTTy(M), 0), in createRegisterGlobalsFunction() 415 Flags, ConstantInt::get(Type::getInt32Ty(C), 0x7), "type"); in createRegisterGlobalsFunction() 419 Flags, ConstantInt::get(Type::getInt32Ty(C), in createRegisterGlobalsFunction() 424 Flags, ConstantInt::get(Type::getInt32Ty(C), in createRegisterGlobalsFunction() 429 Flags, ConstantInt::get(Type::getInt32Ty(C), in createRegisterGlobalsFunction() 489 ArrayRef<Constant *>({ConstantInt::get(getSizeTTy(M), 0), in createRegisterGlobalsFunction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
H A D | OpDescriptor.cpp | 18 Cs.push_back(ConstantInt::get(IntTy, 0)); in makeConstantsWithType() 19 Cs.push_back(ConstantInt::get(IntTy, 1)); in makeConstantsWithType() 20 Cs.push_back(ConstantInt::get(IntTy, 42)); in makeConstantsWithType() 21 Cs.push_back(ConstantInt::get(IntTy, APInt::getMaxValue(W))); in makeConstantsWithType() 22 Cs.push_back(ConstantInt::get(IntTy, APInt::getMinValue(W))); in makeConstantsWithType() 23 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType() 24 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMinValue(W))); in makeConstantsWithType() 25 Cs.push_back(ConstantInt::get(IntTy, APInt::getOneBitSet(W, W / 2))); in makeConstantsWithType()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerMemIntrinsics.cpp | 100 Constant *LoopEndCI = ConstantInt::get(TypeOfCopyLen, LoopEndCount); in createMemCpyLoopKnownSize() 131 OpTy, SrcAddr, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize() 140 OpTy, DstAddr, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize() 196 ConstantInt *CILoopOpSize = ConstantInt::get(ILengthType, LoopOpSize); in createMemCpyLoopUnknownSize() 259 ConstantInt *Zero = ConstantInt::get(ILengthType, 0U); in createMemCpyLoopUnknownSize() 302 ResidualIndex, ConstantInt::get(CopyLenType, ResLoopOpSize)); in createMemCpyLoopUnknownSize() 314 ConstantInt *Zero = ConstantInt::get(ILengthType, 0U); in createMemCpyLoopUnknownSize() 399 LoopPhi, ConstantInt::get(TypeOfCopyLen, 1), "index_ptr"); in createMemMoveLoop() 489 if (ConstantInt *CI = dyn_cast<ConstantInt>(Memcpy->getLength())) { in expandMemCpyAsLoop() 533 if (ConstantInt *CI = dyn_cast<ConstantInt>(CopyLen)) { in expandMemMoveAsLoop() [all …]
|
H A D | LowerSwitch.cpp | 73 ConstantInt *Low; 74 ConstantInt *High; 77 CaseRange(ConstantInt *low, ConstantInt *high, BasicBlock *bb) in CaseRange() 88 const ConstantInt *CI1 = cast<const ConstantInt>(C1.Low); in operator ()() 89 const ConstantInt *CI2 = cast<const ConstantInt>(C2.High); in operator ()() 264 ConstantInt *NewLowerBound = Pivot.Low; in SwitchConvert() 268 ConstantInt *NewUpperBound = ConstantInt::get(NewLowerBound->getContext(), in SwitchConvert() 389 ConstantInt *LowerBound = nullptr; in ProcessSwitchInst() 390 ConstantInt *UpperBound = nullptr; in ProcessSwitchInst() 427 LowerBound = ConstantInt::get(SI->getContext(), Min); in ProcessSwitchInst() [all …]
|
H A D | SimplifyLibCalls.cpp | 305 if (ConstantInt *LenC = dyn_cast<ConstantInt>(Size)) { in annotateNonNullAndDereferenceable() 401 ConstantInt *LengthArg = dyn_cast<ConstantInt>(Size); in optimizeStrNCat() 468 ConstantInt *CharC = dyn_cast<ConstantInt>(CharVal); in optimizeStrChr() 523 ConstantInt *CharC = dyn_cast<ConstantInt>(CharVal); in optimizeStrRChr() 620 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(Size)) in optimizeStrNCmp() 761 if (ConstantInt *SizeC = dyn_cast<ConstantInt>(Size)) in optimizeStrLCpy() 846 if (ConstantInt *SizeC = dyn_cast<ConstantInt>(Size)) in optimizeStringNCpy() 1207 ConstantInt *LenC = dyn_cast<ConstantInt>(Size); in optimizeMemRChr() 1301 ConstantInt *CharC = dyn_cast<ConstantInt>(CharVal); in optimizeMemChr() 1302 ConstantInt *LenC = dyn_cast<ConstantInt>(Size); in optimizeMemChr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXImageOptimizer.cpp | 45 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MemoryLocation.cpp | 182 if (ConstantInt *LenCI = dyn_cast<ConstantInt>(II->getArgOperand(2))) in getForArgument() 194 cast<ConstantInt>(II->getArgOperand(0))->getZExtValue()), in getForArgument() 221 cast<ConstantInt>(II->getArgOperand(1))->getZExtValue()), in getForArgument() 298 if (const ConstantInt *LenCI = in getForArgument() 299 dyn_cast<ConstantInt>(Call->getArgOperand(2))) in getForArgument() 307 if (const ConstantInt *LenCI = in getForArgument() 308 dyn_cast<ConstantInt>(Call->getArgOperand(2))) in getForArgument() 314 if (const ConstantInt *LenCI = in getForArgument() 315 dyn_cast<ConstantInt>(Call->getArgOperand(2))) in getForArgument() 323 if (const ConstantInt *LenCI = in getForArgument() [all …]
|
H A D | TypeBasedAliasAnalysis.cpp | 183 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() 545 auto *OffsetNode = ConstantAsMetadata::get(ConstantInt::get(Int64, 0)); in createAccessTag() 552 ConstantAsMetadata::get(ConstantInt::get(Int64, AccessSize)); in createAccessTag() 763 ConstantInt *InnerOffset = mdconst::extract<ConstantInt>(MD->getOperand(i)); in shiftTBAAStruct() 764 ConstantInt *InnerSize = in shiftTBAAStruct() 765 mdconst::extract<ConstantInt>(MD->getOperand(i + 1)); in shiftTBAAStruct() 779 ConstantInt::get(InnerOffset->getType(), NewOffset))); in shiftTBAAStruct() 781 ConstantInt::get(InnerSize->getType(), NewSize))); in shiftTBAAStruct() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 112 ConstantInt *AndCst) { in foldCmpLoadFromIndexedGlobal() 143 ConstantInt *Idx = dyn_cast<ConstantInt>(GEP->getOperand(i)); in foldCmpLoadFromIndexedGlobal() 229 if (!isa<ConstantInt>(C)) in foldCmpLoadFromIndexedGlobal() 573 if (isa<ConstantInt>(Op) && cast<ConstantInt>(Op)->isZero()) in rewriteGEPAsOffset() 1065 ConstantInt *CI2, ConstantInt *CI1, in processUGT_ADDCST_ADD() 2146 NewC = ConstantInt::get( in foldICmpMulConstant() 3977 ConstantInt *CI = nullptr; in foldSelectICmp() 5255 ConstantInt *C1, *C2; in foldICmpEquality() 5370 ConstantInt *Cst1; in foldICmpEquality() 5865 if (ConstantInt *CI = dyn_cast<ConstantInt>(BO->getOperand(1))) { in processUMulZExtIdiom() [all …]
|
H A D | InstCombineShifts.cpp | 629 InnerShift->setOperand(1, ConstantInt::get(ShType, ShAmt)); in foldShiftedShift() 777 Constant *NegDivC = ConstantInt::get(Ty, -(*DivC)); in FoldShiftByConstant() 1165 Constant *Mask = ConstantInt::get(Ty, Bits); in visitShl() 1184 Constant *NewLHS = ConstantInt::get(Ty, C1->shl(*C)); in visitShl() 1197 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitShl() 1221 ConstantInt::get(Ty, APInt::getSignMask(BitWidth)), X); in visitShl() 1268 Constant *RHS = ConstantInt::getSigned(Ty, IsPop ? -1 : 0); in visitLShr() 1326 Constant *Mask = ConstantInt::get(Ty, Bits); in visitLShr() 1343 auto *NewC = ConstantInt::get( in visitLShr() 1484 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitLShr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | InstrOrderFile.cpp | 124 Value *IdxFlags[] = {ConstantInt::get(Int32Ty, 0), in generateCodeSequence() 125 ConstantInt::get(Int32Ty, FuncId)}; in generateCodeSequence() 128 entryB.CreateStore(ConstantInt::get(Int8Ty, 1), MapAddr); in generateCodeSequence() 130 entryB.CreateICmpEQ(loadBitMap, ConstantInt::get(Int8Ty, 0)); in generateCodeSequence() 135 AtomicRMWInst::Add, BufferIdx, ConstantInt::get(Int32Ty, 1), in generateCodeSequence() 139 IdxVal, ConstantInt::get(Int32Ty, INSTR_ORDER_FILE_BUFFER_MASK)); in generateCodeSequence() 140 Value *BufferGEPIdx[] = {ConstantInt::get(Int32Ty, 0), WrappedIdx}; in generateCodeSequence() 143 updateB.CreateStore(ConstantInt::get(Type::getInt64Ty(Ctx), MD5Hash(F.getName())), in generateCodeSequence()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUInstCombineIntrinsic.cpp | 83 if (ConstantInt *ConstInt = dyn_cast<ConstantInt>(&V)) { in canSafelyConvertTo16Bit() 607 const ConstantInt *CMask = dyn_cast<ConstantInt>(Src1); in instCombineIntrinsic() 685 ConstantInt *CWidth = dyn_cast<ConstantInt>(II.getArgOperand(2)); in instCombineIntrinsic() 700 ConstantInt *COffset = dyn_cast<ConstantInt>(II.getArgOperand(1)); in instCombineIntrinsic() 739 ConstantInt *En = cast<ConstantInt>(II.getArgOperand(1)); in instCombineIntrinsic() 844 const ConstantInt *CC = cast<ConstantInt>(II.getArgOperand(2)); in instCombineIntrinsic() 1003 const ConstantInt *C = dyn_cast<ConstantInt>(II.getArgOperand(0)); in instCombineIntrinsic() 1013 auto *BC = cast<ConstantInt>(II.getArgOperand(5)); in instCombineIntrinsic() 1043 ConstantInt *FetchInvalid = cast<ConstantInt>(II.getArgOperand(FiIdx)); in instCombineIntrinsic() 1044 ConstantInt *BoundCtrl = cast<ConstantInt>(II.getArgOperand(BcIdx)); in instCombineIntrinsic() [all …]
|
H A D | AMDGPUImageIntrinsicOptimizer.cpp | 119 auto FragIdList = cast<ConstantInt>(IIList.front()->getArgOperand(I)); in addInstToMergeableList() 120 auto FragId = cast<ConstantInt>(II->getArgOperand(I)); in addInstToMergeableList() 165 if (!isa<ConstantInt>(II->getArgOperand(FragIdIndex))) in collectMergeableInsts() 203 ConstantInt *DMask = cast<ConstantInt>( in optimizeSection() 222 auto FragId = cast<ConstantInt>(IIList.front()->getArgOperand(FragIdIndex)); in optimizeSection() 242 ConstantInt::get(DMask->getType(), NewMaskVal); in optimizeSection() 243 Args[FragIdIndex] = ConstantInt::get(FragId->getType(), NewFragIdVal); in optimizeSection() 254 auto Idx = cast<ConstantInt>(II->getArgOperand(FragIdIndex)); in optimizeSection()
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/HLSL/ |
H A D | HLSLResource.cpp | 28 cast<ConstantInt>( in getResourceKind() 34 cast<ConstantInt>( in getElementType() 39 return cast<ConstantInt>( in getIsROV() 44 return cast<ConstantInt>( in getResourceIndex() 49 return cast<ConstantInt>( in getSpace()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | GlobalSplit.cpp | 60 !isa<ConstantInt>(GEP->getOperand(1)) || in splitGlobal() 61 !cast<ConstantInt>(GEP->getOperand(1))->isZero() || in splitGlobal() 62 !isa<ConstantInt>(GEP->getOperand(2))) in splitGlobal() 91 uint64_t ByteOffset = cast<ConstantInt>( in splitGlobal() 109 ConstantInt::get(Int32Ty, ByteOffset - SplitBegin)), in splitGlobal() 119 unsigned I = cast<ConstantInt>(GEP->getOperand(2))->getZExtValue(); in splitGlobal() 124 Ops.push_back(ConstantInt::get(Int32Ty, 0)); in splitGlobal()
|
H A D | CrossDSOCFI.cpp | 39 ConstantInt *extractNumericTypeId(MDNode *MD); 47 ConstantInt *CrossDSOCFI::extractNumericTypeId(MDNode *MD) { in extractNumericTypeId() 52 auto C = dyn_cast_or_null<ConstantInt>(TM->getValue()); in extractNumericTypeId() 70 if (ConstantInt *TypeId = extractNumericTypeId(Type)) in buildCFICheck() 79 if (ConstantInt *TypeId = in buildCFICheck() 125 ConstantInt *CaseTypeId = ConstantInt::get(Type::getInt64Ty(Ctx), TypeId); in buildCFICheck()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRShiftExpand.cpp | 59 if (isa<ConstantInt>(I.getOperand(1))) in runOnFunction() 82 Value *Int8Zero = ConstantInt::get(Int8Ty, 0); in expand() 112 Builder.CreateSub(ShiftAmountPHI, ConstantInt::get(Int8Ty, 1)); in expand() 121 ValueShifted = Builder.CreateShl(ValuePHI, ConstantInt::get(InputTy, 1)); in expand() 124 ValueShifted = Builder.CreateLShr(ValuePHI, ConstantInt::get(InputTy, 1)); in expand() 127 ValueShifted = Builder.CreateAShr(ValuePHI, ConstantInt::get(InputTy, 1)); in expand()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SwitchLoweringUtils.h | 22 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() 247 const ConstantInt *GE = nullptr; 248 const ConstantInt *LT = nullptr;
|