Searched refs:CI (Results 301 - 325 of 397) sorted by relevance

<<111213141516

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp2275 CastInst *CI = dyn_cast<CastInst>(Val); variable
2276 if (!CI)
2278 Value *Base = CI->getOperand(0);
3119 Optional<ConstantInt *> CI = getAssumedConstantInt( local
3121 if (!CI.hasValue()) {
3123 } else if (CI.getValue()) {
3125 BI.getSuccessor(1 - CI.getValue()->getZExtValue());
3141 Optional<ConstantInt *> CI = local
3143 if (!CI.hasValue()) {
3145 } else if (CI
[all...]
H A DArgumentPromotion.cpp629 if (ConstantInt *CI = dyn_cast<ConstantInt>(*II))
630 Indices.push_back(CI->getSExtValue());
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp7398 auto CI = Components.rbegin(); local
7400 auto I = CI;
7950 auto *CI = llvm::find_if(It->second, [VD](const MapInfo &MI) { local
7959 if (CI != It->second.end()) {
7960 auto PrevCI = std::next(CI->Components.rbegin());
7965 PrevCI == CI->Components.rend() ||
7968 CI->ReturnDevicePointer = true;
8025 auto *CI = llvm::find_if(It->second, [VD](const MapInfo &MI) { local
8030 if (CI != It->second.end()) {
8031 CI
8109 auto CI = DeferredInfo.find(M.first); local
8391 auto CI = Components.rbegin(); local
8539 generateDefaultMapInfo(const CapturedStmt::Capture &CI, const FieldDecl &RI, llvm::Value *CV, MapBaseValuesArrayTy &CurBasePointers, MapValuesArrayTy &CurPointers, MapValuesArrayTy &CurSizes, MapFlagsArrayTy &CurMapTypes) const argument
[all...]
H A DCGObjCMac.cpp1442 llvm::GlobalVariable *BuildClassObject(const ObjCInterfaceDecl *CI,
2420 for (const auto &CI : blockDecl->captures()) {
2421 const VarDecl *variable = CI.getVariable();
2438 if (CI.isByRef()) {
2949 for (const auto &CI : blockDecl->captures()) {
2950 const VarDecl *variable = CI.getVariable();
2962 if (!CI.isByRef())
2968 if (CI.isByRef())
2972 UpdateRunSkipBlockVars(CI.isByRef(), getBlockCaptureLifetime(type, false),
6460 CGObjCNonFragileABIMac::BuildClassObject(const ObjCInterfaceDecl *CI, argument
6564 const auto *CI = ID->getClassInterface(); local
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp1165 for (CaseValsTy::const_iterator CI = CaseVals.begin();
1166 CI != CaseVals.end(); CI++) {
1167 Expr *CaseExpr = CI->second->getLHS();
1169 CI->first))
1196 auto CI = CaseVals.begin(); local
1221 while (CI != CaseVals.end() && CI->first < EI->first)
1222 CI++;
1224 if (CI !
[all...]
H A DJumpDiagnostics.cpp290 /// BuildScopeInformation - The statements from CI to CE are known to form a
544 for (const auto &CI : BDecl->captures()) {
545 VarDecl *variable = CI.getVariable();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1526 bool InstCombiner::shouldOptimizeCast(CastInst *CI) { argument
1527 Value *CastSrc = CI->getOperand(0);
1530 if (CI->getSrcTy() == CI->getDestTy() || isa<Constant>(CastSrc))
1536 if (isEliminableCastPair(PrecedingCI, CI))
1715 auto *CI = dyn_cast<ConstantInt>(Elt); local
1716 if (!CI || CI->getZExtValue() >= BitWidth)
2809 ConstantInt *CI;
2811 match(Op0, m_Or(m_Value(A), m_ConstantInt(CI)))) {
[all...]
H A DInstCombineSelect.cpp436 APInt CI = getSelectFoldableConstant(TVI); local
442 if (!isa<Constant>(OOp) || (OOpIsAPInt && isSelect01(CI, *OOpC))) {
443 Value *C = ConstantInt::get(OOp->getType(), CI);
467 APInt CI = getSelectFoldableConstant(FVI); local
473 if (!isa<Constant>(OOp) || (OOpIsAPInt && isSelect01(CI, *OOpC))) {
474 Value *C = ConstantInt::get(OOp->getType(), CI);
2546 ICmpInst *CI = dyn_cast<ICmpInst>(U);
2547 if (CI && CI->isEquality())
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h2335 CallInst *CI = CallInst::Create(FTy, Callee, Args, DefaultOperandBundles); local
2337 setConstrainedFPCallAttr(CI);
2338 if (isa<FPMathOperator>(CI))
2339 setFPAttrs(CI, FPMathTag, FMF);
2340 return Insert(CI, Name);
2346 CallInst *CI = CallInst::Create(FTy, Callee, Args, OpBundles); local
2348 setConstrainedFPCallAttr(CI);
2349 if (isa<FPMathOperator>(CI))
2350 setFPAttrs(CI, FPMathTag, FMF);
2351 return Insert(CI, Nam
[all...]
H A DDebugInfoMetadata.h878 if (auto *CI = dyn_cast_or_null<ConstantInt>(CM->getValue()))
879 return static_cast<uint32_t>(CI->getZExtValue());
1598 /// \p CI: copy index
1602 static Optional<unsigned> encodeDiscriminator(unsigned BD, unsigned DF, unsigned CI);
1606 unsigned &CI);
2049 unsigned BD, DF, CI;
2050 decodeDiscriminator(getDiscriminator(), BD, DF, CI);
2053 if (Optional<unsigned> Encoded = encodeDiscriminator(D, DF, CI))
2064 unsigned CI = getCopyIdentifier();
2065 if (Optional<unsigned> D = encodeDiscriminator(BD, DF, CI))
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp210 if (auto CI = V->getAs<nonloc::ConcreteInt>())
211 return &CI->getValue();
1077 if (auto CI = V.getAs<nonloc::ConcreteInt>()) {
1078 Out << "Returning the value " << CI->getValue();
1299 } else if (auto CI = V.getAs<nonloc::ConcreteInt>()) {
1300 os << "the value " << CI->getValue();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3016 mergeAvailabilityAttr(NamedDecl *D, const AttributeCommonInfo &CI,
3023 mergeTypeVisibilityAttr(Decl *D, const AttributeCommonInfo &CI,
3025 VisibilityAttr *mergeVisibilityAttr(Decl *D, const AttributeCommonInfo &CI,
3027 UuidAttr *mergeUuidAttr(Decl *D, const AttributeCommonInfo &CI,
3029 DLLImportAttr *mergeDLLImportAttr(Decl *D, const AttributeCommonInfo &CI);
3030 DLLExportAttr *mergeDLLExportAttr(Decl *D, const AttributeCommonInfo &CI);
3032 const AttributeCommonInfo &CI,
3035 FormatAttr *mergeFormatAttr(Decl *D, const AttributeCommonInfo &CI,
3038 SectionAttr *mergeSectionAttr(Decl *D, const AttributeCommonInfo &CI,
3040 CodeSegAttr *mergeCodeSegAttr(Decl *D, const AttributeCommonInfo &CI,
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp1635 ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(1));
1636 uint64_t Count = CI->getValue().getZExtValue();
1644 ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(1)); variable
1645 uint64_t Count = CI->getValue().getZExtValue();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp630 if (CallInst *CI = dyn_cast<CallInst>(&I)) {
631 if (Function *Callee = CI->getCalledFunction()) {
636 Forks.push_back(CI);
642 Execs.push_back(CI);
H A DThreadSanitizer.cpp499 if (CallInst *CI = dyn_cast<CallInst>(&Inst))
500 maybeMarkSanitizerLibraryCallNoBuiltin(CI, &TLI);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp176 if (const CallInst *CI = dyn_cast<CallInst>(I)) {
177 if (const Function *F = CI->getCalledFunction()) {
590 if (const CallInst *CI = dyn_cast<CallInst>(&I))
591 if (const Function *Callee = CI->getCalledFunction())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DBitTracker.h417 RegisterCell eIMM(const ConstantInt *CI) const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyCallGraph.cpp1535 auto CI = SCCMap.find(&N);
1536 assert(CI != SCCMap.end() &&
1538 SCC &C = *CI->second;
1539 SCCMap.erase(CI);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp1026 MachineInstrBuilder CI;
1036 CI = BuildMI(MBB, MBBI, DL, TII.get(CallOp)).addReg(X86::R11);
1038 CI = BuildMI(MBB, MBBI, DL, TII.get(CallOp))
1044 CI.addReg(AX, RegState::Implicit)
3276 MachineBasicBlock::iterator CI = I;
3278 while (CI != B && !std::prev(CI)->isCall())
3279 --CI;
3280 BuildStackAdjustment(MBB, CI, DL, -InternalAmt, /*InEpilogue=*/false);
H A DX86WinEHState.cpp488 if (auto *CI = dyn_cast<CallInst>(&Call)) {
490 NewCI->setTailCallKind(CI->getTailCallKind());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp383 if (auto *CI = dyn_cast<ConstantInt>(AI->getArraySize()))
384 Ty = ArrayType::get(Ty, CI->getValue().getZExtValue());
764 if (auto *CI = dyn_cast<ConstantInt>(AI->getArraySize())) {
765 auto Count = CI->getValue().getZExtValue();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallVector.h480 iterator erase(const_iterator CI) { argument
482 iterator I = const_cast<iterator>(CI);
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp116 else if (CodeInit *CI = dyn_cast<CodeInit>(I))
117 return std::string(CI->getValue());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSubtarget.cpp446 if (auto *CI = dyn_cast<CallInst>(I)) {
447 const Function *F = CI->getCalledFunction();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3018 const CallInst &CI = cast<CallInst>(I);
3019 FunctionType *FTy = CI.getFunctionType();
3021 if (CI.hasOperandBundles())
3022 writeOperandBundles(CI, InstID);
3026 Vals.push_back(VE.getAttributeListID(CI.getAttributes()));
3029 Vals.push_back(CI.getCallingConv() << bitc::CALL_CCONV |
3030 unsigned(CI.isTailCall()) << bitc::CALL_TAIL |
3031 unsigned(CI.isMustTailCall()) << bitc::CALL_MUSTTAIL |
3033 unsigned(CI.isNoTailCall()) << bitc::CALL_NOTAIL |
3039 pushValueAndType(CI
[all...]

Completed in 658 milliseconds

<<111213141516