Searched refs:CI (Results 251 - 275 of 397) sorted by relevance

<<111213141516

/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp101 if (auto *CI = dyn_cast<ConstantInt>(&C)) {
102 if (CI->getBitWidth() > 64)
103 MIB.addCImm(CI);
105 MIB.addImm(CI->getZExtValue());
263 ConstantInt *CI = ConstantInt::get(IntN, Val, true); local
264 return buildConstant(Res, *CI);
295 ConstantInt *CI = ConstantInt::get(getMF().getFunction().getContext(), Val); local
296 return buildConstant(Res, *CI);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp279 if (const auto *CI = dyn_cast<ConstantInt>(Op)) {
281 TmpOffset += CI->getSExtValue() * S;
294 auto *CI = cast<ConstantInt>(cast<AddOperator>(Op)->getOperand(1)); local
295 TmpOffset += CI->getSExtValue() * S;
339 if (const auto *CI = dyn_cast<ConstantInt>(RHS)) {
340 uint64_t TmpOffset = Addr.getOffset() + CI->getSExtValue();
359 if (const auto *CI = dyn_cast<ConstantInt>(RHS)) {
360 int64_t TmpOffset = Addr.getOffset() - CI->getSExtValue();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp72 static bool operandReferences(CallInst *CI, AllocaInst *Frame, AAResults &AA) { argument
73 for (Value *Op : CI->operand_values())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp430 ConstantInt *CI = dyn_cast<ConstantInt>(V); local
431 if (CI || !isa<Constant>(V) || !V->getType()->isPointerTy())
432 return CI;
445 if (ConstantInt *CI = dyn_cast<ConstantInt>(CE->getOperand(0))) {
447 if (CI->getType() == PtrTy)
448 return CI;
451 ConstantExpr::getIntegerCast(CI, PtrTy, /*isSigned=*/false));
992 ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(i)); local
993 Weights.push_back(CI->getValue().getZExtValue());
2245 const CallInst *CI
2770 CmpInst *CI = cast<CmpInst>(NewCond); local
5431 SwitchInst::CaseIt CI = SI->case_begin(); local
[all...]
H A DFunctionComparator.cpp583 if (const CmpInst *CI = dyn_cast<CmpInst>(L))
584 return cmpNumbers(CI->getPredicate(), cast<CmpInst>(R)->getPredicate());
593 if (const CallInst *CI = dyn_cast<CallInst>(L))
594 if (int Res = cmpNumbers(CI->getTailCallKind(),
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp993 if (CmpInst *CI = cast<CmpInst>(In))
994 return CI->isEquality() || CI->isUnsigned();
1048 if (ConstantInt *CI = dyn_cast<ConstantInt>(In->getOperand(i)))
1049 if (CI->getType()->getBitWidth() < DestBW)
1050 In->setOperand(i, ConstantInt::get(DestTy, CI->getZExtValue()));
1566 if (const auto *CI = dyn_cast<const ConstantInt>(V))
1567 return (CI->getType()->getSignBit() & CI->getSExtValue()) == 0;
2163 if (ConstantInt *CI
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp2913 CoefficientInfo *CI = new CoefficientInfo[MaxLevels + 1]; local
2915 CI[K].Coeff = Zero;
2916 CI[K].PosPart = Zero;
2917 CI[K].NegPart = Zero;
2918 CI[K].Iterations = nullptr;
2923 CI[K].Coeff = AddRec->getStepRecurrence(*SE);
2924 CI[K].PosPart = getPositivePart(CI[K].Coeff);
2925 CI[K].NegPart = getNegativePart(CI[
[all...]
H A DValueTracking.cpp338 if (auto *CI = dyn_cast<ConstantInt>(V))
339 return CI->getValue().isStrictlyPositive();
597 if (const CallInst *CI = dyn_cast<CallInst>(I))
598 if (Function *F = CI->getCalledFunction())
691 ConstantInt *CI;
692 if (!match(RHS, m_ConstantInt(CI)))
694 ConstantRange RHSRange(CI->getValue());
697 return !TrueValues.contains(APInt::getNullValue(CI->getBitWidth()));
3020 ConstantInt *CI = dyn_cast<ConstantInt>(V); local
3038 if (CI
3359 const auto *CI = cast<CallInst>(I); local
4374 auto *CI = cast<const CallInst>(Inst); local
[all...]
H A DGlobalsModRef.cpp544 for (CallGraphNode::iterator CI = SCC[i]->begin(), E = SCC[i]->end();
545 CI != E && !KnowNothing; ++CI)
546 if (Function *Callee = CI->second->getFunction()) {
H A DLoopInfo.cpp158 if (ConstantInt *CI =
160 if (CI->isZero())
164 if (ConstantInt *CI = dyn_cast<ConstantInt>(Inc->getOperand(1)))
165 if (CI->isOne())
H A DScalarEvolution.cpp501 if (ConstantInt *CI = dyn_cast<ConstantInt>(CE->getOperand(1)))
502 if (CI->isOne()) {
523 if (ConstantInt *CI = dyn_cast<ConstantInt>(CE->getOperand(2)))
524 if (CI->isOne() &&
4356 // CI are guarded by the overflow check, we can go ahead and pretend
5133 if (auto *CI = dyn_cast<ConstantInt>(Cond))
5134 return getSCEV(CI->isOne() ? TrueVal : FalseVal);
5974 } else if (ConstantInt *CI = dyn_cast<ConstantInt>(V))
5975 return getConstant(CI);
6078 if (ConstantInt *CI
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp834 llvm::CallInst *CI = nullptr; local
839 CI = Builder.CreateCall(CalleeTy, Callee);
841 CI = Builder.CreateCall(CalleeTy, Callee, Arg);
845 CI->setCallingConv(F->getCallingConv());
H A DCGExprConstant.cpp254 auto *CI = dyn_cast<llvm::ConstantInt>(ToUpdate); local
255 if (!CI)
259 assert(CI->getBitWidth() == CharWidth && "splitAt failed");
260 assert((!(CI->getValue() & UpdateMask) || AllowOverwrite) &&
262 BitsThisChar |= (CI->getValue() & ~UpdateMask);
599 const FieldDecl *Field, uint64_t FieldOffset, llvm::ConstantInt *CI,
604 llvm::APInt FieldValue = CI->getValue();
743 if (auto *CI = dyn_cast<llvm::ConstantInt>(EltInit)) {
744 if (!AppendBitField(Field, Layout.getFieldOffset(FieldNo), CI,
598 AppendBitField( const FieldDecl *Field, uint64_t FieldOffset, llvm::ConstantInt *CI, bool AllowOverwrite) argument
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h257 ConstantRange subtract(const APInt &CI) const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DTailDuplicator.cpp1022 for (auto &CI : CopyInfos) {
1023 auto C = BuildMI(*MBB, Loc, DebugLoc(), CopyD, CI.first)
1024 .addReg(CI.second.Reg, 0, CI.second.SubReg);
H A DAnalysis.cpp183 InlineAsm::ConstraintInfo &CI = CInfos[i]; local
184 for (unsigned j = 0, ee = CI.Codes.size(); j != ee; ++j) {
185 TargetLowering::ConstraintType CType = TLI.getConstraintType(CI.Codes[j]);
191 if (CI.isIndirect)
H A DPrologEpilogInserter.cpp575 for (const CalleeSavedInfo &CI : reverse(CSI)) {
576 unsigned Reg = CI.getReg();
577 if (CI.isSpilledToReg()) {
579 .addReg(CI.getDstReg(), getKillRegState(true));
582 TII.loadRegFromStackSlot(RestoreBlock, I, Reg, CI.getFrameIdx(), RC, TRI);
/freebsd-13-stable/contrib/ntp/sntp/ag-tpl/0-old/
H A Dmdoc2man175 .ds I-Font [CI]
/freebsd-13-stable/contrib/ntp/sntp/ag-tpl/
H A Dmdoc2man201 .ds I-Font [CI]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp143 CallInst *CI = dyn_cast<CallInst>(&I); local
144 if (!CI)
146 if (CI->isMustTailCall())
148 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(CI)) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp217 auto CI = BD->capture_begin(); local
230 if (CI != CE) {
231 assert(CI->getVariable() == capturedR->getDecl());
232 copyExpr = CI->getCopyExpr();
233 CI++;
H A DPlistDiagnostics.cpp778 for (PDFileEntry::ConsumerFiles::const_iterator CI = files->begin(),
779 CE = files->end(); CI != CE; ++CI) {
780 StringRef newName = CI->first;
789 o << " <string>" << CI->second << "</string>\n";
H A DMemRegion.cpp682 if (auto CI = ER->getIndex().getAs<nonloc::ConcreteInt>()) {
684 CI->getValue().toString(Idx);
1356 if (auto CI = index.getAs<nonloc::ConcreteInt>()) {
1358 int64_t i = CI->getValue().getSExtValue();
1524 if (Optional<nonloc::ConcreteInt> CI =
1531 int64_t i = CI->getValue().getSExtValue();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopRerollPass.cpp783 ConstantInt *CI = nullptr; local
794 CI = dyn_cast<ConstantInt>(BO->getOperand(1));
797 CI = dyn_cast<ConstantInt>(LastOperand);
800 if (!CI) {
811 int64_t V = std::abs(CI->getValue().getSExtValue());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp898 for (unsigned CI = 0, CE = Size; CI < CE; CI += 64) {
899 unsigned Len = std::min<unsigned>(CE - CI, 64);
900 ArrayRef<Instruction *> Chunk(&Chain.second[CI], Len);

Completed in 202 milliseconds

<<111213141516