MCPcopy Create free account
hub / github.com/beefytech/Beef / CreateCmp

Method CreateCmp

IDEHelper/Backend/BeModule.cpp:3393–3401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3391}
3392
3393BeCmpInst* BeModule::CreateCmp(BeCmpKind cmpKind, BeValue* lhs, BeValue* rhs)
3394{
3395 auto inst = mAlloc.Alloc<BeCmpInst>();
3396 inst->mCmpKind = cmpKind;
3397 inst->mLHS = lhs;
3398 inst->mRHS = rhs;
3399 AddInst(inst);
3400 return inst;
3401}
3402
3403BeBinaryOpInst* BeModule::CreateBinaryOp(BeBinaryOpKind opKind, BeValue* lhs, BeValue* rhs, BfOverflowCheckKind overflowCheckKind)
3404{

Callers 1

HandleNextCmdMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected