Home
last modified time | relevance | path

Searched refs:CBI (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp54 } 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 DSCCPSolver.cpp717 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 DInstructions.cpp958 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 DAsmWriter.cpp4681 } 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 DVerifier.cpp593 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 DIROutliner.h418 bool visitCallBrInst(CallBrInst &CBI) { return false; } in visitCallBrInst()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3355 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 DIRSimilarityIdentifier.h585 InstrType visitCallBrInst(CallBrInst &CBI) { return Illegal; } in visitCallBrInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3948 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 DInstCombineInternal.h154 Instruction *visitCallBrInst(CallBrInst &CBI);
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRInstrFormats.td344 // t = type (1 for SBI, 0 for CBI)
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp253 } 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 DSystemZScheduleZ13.td1295 def : InstRW<[WLat2, VecXsPm, NormalGr], (instregex "VSB(I|IQ|CBI|CBIQ)?$")>;
H A DSystemZScheduleZ17.td1383 def : InstRW<[WLat2, VecXsPm, NormalGr], (instregex "VSB(I|IQ|CBI|CBIQ)?$")>;
H A DSystemZScheduleZ15.td1356 def : InstRW<[WLat2, VecXsPm, NormalGr], (instregex "VSB(I|IQ|CBI|CBIQ)?$")>;
H A DSystemZScheduleZ14.td1317 def : InstRW<[WLat2, VecXsPm, NormalGr], (instregex "VSB(I|IQ|CBI|CBIQ)?$")>;
H A DSystemZScheduleZ16.td1362 def : InstRW<[WLat2, VecXsPm, NormalGr], (instregex "VSB(I|IQ|CBI|CBIQ)?$")>;
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h3959 LLVM_ABI static CallBrInst *Create(CallBrInst *CBI,