|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/Constants.h 110 static ConstantInt *get(IntegerType *Ty, uint64_t V,
References
examples/Fibonacci/fibonacci.cpp 63 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1);
64 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2);
examples/ModuleMaker/ModuleMaker.cpp 50 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2);
51 Value *Three = ConstantInt::get(Type::getInt32Ty(Context), 3);
examples/ParallelJIT/ParallelJIT.cpp 63 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1);
93 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1);
94 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2);
gen/tools/clang/include/clang/Basic/arm_mve_builtin_cg.inc 171 Value *Val4 = llvm::ConstantInt::get(Int32Ty, 29);
174 Value *Val7 = llvm::ConstantInt::get(Int32Ty, 1);
176 Value *Val9 = llvm::ConstantInt::get(Int32Ty, 29);
218 Value *Val5 = llvm::ConstantInt::get(Int32Ty, 29);
224 Value *Val11 = llvm::ConstantInt::get(Int32Ty, 1);
226 Value *Val13 = llvm::ConstantInt::get(Int32Ty, 29);
237 Value *Val3 = llvm::ConstantInt::get(Int32Ty, 0);
242 Value *Val8 = llvm::ConstantInt::get(Int32Ty, 1);
244 Value *Val10 = llvm::ConstantInt::get(Int32Ty, 29);
255 Value *Val2 = llvm::ConstantInt::get(Int32Ty, 0);
257 Value *Val4 = llvm::ConstantInt::get(Int32Ty, 1);
259 Value *Val6 = llvm::ConstantInt::get(Int32Ty, 29);
279 Value *Val2 = llvm::ConstantInt::get(Int32Ty, Param0);
298 Value *Val2 = llvm::ConstantInt::get(Int32Ty, Param0);
335 Value *Val1 = llvm::ConstantInt::get(Int64Ty, 32);
343 Value *Val9 = llvm::ConstantInt::get(Int64Ty, 32);
include/llvm/IR/IRBuilder.h 334 return ConstantInt::get(getInt1Ty(), V);
349 return ConstantInt::get(getInt8Ty(), C);
354 return ConstantInt::get(getInt16Ty(), C);
359 return ConstantInt::get(getInt32Ty(), C);
364 return ConstantInt::get(getInt64Ty(), C);
370 return ConstantInt::get(getIntNTy(N), C);
1756 Value *Idx = ConstantInt::get(Type::getInt32Ty(Context), Idx0);
1766 Value *Idx = ConstantInt::get(Type::getInt32Ty(Context), Idx0);
1777 ConstantInt::get(Type::getInt32Ty(Context), Idx0),
1778 ConstantInt::get(Type::getInt32Ty(Context), Idx1)
1790 ConstantInt::get(Type::getInt32Ty(Context), Idx0),
1791 ConstantInt::get(Type::getInt32Ty(Context), Idx1)
1802 Value *Idx = ConstantInt::get(Type::getInt64Ty(Context), Idx0);
1816 Value *Idx = ConstantInt::get(Type::getInt64Ty(Context), Idx0);
1832 ConstantInt::get(Type::getInt64Ty(Context), Idx0),
1833 ConstantInt::get(Type::getInt64Ty(Context), Idx1)
1850 ConstantInt::get(Type::getInt64Ty(Context), Idx0),
1851 ConstantInt::get(Type::getInt64Ty(Context), Idx1)
1879 Constant *Zero = ConstantInt::get(Type::getInt32Ty(Context), 0);
2531 Constant *Zero = ConstantInt::get(Type::getInt32Ty(Context), 0);
2579 Constant *Zero = ConstantInt::get(Type::getInt32Ty(Context), 0);
include/llvm/ProfileData/InstrProfData.inc 73 ConstantInt::get(llvm::Type::getInt64Ty(Ctx), \
76 ConstantInt::get(llvm::Type::getInt64Ty(Ctx), \
90 ConstantInt::get(llvm::Type::getInt32Ty(Ctx), NumCounters))
217 llvm::ConstantInt::get(llvm::Type::getInt64Ty(Ctx), \
221 llvm::ConstantInt::get(llvm::Type::getInt32Ty(Ctx),\
224 llvm::ConstantInt::get(llvm::Type::getInt64Ty(Ctx), FuncHash))
237 llvm::ConstantInt::get(Int32Ty, FunctionRecords.size()))
239 llvm::ConstantInt::get(Int32Ty, FilenamesSize))
241 llvm::ConstantInt::get(Int32Ty, CoverageMappingSize))
243 llvm::ConstantInt::get(Int32Ty, CovMapVersion::CurrentVersion))
lib/Analysis/ConstantFolding.cpp 264 ConstantInt::get(Src->getType(), ShiftAmt));
971 NewIdxs.push_back(ConstantInt::get(Type::getInt32Ty(Ty->getContext()),
2179 ConstantInt::get(Type::getInt1Ty(Ty->getContext()), Overflow)
lib/Analysis/LazyValueInfo.cpp 1396 Result = ValueLatticeElement::get(ConstantInt::get(
lib/Analysis/MemoryBuiltins.cpp 530 return ConstantInt::get(ResultType, Size);
547 return Builder.CreateSelect(UseZero, ConstantInt::get(ResultType, 0),
555 return ConstantInt::get(ResultType, MaxVal ? -1ULL : 0);
838 Zero = ConstantInt::get(IntTy, 0);
lib/Analysis/ScalarEvolution.cpp 438 return getConstant(ConstantInt::get(ITy, V, isSigned));
7544 ConstantInt *ItCst = ConstantInt::get(
7678 StableValue = ConstantInt::get(Ty, 0);
7680 StableValue = ConstantInt::get(Ty, -1, true);
7690 StableValue = ConstantInt::get(cast<IntegerType>(RHS->getType()), 0);
lib/Analysis/ScalarEvolutionExpander.cpp 479 ConstantInt::get(Type::getInt32Ty(Ty->getContext()), ElIdx));
lib/CodeGen/AtomicExpandPass.cpp 1041 StoreSuccess, ConstantInt::get(IntegerType::get(Ctx, 32), 0), "tryagain");
1210 StoreSuccess, ConstantInt::get(Type::getInt32Ty(Ctx), 0), "success");
1628 ConstantInt *SizeVal64 = ConstantInt::get(Type::getInt64Ty(Ctx), Size);
1631 ConstantInt::get(Type::getInt32Ty(Ctx), (int)toCABI(Ordering));
1636 ConstantInt::get(Type::getInt32Ty(Ctx), (int)toCABI(Ordering2));
1697 Args.push_back(ConstantInt::get(DL.getIntPtrType(Ctx), Size));
lib/CodeGen/CodeGenPrepare.cpp 6744 ConstantInt::get(Type::getInt32Ty(SI.getContext()), 1));
lib/CodeGen/ExpandMemCmp.cpp 269 ConstantInt::get(ByteType, OffsetBytes));
420 Value *Zero = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 0);
491 Value *Zero = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 0);
505 Value *Res = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 1);
518 Builder.CreateSelect(Cmp, ConstantInt::get(Builder.getInt32Ty(), -1),
519 ConstantInt::get(Builder.getInt32Ty(), 1));
lib/CodeGen/GlobalISel/IRTranslator.cpp 2121 auto *ZeroVal = ConstantInt::get(ZeroTy, 0);
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp 310 ConstantInt *CI = ConstantInt::get(IntN, Val, true);
lib/CodeGen/HardwareLoops.cpp 222 ConstantInt::get(HWLoopInfo.CountType, LoopDecrement);
lib/CodeGen/IndirectBrExpandPass.cpp 148 ConstantInt *BBIndexC = ConstantInt::get(ITy, BBIndex);
215 SI->addCase(ConstantInt::get(CommonITy, i + 1), BBs[i]);
lib/CodeGen/InterleavedLoadCombinePass.cpp 888 ConstantInt::get(Type::getInt32Ty(LI->getContext()), 0),
889 ConstantInt::get(Type::getInt32Ty(LI->getContext()), i),
lib/CodeGen/IntrinsicLowering.cpp 351 CI->replaceAllUsesWith(ConstantInt::get(Type::getInt64Ty(Context), 0));
lib/CodeGen/LowerEmuTLS.cpp 151 ConstantInt::get(WordType, DL.getTypeStoreSize(GVType)),
152 ConstantInt::get(WordType, GVAlignment),
lib/CodeGen/SelectionDAG/FastISel.cpp 2002 MaterialReg = getRegForValue(ConstantInt::get(ITy, Imm));
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp 2427 Constant *FudgeFactor = ConstantInt::get(
lib/CodeGen/ShadowStackGCLowering.cpp 150 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0),
151 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0)};
260 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0),
261 ConstantInt::get(Type::getInt32Ty(Context), Idx),
262 ConstantInt::get(Type::getInt32Ty(Context), Idx2)};
273 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0),
274 ConstantInt::get(Type::getInt32Ty(Context), Idx)};
lib/CodeGen/SjLjEHPrepare.cpp 115 ConstantInt::get(Type::getInt32Ty(I->getContext()), Number);
420 ConstantInt::get(Type::getInt32Ty(F.getContext()), I + 1);
lib/ExecutionEngine/Orc/IndirectionUtils.cpp 221 ConstantInt::get(Type::getInt64Ty(FT.getContext()), Addr);
lib/ExecutionEngine/Orc/Speculation.cpp 97 ConstantInt::get(LoadValueTy, 0),
117 Mutator.CreateICmpEQ(LoadGuard, ConstantInt::get(LoadValueTy, 0),
126 Mutator.CreateStore(ConstantInt::get(LoadValueTy, 1),
lib/FuzzMutate/Operations.cpp 201 Result.push_back(ConstantInt::get(Int32Ty, 0));
203 Result.push_back(ConstantInt::get(Int32Ty, N - 1));
205 Result.push_back(ConstantInt::get(Int32Ty, N / 2));
260 Result.push_back(ConstantInt::get(Int32Ty, I));
lib/IR/AutoUpgrade.cpp 1672 ConstantAsMetadata::get(ConstantInt::get(Type::getInt32Ty(C), 1)));
1699 ConstantAsMetadata::get(ConstantInt::get(Type::getInt32Ty(C), 1)));
3025 C, ConstantAsMetadata::get(ConstantInt::get(Type::getInt32Ty(C), 1)));
lib/IR/BasicBlock.cpp 73 ConstantInt::get(llvm::Type::getInt32Ty(getContext()), 1);
lib/IR/ConstantFold.cpp 850 Constant *C = ConstantExpr::getExtractElement(Val, ConstantInt::get(Ty, i));
lib/IR/Constants.cpp 612 pImpl->TheTrueVal = ConstantInt::get(Type::getInt1Ty(Context), 1);
619 pImpl->TheFalseVal = ConstantInt::get(Type::getInt1Ty(Context), 0);
654 Constant *C = get(cast<IntegerType>(Ty->getScalarType()), V, isSigned);
668 return get(Ty, V, true);
1930 Constant *GEPIdx = ConstantInt::get(Type::getInt32Ty(Ty->getContext()), 1);
1942 Constant *Zero = ConstantInt::get(Type::getInt64Ty(Ty->getContext()), 0);
1943 Constant *One = ConstantInt::get(Type::getInt32Ty(Ty->getContext()), 1);
1951 return getOffsetOf(STy, ConstantInt::get(Type::getInt32Ty(STy->getContext()),
1959 ConstantInt::get(Type::getInt64Ty(Ty->getContext()), 0),
lib/IR/Core.cpp 1300 return wrap(ConstantInt::get(unwrap<IntegerType>(IntTy), N, SignExtend != 0));
lib/IR/DIBuilder.cpp 327 ConstantInt::get(IntegerType::get(VMContext, 32), VBPtrOffset));
369 ConstantAsMetadata::get(ConstantInt::get(IntegerType::get(VMContext, 64),
lib/IR/Instructions.cpp 496 Vals.push_back(MDB.createConstant(ConstantInt::get(
509 ConstantInt::get(Type::getInt64Ty(getContext()),
1200 Amt = ConstantInt::get(Type::getInt32Ty(Context), 1);
lib/IR/IntrinsicInst.cpp 102 return ConstantInt::get(Type::getInt64Ty(Context), 1);
lib/IR/MDBuilder.cpp 184 Constant *Flags = ConstantInt::get(Type::getInt64Ty(Context), 1);
230 ConstantInt *Off = ConstantInt::get(Type::getInt64Ty(Context), Offset);
240 ConstantInt *Off = ConstantInt::get(Int64, Offset);
243 createConstant(ConstantInt::get(Int64, 1))});
268 auto *OffsetNode = createConstant(ConstantInt::get(Int64, Offset));
269 auto *SizeNode = createConstant(ConstantInt::get(Int64, Size));
271 auto *ImmutabilityFlagNode = createConstant(ConstantInt::get(Int64, 1));
308 createConstant(ConstantInt::get(Type::getInt64Ty(Context), Weight)),
318 createConstant(ConstantInt::get(IntType, Index)),
319 createConstant(ConstantInt::get(IntType, LikleyWeight)),
320 createConstant(ConstantInt::get(IntType, UnlikleyWeight)),
lib/IR/Metadata.cpp 1495 {ConstantAsMetadata::get(ConstantInt::get(
1503 {ConstantAsMetadata::get(ConstantInt::get(
lib/ProfileData/InstrProf.cpp 958 ConstantInt::get(Type::getInt32Ty(Ctx), ValueKind)));
961 MDHelper.createConstant(ConstantInt::get(Type::getInt64Ty(Ctx), Sum)));
967 ConstantInt::get(Type::getInt64Ty(Ctx), VD.Value)));
969 ConstantInt::get(Type::getInt64Ty(Ctx), VD.Count)));
lib/Target/AArch64/AArch64FastISel.cpp 536 return materializeInt(ConstantInt::get(Type::getInt64Ty(*Context), 0), VT);
lib/Target/AArch64/AArch64InstructionSelector.cpp 3682 CstIdxs.emplace_back(ConstantInt::get(Type::getInt8Ty(Ctx), Offset));
lib/Target/AArch64/AArch64StackTagging.cpp 142 ConstantInt::get(IRB.getInt64Ty(), Cst * V->getZExtValue());
228 {Ptr, ConstantInt::get(IRB.getInt64Ty(), Size)});
237 IRB.CreateCall(SetTagFn, {Ptr, ConstantInt::get(IRB.getInt64Ty(), Size)});
431 ConstantInt::get(IRB.getInt64Ty(), Size)});
625 ConstantInt::get(IRB.getInt64Ty(), Info.Tag)});
lib/Target/AMDGPU/AMDGPULibCalls.cpp 1399 CI->replaceAllUsesWith(ConstantInt::get(B.getInt32Ty(), N));
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp 178 ConstantInt::get(Builder.getInt64Ty(), DerefBytes))));
186 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(),
195 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(),
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp 488 ConstantInt::get(Int32Ty, 0), ConstantInt::get(Int32Ty, 1),
488 ConstantInt::get(Int32Ty, 0), ConstantInt::get(Int32Ty, 1),
489 ConstantInt::get(Int32Ty, 2), ConstantInt::get(Int32Ty, 2)};
489 ConstantInt::get(Int32Ty, 2), ConstantInt::get(Int32Ty, 2)};
lib/Target/ARM/ARMBaseRegisterInfo.cpp 466 ConstantInt::get(Type::getInt32Ty(MF.getFunction().getContext()), Val);
lib/Target/ARM/ARMCodeGenPrepare.cpp 724 ConstantInt::get(SrcTy, APInt::getMaxValue(NumBits).getZExtValue());
lib/Target/ARM/ARMFastISel.cpp 1488 Constant *Zero = ConstantInt::get(Type::getInt32Ty(*Context), 0);
lib/Target/ARM/ARMISelDAGToDAG.cpp 2989 ConstantInt::get(Type::getInt32Ty(*CurDAG->getContext()), Val),
lib/Target/ARM/ARMParallelDSP.cpp 699 ConstantInt::get(IntegerType::get(M->getContext(), 64), 0) :
700 ConstantInt::get(IntegerType::get(M->getContext(), 32), 0);
789 Value *ShiftVal = ConstantInt::get(LoadTy, OffsetTy->getBitWidth());
lib/Target/ARM/ARMTargetTransformInfo.cpp 999 HWLoopInfo.LoopDecrement = ConstantInt::get(HWLoopInfo.CountType, 1);
lib/Target/ARM/MVETailPredication.cpp 320 ConstantInt *VF = ConstantInt::get(cast<IntegerType>(TripCount->getType()),
483 ConstantInt::get(cast<IntegerType>(Ty), VecTy->getNumElements());
lib/Target/ARM/ThumbRegisterInfo.cpp 71 const Constant *C = ConstantInt::get(
90 const Constant *C = ConstantInt::get(
lib/Target/BPF/BPFAbstractMemberAccess.cpp 289 ConstantInt::get(Type::getInt32Ty(Call->getParent()->getContext()), 0);
lib/Target/Hexagon/HexagonConstPropagation.cpp 1988 const ConstantInt *CI = ConstantInt::get(Ty, V, true);
2031 const ConstantInt *CI = ConstantInt::get(Ty, Res, false);
2244 const ConstantInt *C32 = ConstantInt::get(Ty, static_cast<int64_t>(V32));
lib/Target/Hexagon/HexagonGenExtract.cpp 119 CSR = ConstantInt::get(Type::getInt32Ty(Ctx), 0);
128 CSL = ConstantInt::get(Type::getInt32Ty(Ctx), 0);
135 CSL = ConstantInt::get(Type::getInt32Ty(Ctx), 0);
lib/Target/Hexagon/HexagonISelLowering.cpp 2104 Consts[i] = ConstantInt::get(IntTy, 0);
2110 Consts[i] = ConstantInt::get(IntTy, CI->getValue().getSExtValue());
2114 Consts[i] = ConstantInt::get(IntTy, A.getZExtValue());
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp 1037 Value *Mask = ConstantInt::get(DestTy, (1u << TruncTy->getBitWidth()) - 1);
1048 In->setOperand(i, ConstantInt::get(DestTy, CI->getZExtValue()));
1426 ShVal = IRB.CreateShl(Op, ConstantInt::get(VTy, 1));
1548 auto *QVI = ConstantInt::get(QI->getType(), QV);
lib/Target/Mips/MipsSEISelDAGToDAG.cpp 1227 const ConstantInt *Const32 = ConstantInt::get(Int32Ty, 32);
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp 221 Value *Idx = ConstantInt::get(Type::getInt32Ty(M->getContext()), i);
lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp 111 ConstantInt::get(Type::getInt32Ty(Context), NumLoads);
lib/Target/NVPTX/NVVMIntrRange.cpp 74 ConstantAsMetadata::get(ConstantInt::get(Int32Ty, Low)),
75 ConstantAsMetadata::get(ConstantInt::get(Int32Ty, High))};
lib/Target/PowerPC/PPCTargetTransformInfo.cpp 551 HWLoopInfo.LoopDecrement = ConstantInt::get(HWLoopInfo.CountType, 1);
lib/Target/SystemZ/SystemZTDC.cpp 345 Value *Zero32 = ConstantInt::get(Type::getInt32Ty(Ctx), 0);
361 Value *MaskVal = ConstantInt::get(Type::getInt64Ty(Ctx), Mask);
lib/Target/X86/X86ISelLowering.cpp 2294 ConstantInt::get(Type::getInt32Ty(IRB.getContext()), Offset),
lib/Target/XCore/XCoreISelDAGToDAG.cpp 147 ConstantInt::get(Type::getInt32Ty(*CurDAG->getContext()), Val),
lib/Target/XCore/XCoreInstrInfo.cpp 444 const Constant *C = ConstantInt::get(
lib/Transforms/Coroutines/CoroFrame.cpp 620 ConstantInt::get(Type::getInt32Ty(C), 0),
621 ConstantInt::get(Type::getInt32Ty(C), Index),
628 Indices.push_back(ConstantInt::get(Type::getInt32Ty(C), 0));
lib/Transforms/Coroutines/CoroInternal.h 149 return ConstantInt::get(getIndexType(), Value);
lib/Transforms/Coroutines/Coroutines.cpp 109 auto *IndexVal = ConstantInt::get(Type::getInt8Ty(Context), Index);
lib/Transforms/IPO/ArgumentPromotion.cpp 263 ConstantInt::get(Type::getInt32Ty(F->getContext()), 0), nullptr};
265 Idxs[1] = ConstantInt::get(Type::getInt32Ty(F->getContext()), i);
393 Value *Idxs[2] = {ConstantInt::get(Type::getInt32Ty(F->getContext()), 0),
397 Idxs[1] = ConstantInt::get(Type::getInt32Ty(F->getContext()), i);
lib/Transforms/IPO/Attributor.cpp 3606 ConstantInt::get(Type::getInt1Ty(F->getContext()), false)};
lib/Transforms/IPO/CrossDSOCFI.cpp 143 ConstantInt *CaseTypeId = ConstantInt::get(Type::getInt64Ty(Ctx), TypeId);
lib/Transforms/IPO/GlobalOpt.cpp 1704 StoreVal = ConstantInt::get(Type::getInt1Ty(GV->getContext()),
lib/Transforms/IPO/GlobalSplit.cpp 110 ConstantInt::get(Int32Ty, ByteOffset - SplitBegin)),
122 Ops.push_back(ConstantInt::get(Int32Ty, 0));
lib/Transforms/IPO/LowerTypeTests.cpp 583 B.CreateAnd(BitOffset, ConstantInt::get(BitsType, BitWidth - 1));
584 Value *BitMask = B.CreateShl(ConstantInt::get(BitsType, 1), BitIndex);
586 return B.CreateICmpNE(MaskedBits, ConstantInt::get(BitsType, 0));
624 ConstantExpr::getIntToPtr(ConstantInt::get(Int8Ty, Mask), Int8PtrTy));
638 Constant *Idxs[] = {ConstantInt::get(IntPtrTy, 0),
639 ConstantInt::get(IntPtrTy, ByteArrayOffsets[I])};
683 return B.CreateICmpNE(ByteAndMask, ConstantInt::get(Int8Ty, 0));
764 ConstantInt::get(Int8Ty, DL.getPointerSizeInBits(0)),
808 P->addIncoming(ConstantInt::get(Int1Ty, 0), InitialBB);
873 Constant *CombinedGlobalIdxs[] = {ConstantInt::get(Int32Ty, 0),
874 ConstantInt::get(Int32Ty, I * 2)};
990 auto *MinC = ConstantAsMetadata::get(ConstantInt::get(IntPtrTy, Min));
991 auto *MaxC = ConstantAsMetadata::get(ConstantInt::get(IntPtrTy, Max));
1126 Int8Ty, CombinedGlobalAddr, ConstantInt::get(IntPtrTy, BSI.ByteOffset)),
1127 TIL.AlignLog2 = ConstantInt::get(Int8Ty, BSI.AlignLog2);
1128 TIL.SizeM1 = ConstantInt::get(IntPtrTy, BSI.BitSize - 1);
1140 TIL.InlineBits = ConstantInt::get(
1513 ArrayRef<Constant *>{ConstantInt::get(IntPtrTy, 0),
1514 ConstantInt::get(IntPtrTy, I)}),
1576 ConstantInt::get(Int64Ty, IndirectIndex))));
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp 334 llvm::ConstantInt::get(Type::getInt8Ty(Ctx), Linkage)));
357 ConstantInt::get(Type::getInt8Ty(Ctx), A.getVisibility())),
359 ConstantInt::get(Type::getInt8Ty(Ctx), A.isWeakForLinker())),
lib/Transforms/IPO/WholeProgramDevirt.cpp 1179 EvalArgs.push_back(ConstantInt::get(ArgTy, Args[I]));
1196 ConstantInt::get(cast<IntegerType>(Call.CS.getType()), TheRetVal));
1253 ConstantExpr::getIntToPtr(ConstantInt::get(Int32Ty, Const), Int8PtrTy));
1273 return ConstantInt::get(IntTy, Storage);
1285 auto *MinC = ConstantAsMetadata::get(ConstantInt::get(IntPtrTy, Min));
1286 auto *MaxC = ConstantAsMetadata::get(ConstantInt::get(IntPtrTy, Max));
1316 ConstantInt::get(Int64Ty, M->Offset));
1377 auto IsBitSet = B.CreateICmpNE(BitsAndBit, ConstantInt::get(Int8Ty, 0));
1482 Constant *ByteConst = ConstantInt::get(Int32Ty, OffsetByte);
1483 Constant *BitConst = ConstantInt::get(Int8Ty, 1ULL << OffsetBit);
1529 ArrayRef<Constant *>{ConstantInt::get(Int32Ty, 0),
1530 ConstantInt::get(Int32Ty, 1)}),
lib/Transforms/InstCombine/InstCombineCalls.cpp 105 BoolVec.push_back(ConstantInt::get(BoolTy, Sign));
952 Indexes[I] = ConstantInt::get(MaskEltTy, Index);
1039 Indexes[I] = ConstantInt::get(MaskEltTy, Index);
1248 ConstantAsMetadata::get(ConstantInt::get(IT, DefiniteZeros)),
1249 ConstantAsMetadata::get(ConstantInt::get(IT, PossibleZeros + 1))};
1285 ConstantAsMetadata::get(ConstantInt::get(IT, MinCount)),
1286 ConstantAsMetadata::get(ConstantInt::get(IT, MaxCount + 1))};
3243 ConstantInt::get(Type::getInt32Ty(II->getContext()),
3528 II->setArgOperand(2, ConstantInt::get(CWidth->getType(),
3539 II->setArgOperand(1, ConstantInt::get(COffset->getType(),
3706 II->setArgOperand(2, ConstantInt::get(CC->getType(),
3725 II->setArgOperand(2, ConstantInt::get(CC->getType(), CmpInst::ICMP_NE));
3789 ConstantInt::get(CC->getType(), SrcPred) };
lib/Transforms/InstCombine/InstCombineCasts.cpp 950 Result, ConstantInt::get(ITy, UnknownBit.countTrailingZeros()));
953 Result = Builder.CreateXor(Result, ConstantInt::get(ITy, 1));
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 673 auto *Zero = ConstantInt::get(IdxType, 0);
679 ConstantInt::get(IdxType, i),
724 auto *Zero = ConstantInt::get(IdxType, 0);
731 ConstantInt::get(IdxType, i),
1208 auto *Zero = ConstantInt::get(IdxType, 0);
1212 ConstantInt::get(IdxType, i),
1256 auto *Zero = ConstantInt::get(IdxType, 0);
1262 ConstantInt::get(IdxType, i),
lib/Transforms/InstCombine/InstCombinePHI.cpp 885 return ConstantInt::get(cast<IntegerType>(PN.getType()), 1);
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 1010 NewDMask = ConstantInt::get(DMask->getType(), NewDMaskVal);
1334 Op, Value, ConstantInt::get(Type::getInt32Ty(I->getContext()), Idx),
1347 Elts.push_back(ConstantInt::get(Type::getInt32Ty(I->getContext()),
lib/Transforms/InstCombine/InstCombineVectorOps.cpp 458 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), i));
464 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()),
501 ConstantInt::get(Type::getInt32Ty(V->getContext()),
506 ConstantInt::get(Type::getInt32Ty(V->getContext()),
542 ExtendMask.push_back(ConstantInt::get(IntType, i));
620 Mask.assign(NumElts, ConstantInt::get(Type::getInt32Ty(V->getContext()),0));
651 Mask[i] = ConstantInt::get(Type::getInt32Ty(V->getContext()), i);
657 ConstantInt::get(Type::getInt32Ty(V->getContext()),
668 Mask.push_back(ConstantInt::get(
686 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), i));
1004 Mask[I] = ConstantInt::get(Type::getInt32Ty(InsElt.getContext()),
1014 Mask[I] = ConstantInt::get(Type::getInt32Ty(InsElt.getContext()), I);
1798 IndexC = ConstantInt::get(IndexC->getType(), NewInsIndex);
lib/Transforms/InstCombine/InstructionCombining.cpp 1130 NewIndices.push_back(ConstantInt::get(Type::getInt32Ty(Ty->getContext()),
2402 ConstantInt::get(Type::getInt1Ty(C->getContext()),
lib/Transforms/Instrumentation/AddressSanitizer.cpp 1254 ConstantInt::get(Type::getInt32Ty(M.getContext()), MD.LineNo),
1255 ConstantInt::get(Type::getInt32Ty(M.getContext()), MD.ColumnNo),
1613 Value *ExpVal = Exp == 0 ? nullptr : ConstantInt::get(IRB.getInt32Ty(), Exp);
1673 {AddrLong, ConstantInt::get(IRB.getInt32Ty(), Exp)});
1750 {AddrLong, Size, ConstantInt::get(IRB.getInt32Ty(), Exp)});
2935 ConstantInt::get(IRB.getInt64Ty(), L.FrameSize),
lib/Transforms/Instrumentation/CGProfile.cpp 92 MDB.createConstant(ConstantInt::get(
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp 588 ConstantInt::get(IntptrTy, uintptr_t(GetArgTLSPtr)),
595 ConstantInt::get(IntptrTy, uintptr_t(GetRetvalTLSPtr)),
1221 ConstantInt::get(DFS.IntptrTy, 1));
1235 {ShadowAddr, ConstantInt::get(DFS.IntptrTy, Size)});
1276 ConstantInt::get(DFS.IntptrTy, 1));
1294 DFS.DFSanUnionLoadFn, {ShadowAddr, ConstantInt::get(DFS.IntptrTy, Size)});
1343 Value *ExtZeroShadow = ConstantInt::get(ShadowTy, 0);
1357 ShadowVec, Shadow, ConstantInt::get(Type::getInt32Ty(*DFS.Ctx), i));
lib/Transforms/Instrumentation/InstrOrderFile.cpp 135 Value *IdxFlags[] = {ConstantInt::get(Int32Ty, 0),
136 ConstantInt::get(Int32Ty, FuncId)};
139 entryB.CreateStore(ConstantInt::get(Int8Ty, 1), MapAddr);
141 entryB.CreateICmpEQ(loadBitMap, ConstantInt::get(Int8Ty, 0));
146 AtomicRMWInst::Add, BufferIdx, ConstantInt::get(Int32Ty, 1),
150 IdxVal, ConstantInt::get(Int32Ty, INSTR_ORDER_FILE_BUFFER_MASK));
151 Value *BufferGEPIdx[] = {ConstantInt::get(Int32Ty, 0), WrappedIdx};
154 updateB.CreateStore(ConstantInt::get(Type::getInt64Ty(Ctx), MD5Hash(F.getName())),
lib/Transforms/Instrumentation/InstrProfiling.cpp 832 Int16ArrayVals[Kind] = ConstantInt::get(Int16Ty, PD.NumValueSites[Kind]);
lib/Transforms/Instrumentation/MemorySanitizer.cpp 2648 ConvertShadow, ConstantInt::get(IRB.getInt32Ty(), 0));
2651 ConvertShadow, ConstantInt::get(IRB.getInt32Ty(), i));
2670 ConstantInt::get(IRB.getInt32Ty(), i));
2966 MaskedPassThruShadow, ConstantInt::get(IRB.getInt32Ty(), 0));
2970 MaskedPassThruShadow, ConstantInt::get(IRB.getInt32Ty(), i));
3879 ConstantInt::get(IRB.getInt64Ty(), OverflowOffset - AMD64FpEndOffset);
4041 Constant *TotalVAArgSize = ConstantInt::get(IRB.getInt64Ty(), VAArgOffset);
4212 ConstantInt::get(IRB.getInt64Ty(), OverflowOffset - AArch64VAEndOffset);
4476 Constant *TotalVAArgSize = ConstantInt::get(IRB.getInt64Ty(),
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp 380 ConstantInt *CaseSizeId = ConstantInt::get(SizeType, SizeId);
lib/Transforms/Instrumentation/ThreadSanitizer.cpp 543 StoredValue, ConstantInt::get(IRB.getInt32Ty(), 0));
lib/Transforms/Scalar/ConstantHoisting.cpp 426 ConstantInt::get(Type::getInt32Ty(*Ctx), Offset.getLimitedValue()),
736 Offset = ConstantInt::get(Type::getInt32Ty(*Ctx), 0);
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp 323 Constant *TorF = ConstantInt::get(Type::getInt1Ty(Cmp->getContext()), Result);
lib/Transforms/Scalar/IndVarSimplify.cpp 459 NewPHI->addIncoming(ConstantInt::get(Int32Ty, InitValue),
463 BinaryOperator::CreateAdd(NewPHI, ConstantInt::get(Int32Ty, IncValue),
468 ConstantInt::get(Int32Ty, ExitValue),
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp 419 ConstantAsMetadata::get(ConstantInt::get(Type::getInt1Ty(Context), 0));
868 ConstantInt *One = ConstantInt::get(IndVarTy, 1);
lib/Transforms/Scalar/JumpThreading.cpp 812 Res = ConstantInt::get(Type::getInt1Ty(LHS->getContext()), ResT);
lib/Transforms/Scalar/LoopUnswitch.cpp 1467 Replacement = ConstantInt::get(Type::getInt1Ty(Val->getContext()),
lib/Transforms/Scalar/MergeICmps.cpp 654 ConstantInt::get(DL.getIntPtrType(Context), TotalSizeBits / 8), Builder,
657 MemCmpCall, ConstantInt::get(Type::getInt32Ty(Context), 0));
lib/Transforms/Scalar/SROA.cpp 3090 ConstantInt::get(cast<IntegerType>(II.getArgOperand(0)->getType()),
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp 413 ConstantInt *One = ConstantInt::get(cast<IntegerType>(I->getType()), 1);
447 ConstantInt *Zero = ConstantInt::get(cast<IntegerType>(I->getType()), 0);
477 ConstantInt *ScaledIdx = ConstantInt::get(
488 Base, ConstantInt::get(cast<IntegerType>(ArrayIdx->getType()), 1),
608 ConstantInt *Exponent = ConstantInt::get(DeltaType, IndexOffset.logBase2());
614 ConstantInt::get(DeltaType, (-IndexOffset).logBase2());
lib/Transforms/Utils/BuildLibCalls.cpp 1264 ConstantInt::get(DL.getIntPtrType(Context), 1), File});
lib/Transforms/Utils/CodeExtractor.cpp 935 Idx[1] = ConstantInt::get(Type::getInt32Ty(header->getContext()), i);
1119 Idx[1] = ConstantInt::get(Type::getInt32Ty(Context), i);
1158 Idx[1] = ConstantInt::get(Type::getInt32Ty(Context), FirstOut + i);
1211 brVal = ConstantInt::get(Type::getInt1Ty(Context), !SuccNum);
1214 brVal = ConstantInt::get(Type::getInt16Ty(Context), SuccNum);
1221 TheSwitch->addCase(ConstantInt::get(Type::getInt16Ty(Context),
1261 Idx[1] = ConstantInt::get(Type::getInt32Ty(Context), FirstOut + i);
lib/Transforms/Utils/EntryExitInstrumenter.cpp 47 ArrayRef<Value *>(ConstantInt::get(Type::getInt32Ty(C), 0)), "",
lib/Transforms/Utils/Evaluator.cpp 195 Constant *IdxZero = ConstantInt::get(IdxTy, 0, false);
lib/Transforms/Utils/InlineFunction.cpp 1987 AllocaSize = ConstantInt::get(Type::getInt64Ty(AI->getContext()),
lib/Transforms/Utils/Local.cpp 708 ConstantInt::get(Type::getInt32Ty(BA->getContext()), 1);
2561 auto *NonNullInt = ConstantExpr::getAdd(NullInt, ConstantInt::get(ITy, 1));
lib/Transforms/Utils/LoopUtils.cpp 204 ConstantAsMetadata::get(ConstantInt::get(Type::getInt32Ty(Context), V))};
lib/Transforms/Utils/LowerMemIntrinsics.cpp 172 ConstantInt *CILoopOpSize = ConstantInt::get(ILengthType, LoopOpSize);
210 ConstantInt *Zero = ConstantInt::get(ILengthType, 0U);
255 ConstantInt *Zero = ConstantInt::get(ILengthType, 0U);
lib/Transforms/Utils/SanitizerStats.cpp 53 ConstantInt::get(IntPtrTy, uint64_t(SK) << (IntPtrTy->getBitWidth() -
65 ConstantInt::get(IntPtrTy, 0), ConstantInt::get(B.getInt32Ty(), 2),
65 ConstantInt::get(IntPtrTy, 0), ConstantInt::get(B.getInt32Ty(), 2),
66 ConstantInt::get(IntPtrTy, Inits.size() - 1),
87 ConstantInt::get(Int32Ty, Inits.size()),
lib/Transforms/Utils/SimplifyCFG.cpp 421 return ConstantInt::get(PtrTy, 0);
3236 ConstantInt::get(Type::getInt1Ty(BB->getContext()), CondIsTrue));
3258 ConstantInt::get(Type::getInt1Ty(BB->getContext()), CondIsTrue),
5117 ShiftAmt, ConstantInt::get(MapTy, BitMapElementTy->getBitWidth()),
5426 TableIndex, ConstantInt::get(MinCaseVal->getType(), TableSize));
5617 auto *ShiftC = ConstantInt::get(Ty, Shift);
5618 auto *Sub = Builder.CreateSub(SI->getCondition(), ConstantInt::get(Ty, Base));
lib/Transforms/Utils/SimplifyLibCalls.cpp 292 ConstantInt::get(DL.getIntPtrType(Src->getContext()), Len + 1));
358 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len),
443 ConstantInt::get(DL.getIntPtrType(CI->getContext()),
453 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), B, DL,
459 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), B, DL,
521 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), B, DL,
528 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), B, DL,
565 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len));
1178 if (Value *Calloc = emitCalloc(ConstantInt::get(SizeType, 1),
2112 Sin = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 0),
2114 Cos = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 1),
2430 ConstantInt::get(DL.getIntPtrType(CI->getContext()),
2538 ConstantInt::get(DL.getIntPtrType(CI->getContext()),
2620 ConstantInt::get(DL.getIntPtrType(CI->getContext()), FormatStr.size()),
2741 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len - 1),
lib/Transforms/Utils/VNCoercion.cpp 334 ConstantInt::get(Type::getInt64Ty(Src->getContext()), (unsigned)Offset);
510 ConstantInt::get(Type::getInt64Ty(Src->getContext()), (unsigned)Offset);
tools/clang/include/clang/CodeGen/ConstantInitBuilder.h 199 add(llvm::ConstantInt::get(intTy, value, isSigned));
239 llvm::ConstantInt::get(type, tag));
285 fillPlaceholder(position, llvm::ConstantInt::get(type, value, isSigned));
tools/clang/lib/CodeGen/CGAtomic.cpp 351 addr, llvm::ConstantInt::get(CGF.Int8Ty, 0),
964 Args.add(RValue::get(llvm::ConstantInt::get(SizeTy, Size)),
1437 RValue::get(llvm::ConstantInt::get(CGF.IntTy, (int)llvm::toCABI(AO))),
1636 llvm::ConstantInt::get(CGF.IntTy, (int)llvm::toCABI(Success))),
1639 llvm::ConstantInt::get(CGF.IntTy, (int)llvm::toCABI(Failure))),
1947 RValue::get(llvm::ConstantInt::get(IntTy, (int)llvm::toCABI(AO))),
tools/clang/lib/CodeGen/CGBlocks.cpp 1000 addHeaderField(llvm::ConstantInt::get(IntTy, flags.getBitMask()),
1002 addHeaderField(llvm::ConstantInt::get(IntTy, 0), getIntSize(),
1006 llvm::ConstantInt::get(IntTy, blockInfo.BlockSize.getQuantity()),
1009 llvm::ConstantInt::get(IntTy, blockInfo.BlockAlign.getQuantity()),
2108 dstAddr, srcValue, llvm::ConstantInt::get(Int32Ty, flags.getBitMask())
2281 llvm::Value *flagsVal = llvm::ConstantInt::get(CGF.Int32Ty, flags);
2904 storeHeaderField(llvm::ConstantInt::get(IntTy, flags.getBitMask()),
2908 V = llvm::ConstantInt::get(IntTy, byrefSize.getQuantity());
2929 llvm::ConstantInt::get(Int32Ty, flags.getBitMask())
tools/clang/lib/CodeGen/CGBuilder.h 61 return llvm::ConstantInt::get(TypeCache.SizeTy, N.getQuantity());
64 return llvm::ConstantInt::get(TypeCache.SizeTy, N);
tools/clang/lib/CodeGen/CGBuiltin.cpp 206 llvm::ConstantInt::get(IntType, -1));
551 return ConstantInt::get(ResType, (Type & 2) ? 0 : -1, /*isSigned=*/true);
562 return ConstantInt::get(ResType, ObjectSize, /*isSigned=*/true);
768 llvm::ConstantInt::get(CGF.Int8Ty, 0x7));
773 Mask = CGF.Builder.CreateShl(llvm::ConstantInt::get(CGF.Int8Ty, 1), PosLow,
817 ShiftedByte, llvm::ConstantInt::get(CGF.Int8Ty, 1), "bittest.res");
840 Arg1 = llvm::ConstantInt::get(CGF.IntTy, 0);
851 llvm::ConstantInt::get(CGF.Int32Ty, 0));
1107 llvm::ConstantInt::get(Builder.getInt8Ty(), Kind)},
2051 AlignmentCI = ConstantInt::get(AlignmentCI->getType(),
2149 llvm::ConstantInt::get(Int32Ty, 0);
2151 llvm::ConstantInt::get(Int32Ty, 3);
2152 Value *Data = llvm::ConstantInt::get(Int32Ty, 1);
2510 Value *SizeEq0 = Builder.CreateICmpEQ(Size, ConstantInt::get(SizeTy, 0));
2534 Value *NextSize = Builder.CreateSub(SizePhi, ConstantInt::get(SizeTy, 1));
2536 Builder.CreateICmpEQ(NextSize, ConstantInt::get(SizeTy, 0));
2544 Ret->addIncoming(ConstantInt::get(IntTy, 0), Entry);
2545 Ret->addIncoming(ConstantInt::get(IntTy, 1), CmpGT);
2546 Ret->addIncoming(ConstantInt::get(IntTy, -1), CmpLT);
2547 Ret->addIncoming(ConstantInt::get(IntTy, 0), Next);
2563 llvm::ConstantInt::get(Int32Ty, Offset)));
2599 return RValue::get(llvm::ConstantInt::get(Ty, Column, true));
2661 ConstantInt::get(Int32Ty, 0));
3380 return RValue::get(ConstantInt::get(IntTy, 0));
3800 auto *Zero = llvm::ConstantInt::get(IntTy, 0);
3802 auto *Index = llvm::ConstantInt::get(IntTy, I - First);
3830 Kernel, Block, ConstantInt::get(IntTy, NumArgs - 4),
3903 Args.push_back(ConstantInt::get(Int32Ty, NumArgs - 7));
5209 ConstantInt *C0 = ConstantInt::get(CGF.SizeTy, 0);
5526 llvm::Constant *CI = ConstantInt::get(SizeTy, 0);
5904 llvm::ConstantInt::get(Int32Ty, Value));
6046 Value *Locality = llvm::ConstantInt::get(Int32Ty, 3);
6106 Value *C1 = llvm::ConstantInt::get(Int64Ty, 32);
6141 Value *ShiftCast = llvm::ConstantInt::get(Int64Ty, 32);
6176 Value *ShiftCst = llvm::ConstantInt::get(Int64Ty, 32);
6289 Value *C1 = llvm::ConstantInt::get(Int64Ty, 32);
6678 Value *SV = llvm::ConstantVector::get(ConstantInt::get(Int32Ty, 1-Lane));
6880 Ops.push_back(llvm::ConstantInt::get(Int32Ty, i));
7042 llvm::Constant *CI = ConstantInt::get(SizeTy, 0);
7080 return Builder.CreateCall(F, llvm::ConstantInt::get(Int32Ty, HintID));
7097 Locality = llvm::ConstantInt::get(Int32Ty, 0);
7701 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0);
7702 llvm::Value *Idx1 = llvm::ConstantInt::get(SizeTy, 1);
7714 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0);
7715 llvm::Value *Idx1 = llvm::ConstantInt::get(SizeTy, 1);
7727 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0);
7728 llvm::Value *Idx1 = llvm::ConstantInt::get(SizeTy, 1);
8018 Constant *CI = ConstantInt::get(SizeTy, 0);
8048 Ops[1] = ConstantInt::get(Int64Ty, -SV);
8066 Ops[0], ConstantInt::get(Int64Ty, Amt->getZExtValue()), "shld_n");
8071 Ops[0], ConstantInt::get(Int64Ty, std::min(static_cast<uint64_t>(63),
8080 return ConstantInt::get(Int64Ty, 0);
8081 return Builder.CreateLShr(Ops[0], ConstantInt::get(Int64Ty, ShiftAmt),
8087 Ops[1], ConstantInt::get(Int64Ty, std::min(static_cast<uint64_t>(63),
8099 Ops[1] = Builder.CreateLShr(Ops[1], ConstantInt::get(Int64Ty, ShiftAmt),
8115 Constant *CI = ConstantInt::get(SizeTy, 0);
9155 llvm::Constant *CI = ConstantInt::get(Int32Ty, 0);
9454 Value *InfoKind = ConstantInt::get(Int64Ty, C->getSExtValue());
10195 Ops.push_back(llvm::ConstantInt::get(Int8Ty, Imm));
10218 Value *RW = ConstantInt::get(Int32Ty, (C->getZExtValue() >> 2) & 0x1);
10219 Value *Locality = ConstantInt::get(Int32Ty, C->getZExtValue() & 0x3);
10220 Value *Data = ConstantInt::get(Int32Ty, 1);
10361 Builder.CreateLShr(Ops[1], ConstantInt::get(Int64Ty, 32)), Int32Ty);
12543 Value *Undef = ConstantInt::get(Builder.getInt1Ty(), false);
12553 Value *Undef = ConstantInt::get(Builder.getInt1Ty(), false);
12678 Constant *ShuffleElts[2] = { ConstantInt::get(Int32Ty, 1),
12679 ConstantInt::get(Int32Ty, 0)
12720 Constant *ShuffleElts[2] = { ConstantInt::get(Int32Ty, 1),
12721 ConstantInt::get(Int32Ty, 0)
12747 Constant *ShuffleElts[2] = {ConstantInt::get(Int32Ty, ElemIdx0),
12748 ConstantInt::get(Int32Ty, ElemIdx1)};
12786 Constant *ShuffleElts[4] = {ConstantInt::get(Int32Ty, ElemIdx0),
12787 ConstantInt::get(Int32Ty, ElemIdx1),
12788 ConstantInt::get(Int32Ty, ElemIdx2),
12789 ConstantInt::get(Int32Ty, ElemIdx3)};
12816 Index = ConstantInt::get(Index->getType(), 1 - Index->getZExtValue());
13038 Value *Control = llvm::ConstantInt::get(Int32Ty, 0xff0c);
13044 Value *Control = llvm::ConstantInt::get(Int32Ty, 0xff0c);
13050 Value *Control = llvm::ConstantInt::get(Int32Ty, 0xff08);
13087 Value *Undef = ConstantInt::get(Builder.getInt1Ty(), false);
13098 Value *Undef = ConstantInt::get(Builder.getInt1Ty(), false);
13624 {Ptr, ConstantInt::get(Builder.getInt32Ty(), Align.getQuantity())});
13933 llvm::ConstantInt::get(IntTy, i)),
13968 Builder.CreateGEP(Src.getPointer(), llvm::ConstantInt::get(IntTy, i)),
14028 llvm::ConstantInt::get(IntTy, i)),
14037 llvm::ConstantInt::get(IntTy, i)),
14047 llvm::ConstantInt::get(IntTy, i)),
14056 Builder.CreateGEP(Dst.getPointer(), llvm::ConstantInt::get(IntTy, i)),
tools/clang/lib/CodeGen/CGCUDANV.cpp 84 llvm::Constant *Zeros[] = {llvm::ConstantInt::get(SizeTy, 0),
85 llvm::ConstantInt::get(SizeTy, 0)};
257 llvm::ConstantInt::get(SizeTy, std::max<size_t>(1, Args.size())));
359 llvm::ConstantInt::get(SizeTy, TyWidth.getQuantity()),
360 llvm::ConstantInt::get(SizeTy, Offset.getQuantity()),
363 llvm::Constant *Zero = llvm::ConstantInt::get(IntTy, 0);
428 llvm::ConstantInt::get(IntTy, -1),
456 llvm::ConstantInt::get(IntTy, (Flags & ExternDeviceVar) ? 1 : 0),
457 llvm::ConstantInt::get(IntTy, VarSize),
458 llvm::ConstantInt::get(IntTy, (Flags & ConstantDeviceVar) ? 1 : 0),
459 llvm::ConstantInt::get(IntTy, 0)};
tools/clang/lib/CodeGen/CGCXXABI.cpp 227 return llvm::ConstantInt::get(CGF.SizeTy, 0);
tools/clang/lib/CodeGen/CGCall.cpp 1260 llvm::ConstantInt::get(CGF.IntPtrTy, SrcSize),
1338 llvm::ConstantInt::get(CGF.IntPtrTy, DstSize),
2329 auto SizeVal = llvm::ConstantInt::get(IntPtrTy, Size.getQuantity());
3398 llvm::ConstantInt::get(Int32Ty, ArgNo + 1),
tools/clang/lib/CodeGen/CGClass.cpp 238 baseOffset = llvm::ConstantInt::get(CGF.PtrDiffTy,
1641 llvm::ConstantInt::get(CGF.SizeTy, PoisonSize)};
1711 llvm::ConstantInt *OffsetSizePtr = llvm::ConstantInt::get(
2002 Builder.CreateInBoundsGEP(cur, llvm::ConstantInt::get(SizeTy, 1),
2763 llvm::ConstantInt::get(Int8Ty, TCK),
2818 {CastedVTable, llvm::ConstantInt::get(Int32Ty, VTableByteOffset),
tools/clang/lib/CodeGen/CGDebugInfo.cpp 1819 V = llvm::ConstantInt::get(CGM.Int8Ty, 0);
tools/clang/lib/CodeGen/CGDecl.cpp 734 llvm::ConstantInt::get(Int8Ty, 0), // The LogAlignment info is unused.
735 llvm::ConstantInt::get(Int8Ty, TCK_NonnullAssign)};
1156 auto *SizeVal = llvm::ConstantInt::get(CGM.IntPtrTy, ConstantSize);
1161 Builder.CreateMemSet(Loc, llvm::ConstantInt::get(CGM.Int8Ty, 0), SizeVal,
1183 Builder.CreateMemSet(Loc, llvm::ConstantInt::get(CGM.Int8Ty, Value), SizeVal,
1294 llvm::Value *SizeV = llvm::ConstantInt::get(Int64Ty, Size);
1699 Builder.CreateMemSet(Loc, llvm::ConstantInt::get(Int8Ty, 0), SizeVal,
1719 llvm::ConstantInt::get(IntPtrTy, EltSize.getQuantity());
2168 llvm::Value *negativeOne = llvm::ConstantInt::get(SizeTy, -1, true);
2207 llvm::Value *zero = llvm::ConstantInt::get(CGF.SizeTy, 0);
tools/clang/lib/CodeGen/CGException.cpp 1729 llvm::ConstantInt::get(Int32Ty, FrameEscapeIdx)});
tools/clang/lib/CodeGen/CGExpr.cpp 715 llvm::Value *Size = llvm::ConstantInt::get(IntPtrTy, TySize);
752 PtrAsInt, llvm::ConstantInt::get(IntPtrTy, AlignVal - 1));
754 Builder.CreateICmpEQ(Align, llvm::ConstantInt::get(IntPtrTy, 0));
766 llvm::ConstantInt::get(Int8Ty, AlignVal ? llvm::Log2_64(AlignVal) : 1),
767 llvm::ConstantInt::get(Int8Ty, TCK)};
810 llvm::Value *Low = llvm::ConstantInt::get(Int64Ty, TypeHash);
825 llvm::ConstantInt::get(IntPtrTy,
841 llvm::ConstantInt::get(Int8Ty, TCK)
1863 llvm::Value *Elt = llvm::ConstantInt::get(SizeTy, InIdx);
2153 llvm::Value *Elt = llvm::ConstantInt::get(SizeTy, InIdx);
3257 Builder.CreateICmpNE(CheckKind, llvm::ConstantInt::get(Int8Ty, Kind));
3707 Idx, llvm::ConstantInt::get(IntPtrTy, /*V=*/1), "idx_sub_1",
3730 LengthVal, llvm::ConstantInt::get(IntPtrTy, /*V=*/1), "len_sub_1",
4862 llvm::ConstantInt::get(Int8Ty, CFITCK_ICall),
tools/clang/lib/CodeGen/CGExprAgg.cpp 363 llvm::Value *size = llvm::ConstantInt::get(CGF.SizeTy, sz.getQuantity());
414 llvm::Value *Zero = llvm::ConstantInt::get(CGF.PtrDiffTy, 0);
481 llvm::Value *zero = llvm::ConstantInt::get(CGF.SizeTy, 0);
538 llvm::Value *one = llvm::ConstantInt::get(CGF.SizeTy, 1);
586 llvm::ConstantInt::get(CGF.SizeTy, NumArrayElements),
729 llvm::Value *SizeVal = llvm::ConstantInt::get(
1649 llvm::Value *zero = llvm::ConstantInt::get(CGF.SizeTy, 0);
1714 index, llvm::ConstantInt::get(CGF.SizeTy, 1), "arrayinit.next");
1719 nextIndex, llvm::ConstantInt::get(CGF.SizeTy, numElements),
1969 llvm::ConstantInt::get(SizeTy, TypeInfo.first.getQuantity()));
1973 SizeVal = llvm::ConstantInt::get(SizeTy, TypeInfo.first.getQuantity());
tools/clang/lib/CodeGen/CGExprCXX.cpp 683 = llvm::ConstantInt::get(CGF.SizeTy, typeSize.getQuantity());
828 llvm::ConstantInt::get(CGF.SizeTy, minElements));
841 llvm::ConstantInt::get(CGF.SizeTy, minElements));
848 llvm::ConstantInt::get(CGF.SizeTy, minElements)));
1448 DeleteArgs.add(RValue::get(llvm::ConstantInt::get(
1615 RValue::get(llvm::ConstantInt::get(SizeTy, allocAlign.getQuantity())),
1793 Size, llvm::ConstantInt::get(SizeTy, CookieSize.getQuantity()));
tools/clang/lib/CodeGen/CGExprConstant.cpp 1550 IndexValues[i] = llvm::ConstantInt::get(CGM.Int32Ty, Indices[i]);
1781 return llvm::ConstantInt::get(CGM.Int64Ty,
tools/clang/lib/CodeGen/CGExprScalar.cpp 538 return llvm::ConstantInt::get(Builder.getInt1Ty(), 1);
542 llvm::ConstantInt::get(CGF.CGM.Int32Ty, Version.getMajor()),
543 llvm::ConstantInt::get(CGF.CGM.Int32Ty, Min ? *Min : 0),
544 llvm::ConstantInt::get(CGF.CGM.Int32Ty, SMin ? *SMin : 0),
681 return llvm::ConstantInt::get(Builder.getInt32Ty(), E->getValue());
685 return llvm::ConstantInt::get(Builder.getInt1Ty(), E->getValue());
1022 llvm::ConstantInt::get(Builder.getInt8Ty(), Check.first)};
1162 llvm::ConstantInt::get(Builder.getInt8Ty(), CheckKind)};
1619 Value *IIndx = llvm::ConstantInt::get(CGF.SizeTy, i);
2548 llvm::ConstantInt::get(CGF.SizeTy, size.getQuantity());
2760 return llvm::ConstantInt::get(CGF.SizeTy, Alignment);
2980 llvm::Value *NegOne = llvm::ConstantInt::get(Ty, -1ULL);
tools/clang/lib/CodeGen/CGGPUBuiltin.cpp 89 return RValue::get(llvm::ConstantInt::get(IntTy, 0));
tools/clang/lib/CodeGen/CGLoopInfo.cpp 51 ConstantAsMetadata::get(ConstantInt::get(
66 ConstantAsMetadata::get(ConstantInt::get(
121 ConstantAsMetadata::get(ConstantInt::get(
185 ConstantAsMetadata::get(ConstantInt::get(llvm::Type::getInt32Ty(Ctx),
231 ConstantAsMetadata::get(ConstantInt::get(
266 ConstantAsMetadata::get(ConstantInt::get(llvm::Type::getInt1Ty(Ctx),
275 ConstantAsMetadata::get(ConstantInt::get(llvm::Type::getInt32Ty(Ctx),
284 ConstantAsMetadata::get(ConstantInt::get(llvm::Type::getInt32Ty(Ctx),
294 ConstantAsMetadata::get(ConstantInt::get(
331 ConstantAsMetadata::get(ConstantInt::get(
349 ConstantAsMetadata::get(ConstantInt::get(
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp 522 llvm::ConstantInt::get(this->CGF->SizeTy, Size.getQuantity());
tools/clang/lib/CodeGen/CGObjCGNU.cpp 995 llvm::ConstantInt::get(Int64Ty, str), IdTy);
1390 llvm::ConstantInt::get(Int32Ty, ProtocolVersion), IdTy));
1626 auto i32Zero = llvm::ConstantInt::get(Int32Ty, 0);
1836 llvm::Constant *OffsetValue = llvm::ConstantInt::get(IntTy, Offset);
2145 Zeros[0] = llvm::ConstantInt::get(LongTy, 0);
2430 llvm::Constant *Two = llvm::ConstantInt::get(IntTy, 2);
2599 llvm::ConstantAsMetadata::get(llvm::ConstantInt::get(
2675 llvm::ConstantAsMetadata::get(llvm::ConstantInt::get(
3054 llvm::ConstantInt::get(Int32Ty, ProtocolVersion), IdTy));
3123 llvm::ConstantInt::get(Int32Ty, ProtocolVersion), IdTy));
3193 return llvm::ConstantInt::get(IntPtrTy, val);
3203 values.push_back(llvm::ConstantInt::get(Int32Ty, word));
3395 symbol->setInitializer(llvm::ConstantInt::get(LongTy, 0));
3399 llvm::ConstantInt::get(LongTy, 0),
3435 IvarAligns.push_back(llvm::ConstantInt::get(IntTy,
3443 llvm::Constant *OffsetValue = llvm::ConstantInt::get(IntTy, Offset);
3567 llvm::Constant *ZeroPtr = llvm::ConstantInt::get(IntPtrTy, 0);
3580 llvm::ConstantInt::get(LongTy, instanceSize), IvarList, MethodList,
3709 llvm::ConstantInt::get(Int32Ty, i)
4099 return llvm::ConstantInt::get(PtrDiffTy, Offset, /*isSigned*/true);
tools/clang/lib/CodeGen/CGObjCMac.cpp 1831 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx0),
1832 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx1)
2807 return llvm::ConstantInt::get(CGM.IntPtrTy, Result);
4514 llvm::Constant *Zero = llvm::ConstantInt::get(CGF.Builder.getInt32Ty(), 0);
5003 llvm::ConstantAsMetadata::get(llvm::ConstantInt::get(
7298 auto *Idx = llvm::ConstantInt::get(CGM.Int32Ty, 1);
7721 llvm::Value *VTableIdx = llvm::ConstantInt::get(CGM.Int32Ty, 2);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 1586 llvm::ConstantInt::get(CGM.Int32Ty, Flags),
1587 llvm::ConstantInt::get(CGM.Int32Ty, Reserved2Flags),
3250 llvm::ConstantInt::get(CGM.IntTy, /*V=*/0, /*isSigned=*/true)};
3840 llvm::ConstantInt::get(CGM.IntTy, RuntimeProcBind, /*isSigned=*/true)};
4034 llvm::ConstantInt::get(CGM.SizeTy, Size),
4035 llvm::ConstantInt::get(CGM.Int32Ty, Flags),
4036 llvm::ConstantInt::get(CGM.Int32Ty, 0)};
4073 llvm::ConstantInt::get(CGM.Int32Ty, V));
5450 : llvm::ConstantInt::get(CGF.Int64Ty, /*V=*/0),
6223 llvm::Value *Idxs[] = {llvm::ConstantInt::get(CGM.SizeTy, /*V=*/0),
6224 llvm::ConstantInt::get(CGM.SizeTy, Cnt)};
6274 llvm::ConstantInt::get(CGM.Int32Ty, /*V=*/1, /*isSigned=*/true),
6284 llvm::ConstantInt::get(CGM.IntTy, Size, /*isSigned=*/true),
7225 Cmp, TrueVal, llvm::ConstantInt::get(CGF.SizeTy, 0));
8216 Sizes.push_back(llvm::ConstantInt::get(CGF.Int64Ty, 0));
9889 llvm::ConstantInt::get(CGM.Int64Ty, Flags));
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 1386 llvm::ConstantInt::get(CGM.Int8Ty, Mode ? 0 : 1),
1851 llvm::ConstantInt::get(llvm::Type::getInt32Ty(Ctx), 1))};
2164 llvm::Value *Size = llvm::ConstantInt::get(CGM.SizeTy, GlobalRecordSize);
2180 IsTTD, llvm::ConstantInt::get(CGM.SizeTy, GlobalRecordSize), Size);
2246 llvm::ConstantInt::get(
2274 llvm::ConstantInt::get(CGM.SizeTy, GlobalRecordSize),
2366 Size, llvm::ConstantInt::get(CGF.SizeTy, Align.getQuantity() - 1));
2368 llvm::ConstantInt::get(CGF.SizeTy, Align.getQuantity());
2437 llvm::ConstantInt::get(
2555 llvm::ConstantInt::get(CGM.SizeTy, CapturedVars.size())};
2721 llvm::ConstantInt::get(CGF.Int32Ty, /*V=*/0, /*isSigned=*/true)};
3135 ScratchpadBasePtr, llvm::ConstantInt::get(CGM.SizeTy, 1));
3138 llvm::ConstantInt::get(CGM.SizeTy, GlobalMemoryAlignment));
3140 ScratchpadBasePtr, llvm::ConstantInt::get(CGM.SizeTy, 1));
3143 llvm::ConstantInt::get(CGM.SizeTy, GlobalMemoryAlignment));
3271 Bld.CreateICmpULT(Cnt, llvm::ConstantInt::get(CGM.IntTy, NumIters));
3378 Cnt = Bld.CreateNSWAdd(Cnt, llvm::ConstantInt::get(CGM.IntTy, /*V=*/1));
4405 Res, llvm::ConstantInt::get(CGM.Int32Ty, /*V=*/1));
5101 Records.RecSize->setInitializer(llvm::ConstantInt::get(CGM.SizeTy, Size));
5103 llvm::ConstantInt::get(CGM.Int16Ty, UseSharedMemory ? 1 : 0));
tools/clang/lib/CodeGen/CGStmt.cpp 1889 Locs.push_back(llvm::ConstantAsMetadata::get(llvm::ConstantInt::get(
1905 llvm::ConstantInt::get(CGF.Int32Ty, LineLoc.getRawEncoding())));
1936 llvm::Constant *Loc = llvm::ConstantInt::get(CGF.Int32Ty,
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 279 return llvm::ConstantInt::get(SizeTy, /*V=*/0);
tools/clang/lib/CodeGen/CGVTables.cpp 625 llvm::ConstantInt::get(CGM.PtrDiffTy, offset.getQuantity()),
tools/clang/lib/CodeGen/CodeGenFunction.cpp 1581 = llvm::ConstantInt::get(CGF.IntPtrTy, baseSize.getQuantity());
1801 = llvm::ConstantInt::get(SizeTy, countFromCLAs);
tools/clang/lib/CodeGen/CodeGenModule.cpp 500 llvm::ConstantAsMetadata::get(llvm::ConstantInt::get(
574 llvm::ConstantAsMetadata::get(llvm::ConstantInt::get(
576 llvm::ConstantAsMetadata::get(llvm::ConstantInt::get(
636 llvm::ConstantAsMetadata::get(llvm::ConstantInt::get(
638 llvm::ConstantAsMetadata::get(llvm::ConstantInt::get(
753 return llvm::ConstantInt::get(SizeTy, size.getQuantity());
1213 return llvm::ConstantInt::get(Int64Ty, llvm::MD5Hash(MDS->getString()));
2202 return llvm::ConstantInt::get(Int32Ty, LineNo);
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp 171 indices.push_back(llvm::ConstantInt::get(Builder.CGM.Int32Ty, 0));
177 indices.push_back(llvm::ConstantInt::get(Builder.CGM.Int32Ty,
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 589 llvm::Constant *ptrdiff_1 = llvm::ConstantInt::get(CGM.PtrDiffTy, 1);
680 {VFPAddr, llvm::ConstantInt::get(CGM.Int32Ty, 0), TypeId});
707 llvm::ConstantInt::get(CGF.Int8Ty, CodeGenFunction::CFITCK_VMFCall),
744 llvm::ConstantInt::get(CGF.Int8Ty, CodeGenFunction::CFITCK_NVMFCall),
939 return llvm::ConstantInt::get(CGM.PtrDiffTy, -1ULL, /*isSigned=*/true);
941 llvm::Constant *Zero = llvm::ConstantInt::get(CGM.PtrDiffTy, 0);
952 return llvm::ConstantInt::get(CGM.PtrDiffTy, offset.getQuantity());
983 MemPtr[0] = llvm::ConstantInt::get(CGM.PtrDiffTy, VTableOffset);
984 MemPtr[1] = llvm::ConstantInt::get(CGM.PtrDiffTy,
991 MemPtr[0] = llvm::ConstantInt::get(CGM.PtrDiffTy, VTableOffset + 1);
992 MemPtr[1] = llvm::ConstantInt::get(CGM.PtrDiffTy,
1010 MemPtr[1] = llvm::ConstantInt::get(CGM.PtrDiffTy,
1706 llvm::ConstantInt::get(CGM.Int32Ty, 0),
1707 llvm::ConstantInt::get(CGM.Int32Ty, AddressPoint.VTableIndex),
1708 llvm::ConstantInt::get(CGM.Int32Ty, AddressPoint.AddressPointIndex),
2090 llvm::Value *elementSize = llvm::ConstantInt::get(CGF.SizeTy,
2226 llvm::ConstantInt::get(guardTy, 0),
2308 ? Builder.CreateAnd(LI, llvm::ConstantInt::get(CGM.Int8Ty, 1))
2349 Builder.CreateStore(llvm::ConstantInt::get(guardTy, 1), guardAddr);
2581 llvm::ConstantInt::get(CGM.Int8Ty, 0), "__tls_guard");
3397 llvm::ConstantInt::get(CGM.Int64Ty, ((uint64_t)1) << 63);
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 332 Map[0] = llvm::ConstantInt::get(CGM.IntTy, 0);
341 Map[SrcVBIndex] = llvm::ConstantInt::get(CGM.IntTy, DstVBIndex * 4);
557 return llvm::ConstantInt::get(CGM.IntTy, 0);
585 llvm::Value *VBPOffset = llvm::ConstantInt::get(CGM.IntTy, VBPtrOffset),
586 *VBTOffset = llvm::ConstantInt::get(CGM.IntTy, VBTableOffset);
902 return std::make_tuple(Value, llvm::ConstantInt::get(CGF.Int32Ty, 0),
995 llvm::ConstantInt::get(CGF.Int32Ty, DestTy->isReferenceType())};
1027 llvm::Value *VBPtrOffset = llvm::ConstantInt::get(CGM.PtrDiffTy, VBPtrChars);
1033 llvm::ConstantInt::get(CGM.IntTy, VBTableChars.getQuantity());
1190 VBaseOffset, llvm::ConstantInt::get(CGM.PtrDiffTy, ConstantVBaseOffset),
1559 MostDerivedArg = llvm::ConstantInt::get(CGM.Int32Ty, Type == Ctor_Complete);
1822 llvm::Value *GEPIndices[] = {llvm::ConstantInt::get(CGM.Int32Ty, 0),
1823 llvm::ConstantInt::get(CGM.Int32Ty, 0),
1824 llvm::ConstantInt::get(CGM.Int32Ty, 1)};
1921 llvm::Value *ImplicitParam = llvm::ConstantInt::get(
2094 Offsets[0] = llvm::ConstantInt::get(CGM.IntTy, -VBPtrOffset.getQuantity());
2111 Offsets[VBIndex] = llvm::ConstantInt::get(CGM.IntTy, Offset.getQuantity());
2411 llvm::ConstantInt::get(CGF.IntTy, ~(1ULL << GuardNum));
2450 llvm::ConstantInt *Zero = llvm::ConstantInt::get(GuardTy, 0);
2524 llvm::ConstantInt *Bit = llvm::ConstantInt::get(GuardTy, 1ULL << GuardNum);
2685 fields.push_back(llvm::ConstantInt::get(
2692 fields.push_back(llvm::ConstantInt::get(CGM.IntTy, Offs.getQuantity()));
2697 fields.push_back(llvm::ConstantInt::get(CGM.IntTy, VBTableIndex));
2710 llvm::ConstantInt::get(CGM.IntTy, offset.getQuantity());
3014 VBPtrOffset = llvm::ConstantInt::get(CGM.IntTy, offs.getQuantity());
3192 llvm::ConstantInt::get(CGM.IntTy, SrcOffsetToFirstVBase),
3205 llvm::Constant *BaseClassOffset = llvm::ConstantInt::get(
3226 VirtualBaseAdjustmentOffset, llvm::ConstantInt::get(CGM.IntTy, 4));
3246 llvm::Value *DstVBPtrOffset = llvm::ConstantInt::get(
3261 llvm::ConstantInt::get(CGM.IntTy, DstOffsetToFirstVBase),
3590 llvm::Value *GEPIndices[] = {llvm::ConstantInt::get(CGM.IntTy, 0),
3591 llvm::ConstantInt::get(CGM.IntTy, 0)};
3605 llvm::ConstantInt::get(CGM.IntTy, 0), // reserved by the runtime
3606 llvm::ConstantInt::get(CGM.IntTy, Flags),
3607 llvm::ConstantInt::get(CGM.IntTy, Classes.size()),
3685 llvm::ConstantInt::get(CGM.IntTy, Class.NumBases),
3686 llvm::ConstantInt::get(CGM.IntTy, Class.OffsetInVBase),
3687 llvm::ConstantInt::get(CGM.IntTy, VBPtrOffset),
3688 llvm::ConstantInt::get(CGM.IntTy, OffsetInVBTable),
3689 llvm::ConstantInt::get(CGM.IntTy, Class.Flags),
3727 llvm::ConstantInt::get(CGM.IntTy, ABI.isImageRelative()),
3728 llvm::ConstantInt::get(CGM.IntTy, OffsetToTop),
3729 llvm::ConstantInt::get(CGM.IntTy, VFPtrOffset),
4066 llvm::ConstantInt::get(CGM.IntTy, Flags), // Flags
4068 llvm::ConstantInt::get(CGM.IntTy, NVOffset), // NonVirtualAdjustment
4069 llvm::ConstantInt::get(CGM.IntTy, VBPtrOffset), // OffsetToVBPtr
4070 llvm::ConstantInt::get(CGM.IntTy, VBIndex), // VBTableIndex
4071 llvm::ConstantInt::get(CGM.IntTy, Size), // Size
4183 llvm::ConstantInt::get(CGM.IntTy, NumEntries), // NumEntries
4257 llvm::ConstantInt::get(CGM.IntTy, Flags), // Flags
tools/clang/lib/CodeGen/SanitizerMetadata.cpp 52 llvm::ConstantInt::get(llvm::Type::getInt1Ty(VMContext), IsDynInit)),
53 llvm::ConstantAsMetadata::get(llvm::ConstantInt::get(
97 llvm::ConstantAsMetadata::get(llvm::ConstantInt::get(
99 llvm::ConstantAsMetadata::get(llvm::ConstantInt::get(
tools/clang/lib/CodeGen/TargetInfo.cpp 264 llvm::ConstantInt::get(CGF.IntPtrTy, Align.getQuantity() - 1));
266 llvm::ConstantInt::get(CGF.IntPtrTy, -Align.getQuantity()));
1145 return llvm::ConstantInt::get(CGM.Int32Ty, Sig);
2001 llvm::Value *Four8 = llvm::ConstantInt::get(CGF.Int8Ty, 4);
2012 llvm::Value *Sixteen8 = llvm::ConstantInt::get(CGF.Int8Ty, 16);
2025 llvm::Value *Twelve8 = llvm::ConstantInt::get(CGF.Int8Ty, 12);
2304 llvm::Value *Eight8 = llvm::ConstantInt::get(CGF.Int8Ty, 8);
2349 return llvm::ConstantInt::get(CGM.Int32Ty, Sig);
2441 llvm::Value *Eight8 = llvm::ConstantInt::get(CGF.Int8Ty, 8);
3710 llvm::ConstantInt::get(CGF.Int32Ty, (SizeInBytes + 7) & ~7);
3756 InRegs = llvm::ConstantInt::get(CGF.Int32Ty, 48 - neededInt * 8);
3764 llvm::ConstantInt::get(CGF.Int32Ty, 176 - neededSSE * 16);
3881 llvm::Value *Offset = llvm::ConstantInt::get(CGF.Int32Ty, neededInt * 8);
3886 llvm::Value *Offset = llvm::ConstantInt::get(CGF.Int32Ty, neededSSE * 16);
4343 llvm::Value *Four8 = llvm::ConstantInt::get(i8, 4);
4344 llvm::Value *Eight8 = llvm::ConstantInt::get(i8, 8);
4345 llvm::Value *Sixteen8 = llvm::ConstantInt::get(i8, 16);
4916 llvm::Value *Four8 = llvm::ConstantInt::get(i8, 4);
4917 llvm::Value *Eight8 = llvm::ConstantInt::get(i8, 8);
4918 llvm::Value *Sixteen8 = llvm::ConstantInt::get(i8, 16);
5365 reg_offs, llvm::ConstantInt::get(CGF.Int32Ty, 0));
5380 reg_offs, llvm::ConstantInt::get(CGF.Int32Ty, Align - 1),
5383 reg_offs, llvm::ConstantInt::get(CGF.Int32Ty, -Align),
5393 reg_offs, llvm::ConstantInt::get(CGF.Int32Ty, RegSize), "new_reg_offs");
5400 NewOffset, llvm::ConstantInt::get(CGF.Int32Ty, 0), "inreg");
5494 OnStackPtr, llvm::ConstantInt::get(CGF.Int64Ty, Align - 1),
5497 OnStackPtr, llvm::ConstantInt::get(CGF.Int64Ty, -Align),
5695 llvm::Value *Four8 = llvm::ConstantInt::get(CGF.Int8Ty, 4);
6525 llvm::ConstantInt::get(llvm::Type::getInt32Ty(Ctx), Operand))};
7316 llvm::Value *Four8 = llvm::ConstantInt::get(CGF.Int8Ty, 4);
8436 llvm::Value *Four8 = llvm::ConstantInt::get(i8, 4);
8437 llvm::Value *Eight8 = llvm::ConstantInt::get(i8, 8);
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp 198 auto *Zero = ConstantInt::get(getSizeTTy(), 0u);
211 auto *Size = ConstantInt::get(getSizeTTy(), Buf.size());
239 ConstantInt::get(Type::getInt32Ty(C), ImagesInits.size()), ImagesB,
tools/lldb/source/Plugins/ExpressionParser/Clang/IRDynamicChecks.cpp 251 ConstantInt::get(GetIntptrTy(), start_address, false);
275 ConstantInt::get(GetIntptrTy(), start_address, false);
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp 357 ConstantInt::get(llvm::Type::getInt64Ty(m_module->getContext()),
482 ConstantInt::get(m_intptr_ty, CFStringCreateWithBytes_addr, false);
495 Constant *numBytes_arg = ConstantInt::get(
866 ConstantInt::get(m_intptr_ty, sel_registerName_addr, false);
1017 ConstantInt::get(m_intptr_ty, objc_getClass_addr, false);
1298 Constant *symbol_addr_int = ConstantInt::get(m_intptr_ty, symbol_addr, false);
1372 Constant *class_addr = ConstantInt::get(m_intptr_ty, (uint64_t)class_ptr);
1793 ConstantInt::get(offset_type, offset, true));
tools/llvm-stress/llvm-stress.cpp 485 ConstantInt::get(Type::getInt32Ty(BB->getContext()),
529 ConstantInt::get(Type::getInt32Ty(BB->getContext()),
tools/opt/Debugify.cpp 154 Ctx, ValueAsMetadata::getConstant(ConstantInt::get(IntTy, N))));
tools/polly/lib/Analysis/ScopBuilder.cpp 1666 ConstantInt::get(IntegerType::getInt64Ty(BasePtr->getContext()), V)));
tools/polly/lib/CodeGen/BlockGenerators.cpp 1069 Indices.push_back(ConstantInt::get(Builder.getInt32Ty(), i));
tools/polly/lib/CodeGen/IRBuilder.cpp 131 auto *FalseValue = ConstantInt::get(Type::getInt1Ty(Ctx), 0);
tools/polly/lib/CodeGen/IslNodeBuilder.cpp 1483 ConstantInt::get(Type::getInt64Ty(Ctx), Size),
1484 ConstantInt::get(Type::getInt64Ty(Ctx), ArraySizeInt), nullptr,
unittests/Analysis/AliasAnalysisTest.cpp 174 auto *Value = ConstantInt::get(IntType, 42);
182 Addr, ConstantInt::get(IntType, 0), ConstantInt::get(IntType, 1),
182 Addr, ConstantInt::get(IntType, 0), ConstantInt::get(IntType, 1),
186 new AtomicRMWInst(AtomicRMWInst::Xchg, Addr, ConstantInt::get(IntType, 1),
unittests/Analysis/BranchProbabilityInfoTest.cpp 75 Switch->addCase(ConstantInt::get(I32, I), PreExitBB);
unittests/Analysis/MemoryBuiltinsTest.cpp 36 CallInst::Create(AllocSizeFn, {ConstantInt::get(ArgTy, 100)}));
unittests/Analysis/TBAATest.cpp 40 auto *SI = new StoreInst(ConstantInt::get(IntType, 42),
unittests/Analysis/ValueLatticeTest.cpp 33 auto *C1 = ConstantInt::get(I32Ty, 1);
48 auto *C1 = ConstantInt::get(I32Ty, 1);
57 EXPECT_TRUE(LV1.mergeIn(ValueLatticeElement::get(ConstantInt::get(I32Ty, 99)),
93 auto *C1 = ConstantInt::get(I32Ty, 1);
unittests/FuzzMutate/OperationsTest.cpp 83 Constant *i8 = ConstantInt::get(Type::getInt8Ty(Ctx), 3);
84 Constant *i16 = ConstantInt::get(Type::getInt16Ty(Ctx), 1 << 15);
85 Constant *i32 = ConstantInt::get(Type::getInt32Ty(Ctx), 0);
86 Constant *i64 = ConstantInt::get(Type::getInt64Ty(Ctx),
unittests/IR/AsmWriterTest.cpp 30 "", MDNode::get(Ctx, {ConstantAsMetadata::get(ConstantInt::get(Ty, 1))}));
unittests/IR/CFGBuilder.cpp 47 IRB.CreateSwitch(ConstantInt::get(IntTy, 0), To);
54 auto *IntVal = ConstantInt::get(IntTy, Last);
unittests/IR/ConstantsTest.cpp 26 Constant* One = ConstantInt::get(Int1, 1, true);
27 Constant* Zero = ConstantInt::get(Int1, 0);
28 Constant* NegOne = ConstantInt::get(Int1, static_cast<uint64_t>(-1), true);
108 EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, false)->getSExtValue());
109 EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, true)->getSExtValue());
111 EXPECT_EQ(-50, ConstantInt::get(Int8Ty, 206)->getSExtValue());
116 EXPECT_EQ(0x3b, ConstantInt::get(Int8Ty, 0x13b)->getSExtValue());
159 ConstantInt *K = ConstantInt::get(Type::getInt64Ty(C), 1234);
490 ConstantInt *TheConstant(ConstantInt::get(ConstantIntType, AndValue));
579 ConstantInt *TheConstant(ConstantInt::get(IntType, 2));
unittests/IR/InstructionsTest.cpp 49 Constant* One = ConstantInt::get(Int1, 1, true);
84 Value *Args[] = {ConstantInt::get(Type::getInt8Ty(Ctx), 20),
85 ConstantInt::get(Type::getInt32Ty(Ctx), 9999),
86 ConstantInt::get(Type::getInt64Ty(Ctx), 42)};
102 Value *Args[] = {ConstantInt::get(Type::getInt8Ty(Ctx), 20),
103 ConstantInt::get(Type::getInt32Ty(Ctx), 9999),
104 ConstantInt::get(Type::getInt64Ty(Ctx), 42)};
139 Constant* One = ConstantInt::get(Int1, 1, true);
709 SI->addCase(ConstantInt::get(Int32Ty, 1), BB1.get());
710 SI->addCase(ConstantInt::get(Int32Ty, 2), BB2.get());
711 SI->addCase(ConstantInt::get(Int32Ty, 3), BB3.get());
772 SI->addCase(ConstantInt::get(Int32Ty, 1), BB1.get());
773 SI->addCase(ConstantInt::get(Int32Ty, 2), BB2.get());
unittests/IR/MetadataTest.cpp 109 return ConstantInt::get(Type::getInt32Ty(Context), Counter++);
211 Constant *C = ConstantInt::get(Type::getInt32Ty(Context), 1);
262 Constant *C = ConstantInt::get(Type::getInt32Ty(Context), 7);
321 Constant *C = ConstantInt::get(Type::getInt32Ty(Context), 7);
2621 ConstantAsMetadata::get(ConstantInt::get(Type::getInt32Ty(Context), 1));
2623 ConstantAsMetadata::get(ConstantInt::get(Type::getInt32Ty(Context), 2));
unittests/IR/ValueHandleTest.cpp 27 : ConstantV(ConstantInt::get(Type::getInt32Ty(Context), 0)),
unittests/IR/ValueMapTest.cpp 30 : ConstantV(ConstantInt::get(Type::getInt32Ty(Context), 0)),
unittests/IR/VerifierTest.cpp 42 Constant *Zero32 = ConstantInt::get(IntegerType::get(C, 32), 0);
84 Constant *ConstZero = ConstantInt::get(Type::getInt32Ty(C), 0);
unittests/IR/WaymarkTest.cpp 26 return ConstantInt::get(Type::getInt8Ty(Context), c);
unittests/Linker/LinkModulesTest.cpp 53 ConstantInt *One = ConstantInt::get(Type::getInt32Ty(Ctx), 1);
82 GEPIndices.push_back(ConstantInt::get(Type::getInt32Ty(Ctx), 0));
unittests/Transforms/Utils/CloningTest.cpp 727 ConstantInt::get(Type::getInt32Ty(C), 1), "gv");
unittests/Transforms/Utils/ValueMapperTest.cpp 336 Constant &C = *ConstantInt::get(Int8, 42);