Searched refs:CBI (Results 1 - 13 of 13) sorted by relevance

/openbsd-current/gnu/llvm/llvm/lib/IR/
H A DDominators.cpp198 if (const auto *CBI = dyn_cast<CallBrInst>(Def)) {
199 BasicBlock *NormalDest = CBI->getDefaultDest();
315 if (const auto *CBI = dyn_cast<CallBrInst>(Def)) {
316 BasicBlock *NormalDest = CBI->getDefaultDest();
H A DInstructions.cpp1072 CallBrInst::CallBrInst(const CallBrInst &CBI) argument
1073 : CallBase(CBI.Attrs, CBI.FTy, CBI.getType(), Instruction::CallBr,
1074 OperandTraits<CallBase>::op_end(this) - CBI.getNumOperands(),
1075 CBI.getNumOperands()) {
1076 setCallingConv(CBI.getCallingConv());
1077 std::copy(CBI.op_begin(), CBI.op_end(), op_begin());
1078 std::copy(CBI
1084 Create(CallBrInst *CBI, ArrayRef<OperandBundleDef> OpB, Instruction *InsertPt) argument
[all...]
H A DVerifier.cpp531 void visitCallBrInst(CallBrInst &CBI);
2909 void Verifier::visitCallBrInst(CallBrInst &CBI) { argument
2910 Check(CBI.isInlineAsm(), "Callbr is currently only used for asm-goto!", &CBI);
2911 const InlineAsm *IA = cast<InlineAsm>(CBI.getCalledOperand());
2914 verifyInlineAsmCall(CBI);
2915 visitTerminator(CBI);
4732 const CallBase *CBI = dyn_cast<CallBase>(&I); local
4746 auto IsAttachedCallOperand = [](Function *F, const CallBase *CBI,
4748 return CBI
[all...]
H A DAsmWriter.cpp4304 } else if (const CallBrInst *CBI = dyn_cast<CallBrInst>(&I)) {
4305 Operand = CBI->getCalledOperand();
4306 FunctionType *FTy = CBI->getFunctionType();
4308 const AttributeList &PAL = CBI->getAttributes();
4311 if (CBI->getCallingConv() != CallingConv::C) {
4313 PrintCallingConv(CBI->getCallingConv(), Out);
4328 for (unsigned op = 0, Eop = CBI->arg_size(); op < Eop; ++op) {
4331 writeParamOperand(CBI->getArgOperand(op), PAL.getParamAttrs(op));
4338 writeOperandBundles(CBI);
4341 writeOperand(CBI
[all...]
/openbsd-current/gnu/llvm/llvm/include/llvm/Transforms/IPO/
H A DIROutliner.h418 bool visitCallBrInst(CallBrInst &CBI) { return false; } argument
/openbsd-current/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2906 Instruction *InstCombinerImpl::visitCallBrInst(CallBrInst &CBI) { argument
2907 return visitCallBase(CBI);
3629 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(Caller)) {
3630 NewCall = Builder.CreateCallBr(Callee, CBI->getDefaultDest(),
3631 CBI->getIndirectDests(), Args, OpBundles);
3799 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(&Call)) {
3801 CallBrInst::Create(NewFTy, NewCallee, CBI->getDefaultDest(),
3802 CBI->getIndirectDests(), NewArgs, OpBundles);
3803 cast<CallBrInst>(NewCaller)->setCallingConv(CBI->getCallingConv());
H A DInstCombineInternal.h147 Instruction *visitCallBrInst(CallBrInst &CBI);
/openbsd-current/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3054 const CallBrInst *CBI = cast<CallBrInst>(&I); local
3055 const Value *Callee = CBI->getCalledOperand();
3056 FunctionType *FTy = CBI->getFunctionType();
3058 if (CBI->hasOperandBundles())
3059 writeOperandBundles(*CBI, InstID);
3063 Vals.push_back(VE.getAttributeListID(CBI->getAttributes()));
3065 Vals.push_back(CBI->getCallingConv() << bitc::CALL_CCONV |
3068 Vals.push_back(VE.getValueID(CBI->getDefaultDest()));
3069 Vals.push_back(CBI->getNumIndirectDests());
3070 for (unsigned i = 0, e = CBI
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp544 void visitCallBrInst(CallBrInst &CBI) { argument
545 visitCallBase(CBI);
546 visitTerminator(CBI);
/openbsd-current/gnu/llvm/llvm/include/llvm/Analysis/
H A DIRSimilarityIdentifier.h581 InstrType visitCallBrInst(CallBrInst &CBI) { return Illegal; } argument
/openbsd-current/gnu/llvm/llvm/lib/AsmParser/
H A DLLParser.cpp173 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(V)) {
174 AttributeList AS = CBI->getAttributes();
179 CBI->setAttributes(AS);
7056 CallBrInst *CBI =
7059 CBI->setCallingConv(CC);
7060 CBI->setAttributes(PAL);
7061 ForwardRefAttrGroups[CBI] = FwdRefAttrGrps;
7062 Inst = CBI;
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp891 if (auto *CBI = dyn_cast<CallBrInst>((Pred)->getTerminator()))
892 for (unsigned i = 0, e = CBI->getNumSuccessors(); i != e; ++i)
893 if (DestBB == CBI->getSuccessor(i))
/openbsd-current/gnu/llvm/llvm/include/llvm/IR/
H A DInstructions.h4150 /// Create a clone of \p CBI with a different set of operand bundles and
4153 /// The returned callbr instruction is identical to \p CBI in every way
4156 static CallBrInst *Create(CallBrInst *CBI,

Completed in 729 milliseconds