| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | DemoteRegToStack.cpp | 54 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(&I)) { in DemoteRegToStack() local 55 for (unsigned i = 0; i < CBI->getNumSuccessors(); i++) { in DemoteRegToStack() 56 auto *Succ = CBI->getSuccessor(i); in DemoteRegToStack() 58 assert(isCriticalEdge(CBI, i) && "Expected a critical edge!"); in DemoteRegToStack() 59 [[maybe_unused]] BasicBlock *BB = SplitCriticalEdge(CBI, i); in DemoteRegToStack() 117 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(&I)) { in DemoteRegToStack() local 118 for (BasicBlock *Succ : successors(CBI)) in DemoteRegToStack() 119 new StoreInst(CBI, Slot, Succ->getFirstInsertionPt()); in DemoteRegToStack()
|
| H A D | SCCPSolver.cpp | 717 void visitCallBrInst(CallBrInst &CBI) { in visitCallBrInst() argument 718 visitCallBase(CBI); in visitCallBrInst() 719 visitTerminator(CBI); in visitCallBrInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instructions.cpp | 958 CallBrInst::CallBrInst(const CallBrInst &CBI, AllocInfo AllocInfo) in CallBrInst() argument 959 : CallBase(CBI.Attrs, CBI.FTy, CBI.getType(), Instruction::CallBr, in CallBrInst() 961 assert(getNumOperands() == CBI.getNumOperands() && in CallBrInst() 963 setCallingConv(CBI.getCallingConv()); in CallBrInst() 964 std::copy(CBI.op_begin(), CBI.op_end(), op_begin()); in CallBrInst() 965 std::copy(CBI.bundle_op_info_begin(), CBI.bundle_op_info_end(), in CallBrInst() 967 SubclassOptionalData = CBI.SubclassOptionalData; in CallBrInst() 968 NumIndirectDests = CBI.NumIndirectDests; in CallBrInst() 971 CallBrInst *CallBrInst::Create(CallBrInst *CBI, ArrayRef<OperandBundleDef> OpB, in Create() argument 973 std::vector<Value *> Args(CBI->arg_begin(), CBI->arg_end()); in Create() [all …]
|
| H A D | AsmWriter.cpp | 4681 } else if (const CallBrInst *CBI = dyn_cast<CallBrInst>(&I)) { in printInstruction() local 4682 Operand = CBI->getCalledOperand(); in printInstruction() 4683 FunctionType *FTy = CBI->getFunctionType(); in printInstruction() 4685 const AttributeList &PAL = CBI->getAttributes(); in printInstruction() 4688 if (CBI->getCallingConv() != CallingConv::C) { in printInstruction() 4690 PrintCallingConv(CBI->getCallingConv(), Out); in printInstruction() 4705 for (unsigned op = 0, Eop = CBI->arg_size(); op < Eop; ++op) { in printInstruction() 4708 writeParamOperand(CBI->getArgOperand(op), PAL.getParamAttrs(op)); in printInstruction() 4715 writeOperandBundles(CBI); in printInstruction() 4718 writeOperand(CBI->getDefaultDest(), true); in printInstruction() [all …]
|
| H A D | Verifier.cpp | 593 void visitCallBrInst(CallBrInst &CBI); 3323 void Verifier::visitCallBrInst(CallBrInst &CBI) { in visitCallBrInst() argument 3324 Check(CBI.isInlineAsm(), "Callbr is currently only used for asm-goto!", &CBI); in visitCallBrInst() 3325 const InlineAsm *IA = cast<InlineAsm>(CBI.getCalledOperand()); in visitCallBrInst() 3328 verifyInlineAsmCall(CBI); in visitCallBrInst() 3329 visitTerminator(CBI); in visitCallBrInst() 5309 const CallBase *CBI = dyn_cast<CallBase>(&I); in visitInstruction() local 5323 auto IsAttachedCallOperand = [](Function *F, const CallBase *CBI, in visitInstruction() 5325 return CBI && CBI->isOperandBundleOfType( in visitInstruction() 5334 (CBI && &CBI->getCalledOperandUse() == &I.getOperandUse(i)) || in visitInstruction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | IROutliner.h | 418 bool visitCallBrInst(CallBrInst &CBI) { return false; } in visitCallBrInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 3355 const CallBrInst *CBI = cast<CallBrInst>(&I); in writeInstruction() local 3356 const Value *Callee = CBI->getCalledOperand(); in writeInstruction() 3357 FunctionType *FTy = CBI->getFunctionType(); in writeInstruction() 3359 if (CBI->hasOperandBundles()) in writeInstruction() 3360 writeOperandBundles(*CBI, InstID); in writeInstruction() 3364 Vals.push_back(VE.getAttributeListID(CBI->getAttributes())); in writeInstruction() 3366 Vals.push_back(CBI->getCallingConv() << bitc::CALL_CCONV | in writeInstruction() 3369 Vals.push_back(VE.getValueID(CBI->getDefaultDest())); in writeInstruction() 3370 Vals.push_back(CBI->getNumIndirectDests()); in writeInstruction() 3371 for (unsigned i = 0, e = CBI->getNumIndirectDests(); i != e; ++i) in writeInstruction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | IRSimilarityIdentifier.h | 585 InstrType visitCallBrInst(CallBrInst &CBI) { return Illegal; } in visitCallBrInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 3948 Instruction *InstCombinerImpl::visitCallBrInst(CallBrInst &CBI) { in visitCallBrInst() argument 3949 return visitCallBase(CBI); in visitCallBrInst() 4741 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(&Call)) { in transformCallThroughTrampoline() local 4743 CallBrInst::Create(NewFTy, NestF, CBI->getDefaultDest(), in transformCallThroughTrampoline() 4744 CBI->getIndirectDests(), NewArgs, OpBundles); in transformCallThroughTrampoline() 4745 cast<CallBrInst>(NewCaller)->setCallingConv(CBI->getCallingConv()); in transformCallThroughTrampoline()
|
| H A D | InstCombineInternal.h | 154 Instruction *visitCallBrInst(CallBrInst &CBI);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AVR/ |
| H A D | AVRInstrFormats.td | 344 // t = type (1 for SBI, 0 for CBI)
|
| /freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 253 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(V)) { in validateEndOfModule() local 254 AttributeList AS = CBI->getAttributes(); in validateEndOfModule() 259 CBI->setAttributes(AS); in validateEndOfModule() 7985 CallBrInst *CBI = in parseCallBr() local 7988 CBI->setCallingConv(CC); in parseCallBr() 7989 CBI->setAttributes(PAL); in parseCallBr() 7990 ForwardRefAttrGroups[CBI] = FwdRefAttrGrps; in parseCallBr() 7991 Inst = CBI; in parseCallBr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZScheduleZ13.td | 1295 def : InstRW<[WLat2, VecXsPm, NormalGr], (instregex "VSB(I|IQ|CBI|CBIQ)?$")>;
|
| H A D | SystemZScheduleZ17.td | 1383 def : InstRW<[WLat2, VecXsPm, NormalGr], (instregex "VSB(I|IQ|CBI|CBIQ)?$")>;
|
| H A D | SystemZScheduleZ15.td | 1356 def : InstRW<[WLat2, VecXsPm, NormalGr], (instregex "VSB(I|IQ|CBI|CBIQ)?$")>;
|
| H A D | SystemZScheduleZ14.td | 1317 def : InstRW<[WLat2, VecXsPm, NormalGr], (instregex "VSB(I|IQ|CBI|CBIQ)?$")>;
|
| H A D | SystemZScheduleZ16.td | 1362 def : InstRW<[WLat2, VecXsPm, NormalGr], (instregex "VSB(I|IQ|CBI|CBIQ)?$")>;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 3959 LLVM_ABI static CallBrInst *Create(CallBrInst *CBI,
|