| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Dominators.cpp | 198 if (const auto *CBI = dyn_cast<CallBrInst>(Def)) { in dominates() local 199 BasicBlock *NormalDest = CBI->getDefaultDest(); in dominates() 315 if (const auto *CBI = dyn_cast<CallBrInst>(Def)) { in dominates() local 316 BasicBlock *NormalDest = CBI->getDefaultDest(); in dominates()
|
| H A D | Instructions.cpp | 969 CallBrInst::CallBrInst(const CallBrInst &CBI) in CallBrInst() argument 970 : CallBase(CBI.Attrs, CBI.FTy, CBI.getType(), Instruction::CallBr, in CallBrInst() 972 CBI.getNumOperands()) { in CallBrInst() 973 setCallingConv(CBI.getCallingConv()); in CallBrInst() 974 std::copy(CBI.op_begin(), CBI.op_end(), op_begin()); in CallBrInst() 975 std::copy(CBI.bundle_op_info_begin(), CBI.bundle_op_info_end(), in CallBrInst() 978 NumIndirectDests = CBI.NumIndirectDests; in CallBrInst() 983 std::vector<Value *> Args(CBI->arg_begin(), CBI->arg_end()); in Create() 986 CBI->getFunctionType(), CBI->getCalledOperand(), CBI->getDefaultDest(), in Create() 987 CBI->getIndirectDests(), Args, OpB, CBI->getName(), InsertPt); in Create() [all …]
|
| H A D | AsmWriter.cpp | 4197 } else if (const CallBrInst *CBI = dyn_cast<CallBrInst>(&I)) { in printInstruction() local 4198 Operand = CBI->getCalledOperand(); in printInstruction() 4199 FunctionType *FTy = CBI->getFunctionType(); in printInstruction() 4201 const AttributeList &PAL = CBI->getAttributes(); in printInstruction() 4204 if (CBI->getCallingConv() != CallingConv::C) { in printInstruction() 4206 PrintCallingConv(CBI->getCallingConv(), Out); in printInstruction() 4221 for (unsigned op = 0, Eop = CBI->arg_size(); op < Eop; ++op) { in printInstruction() 4224 writeParamOperand(CBI->getArgOperand(op), PAL.getParamAttrs(op)); in printInstruction() 4231 writeOperandBundles(CBI); in printInstruction() 4234 writeOperand(CBI->getDefaultDest(), true); in printInstruction() [all …]
|
| H A D | Verifier.cpp | 529 void visitCallBrInst(CallBrInst &CBI); 2858 void Verifier::visitCallBrInst(CallBrInst &CBI) { in visitCallBrInst() argument 2859 Check(CBI.isInlineAsm(), "Callbr is currently only used for asm-goto!", &CBI); in visitCallBrInst() 2863 verifyInlineAsmCall(CBI); in visitCallBrInst() 2864 visitTerminator(CBI); in visitCallBrInst() 4644 const CallBase *CBI = dyn_cast<CallBase>(&I); in visitInstruction() local 4660 return CBI && CBI->isOperandBundleOfType( in visitInstruction() 4669 (CBI && &CBI->getCalledOperandUse() == &I.getOperandUse(i)) || in visitInstruction() 4670 IsAttachedCallOperand(F, CBI, i)), in visitInstruction() 4685 IsAttachedCallOperand(F, CBI, i), in visitInstruction() [all …]
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | IdenticalCodeFolding.cpp | 557 for (auto &CBI : CongruentBuckets) { in runOnFunctions() 558 std::set<BinaryFunction *> &Candidates = CBI.second; in runOnFunctions()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/ |
| H A D | IROutliner.h | 418 bool visitCallBrInst(CallBrInst &CBI) { return false; } in visitCallBrInst()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 2731 Instruction *InstCombinerImpl::visitCallBrInst(CallBrInst &CBI) { in visitCallBrInst() argument 2732 return visitCallBase(CBI); in visitCallBrInst() 3431 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(Caller)) { in transformConstExprCastCall() local 3432 NewCall = Builder.CreateCallBr(Callee, CBI->getDefaultDest(), in transformConstExprCastCall() 3433 CBI->getIndirectDests(), Args, OpBundles); in transformConstExprCastCall() 3459 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(Caller)) { in transformConstExprCastCall() local 3460 BasicBlock::iterator I = CBI->getDefaultDest()->getFirstInsertionPt(); in transformConstExprCastCall() 3610 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(&Call)) { in transformCallThroughTrampoline() local 3612 CallBrInst::Create(NewFTy, NewCallee, CBI->getDefaultDest(), in transformCallThroughTrampoline() 3613 CBI->getIndirectDests(), NewArgs, OpBundles); in transformCallThroughTrampoline() [all …]
|
| H A D | InstCombineInternal.h | 146 Instruction *visitCallBrInst(CallBrInst &CBI);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SCCPSolver.cpp | 311 void visitCallBrInst(CallBrInst &CBI) { in visitCallBrInst() argument 312 visitCallBase(CBI); in visitCallBrInst() 313 visitTerminator(CBI); in visitCallBrInst()
|
| H A D | Local.cpp | 1096 if (auto *CBI = dyn_cast<CallBrInst>(PredBB->getTerminator())) { in TryToSimplifyUncondBranchFromEmptyBlock() local 1097 if (Succ == CBI->getDefaultDest()) in TryToSimplifyUncondBranchFromEmptyBlock() 1099 for (unsigned i = 0, e = CBI->getNumIndirectDests(); i != e; ++i) in TryToSimplifyUncondBranchFromEmptyBlock() 1100 if (Succ == CBI->getIndirectDest(i)) in TryToSimplifyUncondBranchFromEmptyBlock()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 3006 const CallBrInst *CBI = cast<CallBrInst>(&I); in writeInstruction() local 3007 const Value *Callee = CBI->getCalledOperand(); in writeInstruction() 3008 FunctionType *FTy = CBI->getFunctionType(); in writeInstruction() 3010 if (CBI->hasOperandBundles()) in writeInstruction() 3011 writeOperandBundles(*CBI, InstID); in writeInstruction() 3015 Vals.push_back(VE.getAttributeListID(CBI->getAttributes())); in writeInstruction() 3017 Vals.push_back(CBI->getCallingConv() << bitc::CALL_CCONV | in writeInstruction() 3020 Vals.push_back(VE.getValueID(CBI->getDefaultDest())); in writeInstruction() 3021 Vals.push_back(CBI->getNumIndirectDests()); in writeInstruction() 3022 for (unsigned i = 0, e = CBI->getNumIndirectDests(); i != e; ++i) in writeInstruction() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | IRSimilarityIdentifier.h | 580 InstrType visitCallBrInst(CallBrInst &CBI) { return Illegal; } in visitCallBrInst()
|
| /llvm-project-15.0.7/llvm/lib/Target/AVR/ |
| H A D | AVRInstrFormats.td | 357 // t = type (1 for SBI, 0 for CBI)
|
| /llvm-project-15.0.7/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 196 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(V)) { in validateEndOfModule() local 197 AttributeList AS = CBI->getAttributes(); in validateEndOfModule() 202 CBI->setAttributes(AS); in validateEndOfModule() 6775 CallBrInst *CBI = in parseCallBr() local 6778 CBI->setCallingConv(CC); in parseCallBr() 6779 CBI->setAttributes(PAL); in parseCallBr() 6780 ForwardRefAttrGroups[CBI] = FwdRefAttrGrps; in parseCallBr() 6781 Inst = CBI; in parseCallBr()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 2638 else if (auto *CBI = dyn_cast<CallBrInst>(Storage)) in salvageDebugInfo() local 2639 DVI->moveBefore(CBI->getDefaultDest()->getFirstNonPHI()); in salvageDebugInfo()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 825 if (auto *CBI = dyn_cast<CallBrInst>((Pred)->getTerminator())) in isMergingEmptyBlockProfitable() local 826 for (unsigned i = 0, e = CBI->getNumSuccessors(); i != e; ++i) in isMergingEmptyBlockProfitable() 827 if (DestBB == CBI->getSuccessor(i)) in isMergingEmptyBlockProfitable()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZScheduleZ13.td | 1297 def : InstRW<[WLat2, VecXsPm, NormalGr], (instregex "VSB(I|IQ|CBI|CBIQ)?$")>;
|
| H A D | SystemZScheduleZ16.td | 1363 def : InstRW<[WLat2, VecXsPm, NormalGr], (instregex "VSB(I|IQ|CBI|CBIQ)?$")>;
|
| H A D | SystemZScheduleZ15.td | 1357 def : InstRW<[WLat2, VecXsPm, NormalGr], (instregex "VSB(I|IQ|CBI|CBIQ)?$")>;
|
| H A D | SystemZScheduleZ14.td | 1319 def : InstRW<[WLat2, VecXsPm, NormalGr], (instregex "VSB(I|IQ|CBI|CBIQ)?$")>;
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 4120 static CallBrInst *Create(CallBrInst *CBI,
|