• Home
  • Raw
  • Download

Lines Matching refs:buildInstr

85   return buildInstr(TargetOpcode::DBG_VALUE)  in buildFIDbgValue()
121 auto MIB = buildInstr(TargetOpcode::DBG_LABEL); in buildDbgLabel()
130 auto MIB = buildInstr(TargetOpcode::G_DYN_STACKALLOC); in buildDynStackAlloc()
140 auto MIB = buildInstr(TargetOpcode::G_FRAME_INDEX); in buildFrameIndex()
153 auto MIB = buildInstr(TargetOpcode::G_GLOBAL_VALUE); in buildGlobalValue()
161 return buildInstr(TargetOpcode::G_JUMP_TABLE, {PtrTy}, {}) in buildJumpTable()
189 return buildInstr(TargetOpcode::G_PTR_ADD, {Res}, {Op0, Op1}); in buildPtrAdd()
219 return buildInstr(TargetOpcode::G_BR).addMBB(&Dest); in buildBr()
224 return buildInstr(TargetOpcode::G_BRINDIRECT).addUse(Tgt); in buildBrIndirect()
232 return buildInstr(TargetOpcode::G_BRJT) in buildBrJT()
240 return buildInstr(TargetOpcode::COPY, Res, Op); in buildCopy()
251 auto Const = buildInstr(TargetOpcode::G_CONSTANT) in buildConstant()
257 auto Const = buildInstr(TargetOpcode::G_CONSTANT); in buildConstant()
284 auto Const = buildInstr(TargetOpcode::G_FCONSTANT) in buildFConstant()
291 auto Const = buildInstr(TargetOpcode::G_FCONSTANT); in buildFConstant()
324 auto MIB = buildInstr(TargetOpcode::G_BRCOND); in buildBrCond()
352 auto MIB = buildInstr(Opcode); in buildLoadInstr()
382 auto MIB = buildInstr(TargetOpcode::G_STORE); in buildStore()
406 return buildInstr(TargetOpcode::G_ANYEXT, Res, Op); in buildAnyExt()
411 return buildInstr(TargetOpcode::G_SEXT, Res, Op); in buildSExt()
416 return buildInstr(TargetOpcode::G_ZEXT, Res, Op); in buildZExt()
435 return buildInstr(ExtOp, Res, Op); in buildBoolExt()
459 return buildInstr(Opcode, Res, Op); in buildExtOrTrunc()
494 return buildInstr(Opcode, Dst, Src); in buildCast()
515 auto Extract = buildInstr(TargetOpcode::G_EXTRACT); in buildExtract()
564 return buildInstr(TargetOpcode::G_IMPLICIT_DEF, {Res}, {}); in buildUndef()
574 return buildInstr(TargetOpcode::G_MERGE_VALUES, Res, TmpVec); in buildMerge()
581 return buildInstr(TargetOpcode::G_MERGE_VALUES, Res, Ops); in buildMerge()
591 return buildInstr(TargetOpcode::G_UNMERGE_VALUES, TmpVec, Op); in buildUnmerge()
610 return buildInstr(TargetOpcode::G_UNMERGE_VALUES, TmpVec, Op); in buildUnmerge()
619 return buildInstr(TargetOpcode::G_BUILD_VECTOR, Res, TmpVec); in buildBuildVector()
625 return buildInstr(TargetOpcode::G_BUILD_VECTOR, Res, TmpVec); in buildSplatVector()
635 return buildInstr(TargetOpcode::G_BUILD_VECTOR_TRUNC, Res, TmpVec); in buildBuildVectorTrunc()
663 return buildInstr(TargetOpcode::G_SHUFFLE_VECTOR, {DstTy}, {Src1, Src2}) in buildShuffleVector()
673 return buildInstr(TargetOpcode::G_CONCAT_VECTORS, Res, TmpVec); in buildConcatVectors()
689 return buildInstr(TargetOpcode::G_INSERT, Res, {Src, Op, uint64_t(Index)}); in buildInsert()
696 buildInstr(HasSideEffects ? TargetOpcode::G_INTRINSIC_W_SIDE_EFFECTS in buildIntrinsic()
708 buildInstr(HasSideEffects ? TargetOpcode::G_INTRINSIC_W_SIDE_EFFECTS in buildIntrinsic()
718 return buildInstr(TargetOpcode::G_TRUNC, Res, Op); in buildTrunc()
724 return buildInstr(TargetOpcode::G_FPTRUNC, Res, Op, Flags); in buildFPTrunc()
731 return buildInstr(TargetOpcode::G_ICMP, Res, {Pred, Op0, Op1}); in buildICmp()
740 return buildInstr(TargetOpcode::G_FCMP, Res, {Pred, Op0, Op1}, Flags); in buildFCmp()
749 return buildInstr(TargetOpcode::G_SELECT, {Res}, {Tst, Op0, Op1}, Flags); in buildSelect()
755 return buildInstr(TargetOpcode::G_INSERT_VECTOR_ELT, Res, {Val, Elt, Idx}); in buildInsertVectorElement()
761 return buildInstr(TargetOpcode::G_EXTRACT_VECTOR_ELT, Res, {Val, Idx}); in buildExtractVectorElement()
782 return buildInstr(TargetOpcode::G_ATOMIC_CMPXCHG_WITH_SUCCESS) in buildAtomicCmpXchgWithSuccess()
808 return buildInstr(TargetOpcode::G_ATOMIC_CMPXCHG) in buildAtomicCmpXchg()
832 auto MIB = buildInstr(Opcode); in buildAtomicRMW()
925 return buildInstr(TargetOpcode::G_FENCE) in buildFence()
936 return buildInstr(TargetOpcode::G_BLOCK_ADDR).addDef(Res).addBlockAddress(BA); in buildBlockAddress()
974 MachineInstrBuilder MachineIRBuilder::buildInstr(unsigned Opc, in buildInstr() function in MachineIRBuilder
1119 return buildInstr(TargetOpcode::G_CONCAT_VECTORS, DstOps, SrcOps); in buildInstr()
1120 return buildInstr(TargetOpcode::G_BUILD_VECTOR, DstOps, SrcOps); in buildInstr()
1182 return buildInstr(TargetOpcode::G_BUILD_VECTOR, DstOps, SrcOps); in buildInstr()
1215 auto MIB = buildInstr(Opc); in buildInstr()