Searched refs:CI (Results 151 - 175 of 397) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp525 if (CastInst *CI = dyn_cast<CastInst>(I)) {
526 Value *Def = CI->stripPointerCasts();
530 cast<PointerType>(CI->getType())->getAddressSpace() &&
1548 if (auto *CI = dyn_cast<CallInst>(Call)) {
1553 SPCall->setTailCallKind(CI->getTailCallKind());
1554 SPCall->setCallingConv(CI->getCallingConv());
1561 legalizeCallAttributes(CI->getContext(), CI->getAttributes()));
1567 assert(CI->getNextNode() && "Not a terminator, must have next!");
1568 Builder.SetInsertPoint(CI
[all...]
H A DCorrelatedValuePropagation.cpp132 ConstantInt *CI = dyn_cast<ConstantInt>(C);
133 if (!CI) return false;
135 Value *ReplaceWith = CI->isOne() ? S->getTrueValue() : S->getFalseValue();
358 for (auto CI = SI->case_begin(), CE = SI->case_end(); CI != CE;) {
359 ConstantInt *Case = CI->getCaseValue();
392 BasicBlock *Succ = CI->getCaseSuccessor();
394 CI = SI.removeCase(CI);
418 ++CI;
[all...]
H A DNewGVN.cpp1141 if (auto *CI = dyn_cast<CmpInst>(I)) {
1144 CmpInst::Predicate Predicate = CI->getPredicate();
1149 E->setOpcode((CI->getOpcode() << 8) | Predicate);
1174 } else if (auto *CI = dyn_cast<CastInst>(I)) {
1176 SimplifyCastInst(CI->getOpcode(), E->getOperand(0), CI->getType(), SQ);
1254 NewGVN::createCallExpression(CallInst *CI, const MemoryAccess *MA) const {
1257 new (ExpressionAllocator) CallExpression(CI->getNumOperands(), CI, MA);
1258 setBasicExpressionInfo(CI,
[all...]
H A DCallSiteSplitting.cpp233 /// Copy mandatory `musttail` return sequence that follows original `CI`, and
241 static void copyMustTailReturn(BasicBlock *SplitBB, Instruction *CI, argument
244 auto II = std::next(CI->getIterator());
341 for (auto &CI : CB.args()) {
342 if (&*CI == &PN) {
525 // Successful musttail call-site splits result in erased CI and erased BB.
H A DSCCP.cpp626 ConstantInt *CI = getConstantInt(BCValue); local
627 if (!CI) {
636 Succs[CI->isZero()] = true;
652 ConstantInt *CI = getConstantInt(SCValue); local
654 if (!CI) { // Overdefined or unknown condition?
661 Succs[SI->findCaseValue(CI)->getSuccessorIndex()] = true;
1628 CallInst *CI = dyn_cast<CallInst>(V); local
1629 if (CI && CI->isMustTailCall() && !CI
[all...]
H A DLoopUnswitch.cpp593 ICmpInst *CI = dyn_cast<ICmpInst>(&LoopCond); local
594 if (!CI || !CI->isEquality())
597 Value *LHS = CI->getOperand(0);
598 Value *RHS = CI->getOperand(1);
1629 ICmpInst *CI = dyn_cast<ICmpInst>(Inst); local
1630 if (CI && CI->isEquality()) {
1631 Value *Op0 = CI->getOperand(0);
1632 Value *Op1 = CI
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DValue.cpp712 ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(0)); local
713 DerefBytes = CI->getLimitedValue();
718 ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(0)); local
719 DerefBytes = CI->getLimitedValue();
725 ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(0)); local
726 DerefBytes = CI->getLimitedValue();
731 ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(0)); local
732 DerefBytes = CI->getLimitedValue();
800 ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(0)); local
801 return Align(CI
[all...]
H A DConstants.cpp88 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
89 return CI->isZero();
103 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
104 return CI->isMinusOne();
129 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
130 return CI->isOne();
155 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
156 return !CI->isOneValue();
179 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
180 return CI
1358 auto *CI = dyn_cast<ConstantInt>(*OI); local
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp402 const AttributeCommonInfo &CI) {
403 D->addAttr(::new (S.Context) AttrType(S.Context, CI));
426 const AttributeCommonInfo &CI,
434 handleSimpleAttribute<AttrType>(S, D, CI);
1593 void Sema::AddAssumeAlignedAttr(Decl *D, const AttributeCommonInfo &CI, Expr *E, argument
1598 AssumeAlignedAttr TmpAttr(Context, CI, E, OE);
1628 Diag(CI.getLoc(), diag::warn_assume_aligned_too_great)
1629 << CI.getRange() << Sema::MaximumAlignment;
1644 D->addAttr(::new (Context) AssumeAlignedAttr(Context, CI, E, OE));
1647 void Sema::AddAllocAlignAttr(Decl *D, const AttributeCommonInfo &CI, argument
401 handleSimpleAttribute(Sema &S, Decl *D, const AttributeCommonInfo &CI) argument
425 handleSimpleAttributeOrDiagnose(Sema &S, Decl *D, const AttributeCommonInfo &CI, bool PassesCheck, unsigned DiagID, DiagnosticArgs &&... ExtraArgs) argument
2263 mergeAvailabilityAttr( NamedDecl *D, const AttributeCommonInfo &CI, IdentifierInfo *Platform, bool Implicit, VersionTuple Introduced, VersionTuple Deprecated, VersionTuple Obsoleted, bool IsUnavailable, StringRef Message, bool IsStrict, StringRef Replacement, AvailabilityMergeKind AMK, int Priority) argument
2545 mergeVisibilityAttr(Sema &S, Decl *D, const AttributeCommonInfo &CI, typename T::VisibilityType value) argument
2559 mergeVisibilityAttr(Decl *D, const AttributeCommonInfo &CI, VisibilityAttr::VisibilityType Vis) argument
2566 mergeTypeVisibilityAttr(Decl *D, const AttributeCommonInfo &CI, TypeVisibilityAttr::VisibilityType Vis) argument
2954 mergeSectionAttr(Decl *D, const AttributeCommonInfo &CI, StringRef Name) argument
3023 mergeCodeSegAttr(Decl *D, const AttributeCommonInfo &CI, StringRef Name) argument
3317 mergeFormatAttr(Decl *D, const AttributeCommonInfo &CI, IdentifierInfo *Format, int FormatIdx, int FirstArg) argument
3688 AddAlignValueAttr(Decl *D, const AttributeCommonInfo &CI, Expr *E) argument
3755 AddAlignedAttr(Decl *D, const AttributeCommonInfo &CI, Expr *E, bool IsPackExpansion) argument
3867 AddAlignedAttr(Decl *D, const AttributeCommonInfo &CI, TypeSourceInfo *TS, bool IsPackExpansion) argument
4028 AddModeAttr(Decl *D, const AttributeCommonInfo &CI, IdentifierInfo *Name, bool InInstantiation) argument
4175 mergeAlwaysInlineAttr(Decl *D, const AttributeCommonInfo &CI, const IdentifierInfo *Ident) argument
4251 mergeMinSizeAttr(Decl *D, const AttributeCommonInfo &CI) argument
4272 mergeOptimizeNoneAttr(Decl *D, const AttributeCommonInfo &CI) argument
4744 AddParameterABIAttr(Decl *D, const AttributeCommonInfo &CI, ParameterABI abi) argument
4866 AddLaunchBoundsAttr(Decl *D, const AttributeCommonInfo &CI, Expr *MaxThreads, Expr *MinBlocks) argument
5080 AddXConsumedAttr(Decl *D, const AttributeCommonInfo &CI, RetainOwnershipKind K, bool IsTemplateInstantiation) argument
5499 mergeUuidAttr(Decl *D, const AttributeCommonInfo &CI, StringRef UuidAsWritten, MSGuidDecl *GuidDecl) argument
6087 addAMDGPUFlatWorkGroupSizeAttr(Decl *D, const AttributeCommonInfo &CI, Expr *MinExpr, Expr *MaxExpr) argument
6141 addAMDGPUWavesPerEUAttr(Decl *D, const AttributeCommonInfo &CI, Expr *MinExpr, Expr *MaxExpr) argument
6225 mergeDLLImportAttr(Decl *D, const AttributeCommonInfo &CI) argument
6238 mergeDLLExportAttr(Decl *D, const AttributeCommonInfo &CI) argument
6284 mergeMSInheritanceAttr(Decl *D, const AttributeCommonInfo &CI, bool BestCase, MSInheritanceModel Model) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp757 CloneCallInstForBB(CallInst &CI, BasicBlock &BB, argument
760 for (unsigned I = 0, E = CI.getNumOperandBundles(); I != E; ++I) {
761 auto Bundle = CI.getOperandBundleAt(I);
776 return CallInst::Create(&CI, OpBundles);
948 CallInst *CI = cast<CallInst>(Inst); local
949 if (IsNullOrUndef(CI->getArgOperand(0))) {
951 Type *Ty = CI->getArgOperand(0)->getType();
953 Constant::getNullValue(Ty), CI); local
954 Value *NewValue = UndefValue::get(CI->getType());
958 << *CI << "\nNe
967 CallInst *CI = cast<CallInst>(Inst); local
973 Constant::getNullValue(Ty), CI); local
2087 CallInst *CI = CallInst::Create(Decl, EarlierCall, "", Call); local
2116 CallInst *CI = CallInst::Create(Decl, EarlierCall, "", Call); local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineCFGStructurizer.cpp528 for (auto CI : Children) {
529 delete &(*CI);
588 for (auto CI : Children) {
589 if (CI->isMBB()) {
590 if (MBB == CI->getMBBMRT()->getMBB()) {
594 if (CI->getRegionMRT()->contains(MBB)) {
596 } else if (CI->getRegionMRT()->getLinearizedRegion() != nullptr &&
597 CI->getRegionMRT()->getLinearizedRegion()->contains(MBB)) {
608 for (auto &CI : Children) {
609 if (CI
[all...]
H A DSILowerSGPRSpills.cpp135 for (const CalleeSavedInfo &CI : reverse(CSI)) {
136 unsigned Reg = CI.getReg();
140 TII.loadRegFromStackSlot(RestoreBlock, I, Reg, CI.getFrameIdx(), RC, TRI);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOMemOPSizeOpt.cpp159 MemOp(CallInst *CI) : I(CI) {} argument
255 void visitCallInst(CallInst &CI) { argument
257 if (TLI.getLibFunc(CI, Func) &&
259 !dyn_cast<ConstantInt>(CI.getArgOperand(2))) {
260 WorkList.push_back(MemOp(&CI));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp183 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Node->getOperand(2));
184 if (!CI)
186 return CI->getValue()[0];
247 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Node->getOperand(OpNo));
248 if (!CI)
250 return CI->getValue()[0];
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h139 PointerType *getMallocType(const CallInst *CI, const TargetLibraryInfo *TLI);
146 Type *getMallocAllocatedType(const CallInst *CI, const TargetLibraryInfo *TLI);
153 Value *getMallocArraySize(CallInst *CI, const DataLayout &DL,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopVersioning.cpp75 auto *CI = dyn_cast<ConstantInt>(SCEVRuntimeCheck); local
78 if (CI && CI->isZero())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h185 bool mayBeEmittedAsTailCall(const CallInst *CI) const override;
198 shouldExpandAtomicCmpXchgInIR(AtomicCmpXchgInst *CI) const override;
200 AtomicCmpXchgInst *CI,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPRecipeBuilder.h81 /// Handle call instructions. If \p CI can be widened for \p Range.Start,
84 VPWidenCallRecipe *tryToWidenCall(CallInst *CI, VFRange &Range,
H A DSLPVectorizer.cpp463 auto *CI = dyn_cast<ConstantInt>(E->getOperand(1)); local
464 if (!CI)
466 return CI->getZExtValue();
489 CallInst *CI = cast<CallInst>(UserInst); local
490 Intrinsic::ID ID = getVectorIntrinsicIDForCall(CI, TLI);
491 for (unsigned i = 0, e = CI->getNumArgOperands(); i != e; ++i) {
493 return (CI->getArgOperand(i) == Scalar);
3027 CallInst *CI = cast<CallInst>(VL0);
3028 Intrinsic::ID ID = getVectorIntrinsicIDForCall(CI, TLI);
3031 *CI, {static_cas
[all...]
/freebsd-13-stable/contrib/opencsd/decoder/include/opencsd/etmv4/
H A Dtrc_pkt_elem_etmv4i.h143 void setCondRF1(const uint32_t key[2], const uint8_t res[2], const uint8_t CI[2], const bool set2Keys);
376 inline void EtmV4ITrcPacket::setCondRF1(const uint32_t key[2], const uint8_t res[2], const uint8_t CI[2],const bool set2Keys) argument
381 cond_result.ci_0 = CI[0];
388 cond_result.ci_1 = CI[1];
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCISelLowering.h114 bool mayBeEmittedAsTailCall(const CallInst *CI) const override;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineLICM.cpp269 DenseMap<unsigned, std::vector<const MachineInstr *>>::iterator &CI);
1418 DenseMap<unsigned, std::vector<const MachineInstr *>>::iterator &CI) {
1421 if (CI == CSEMap.end() || MI->isImplicitDef())
1424 if (const MachineInstr *Dup = LookForDuplicate(MI, CI->second)) {
1478 CI = CSEMap.find(Opcode); local
1481 if (CI == CSEMap.end() || MI->isImplicitDef())
1484 return LookForDuplicate(MI, CI->second) != nullptr;
1533 CI = CSEMap.find(Opcode); local
1534 if (!EliminateCSE(MI, CI)) {
1555 if (CI !
1417 EliminateCSE(MachineInstr *MI, DenseMap<unsigned, std::vector<const MachineInstr *>>::iterator &CI) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp568 CallInst *CI = cast<CallInst>(OutlinedFn.user_back());
569 CI->getParent()->setName("omp_parallel");
570 Builder.SetInsertPoint(CI);
579 RealArgs.append(CI->arg_begin() + /* tid & bound tid */ 2, CI->arg_end());
596 CI->eraseFromParent();
610 CI->removeFromParent();
611 Builder.Insert(CI);
687 CallInst *CI = dyn_cast<CallInst>(&V);
688 if (CI
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp177 unsigned PPCMaterializeInt(const ConstantInt *CI, MVT VT,
361 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Op)) {
363 TmpOffset += CI->getSExtValue() * S;
368 ConstantInt *CI = local
370 TmpOffset += CI->getSExtValue() * S;
777 if (const CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition())) {
778 if (isValueAvailable(CI)) {
779 Optional<PPC::Predicate> OptPPCPred = getComparePred(CI->getPredicate());
793 if (!PPCEmitCmp(CI->getOperand(0), CI
2198 PPCMaterializeInt(const ConstantInt *CI, MVT VT, bool UseSExt) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp437 if (ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i))) {
439 if (CI->isZero()) continue;
443 Offset += DL.getStructLayout(STy)->getElementOffset(CI->getZExtValue());
446 Offset += Size*CI->getSExtValue();
465 ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i)); local
466 if (!CI) return nullptr;
469 if (CI->isZero()) continue;
473 Offset += DL.getStructLayout(STy)->getElementOffset(CI->getZExtValue());
476 Offset += Size*CI->getSExtValue();
554 auto *CI local
1449 ConstantInt *CI, *CI2; // I = icmp ugt (add (add A, B), CI2), CI local
3236 ConstantInt *CI = nullptr; local
4650 ConstantInt *CI; local
4745 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1)); local
5054 const APInt *CI; local
5224 auto *CI = dyn_cast<ConstantInt>(Elt); local
[all...]

Completed in 187 milliseconds

1234567891011>>