Home
last modified time | relevance | path

Searched refs:bitcast (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A Darm_cde.td98 (bitcast !con((CDEIRInt<NAME # "a", [f32]> $cp,
106 (bitcast !con((CDEIRInt<NAME # "a", [f64]> $cp,
113 (? (bitcast $n, FScalar))>;
116 (? (bitcast $n, FScalar), (bitcast $m, FScalar))>;
129 (bitcast (CDEIRInt<"vcx1qa"> $cp, (bitcast $acc, v16u8), $imm),
134 (bitcast (CDEIRInt<"vcx2q"> $cp, (bitcast $n, VecOf<u8>), $imm),
138 (CDEIRInt<"vcx2q"> $cp, (bitcast $n, VecOf<u8>), $imm)>;
143 (bitcast (CDEIRInt<"vcx2qa"> $cp, (bitcast $acc, v16u8), $n, $imm),
149 (bitcast (CDEIRInt<"vcx3q"> $cp, (bitcast $n, v16u8), $m, $imm),
154 (CDEIRInt<"vcx3q"> $cp, (bitcast $n, v16u8), $m, $imm)>;
[all …]
H A Darm_neon.td191 def OP_SCALAR_HALF_GET_LN : Op<(bitcast "float16_t",
208 (bitcast $p1, (call_mangled "splat_lane", (bitcast "32", $p2), $p3)))>;
211 (bitcast $p1, (call_mangled "splat_lane", (bitcast "32", $p2), $p3)))>;
239 (bitcast $p1, (call_mangled "splat_lane", (bitcast "float32x2_t", $p2), $p3)))>;
243 (bitcast $p1, (call_mangled "splat_lane", (bitcast "float32x4_t", $p2), $p3)))>;
254 : Op<(bitcast "R",
278 : Op<(bitcast "R", (op "<<", (bitcast "int32_t", $p0),
1955 (bitcast $p0, (dup_typed lanety , (call "vget_lane", (bitcast lanety, $p2), $p3))))>>;
1959 (bitcast $p0, (dup_typed laneqty , (call "vget_lane", (bitcast lanety, $p2), $p3))))>>;
1964 (bitcast $p0, (dup_typed lanety, (call "vget_lane", (bitcast laneqty, $p2), $p3))))>>;
[all …]
H A Darm_mve.td33 (bitcast (bitop (bitcast $a, UVector), (bitcast $b, UVector)), Vector)>;
38 (bitcast (bitop (bitcast $a, UVector), (not (bitcast $b, UVector))), Vector)>;
395 (bitcast (IRInt<int_op, [UVector, Predicate]>
396 (bitcast $a, UVector),
397 (bitcast $b, UVector),
399 (bitcast $inactive, UVector)), Vector)>;
429 (bitcast (IRInt<operation, [UVector, Predicate]>
430 (bitcast $a, UVector),
431 (bitcast $b, UVector),
801 (bitcast (select $pred, (bitcast $t, VecOf<u32>),
[all …]
H A Darm_neon_incl.td74 // "bitcast".
98 // bitcast - Same as "cast", except a reinterpret-cast is produced:
99 // (bitcast "T", $p0) -> "*(T*)&__p0".
102 def bitcast;
H A Darm_sve_sme_incl.td87 // K: element type bitcast to a signed integer (splat to vector type)
88 // L: element type bitcast to an unsigned integer (splat to vector type)
H A Darm_mve_defs.td95 def bitcast: IRBuilder<"CreateBitCast">;
H A Driscv_vector.td2247 // --(bitcast)--------> <vscale x 64 x i1>
2256 // --(bitcast)-------> <vscale x 8 x i8>
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DOperationKinds.def53 /// The pointer conversion char* -> int* is a bitcast. A conversion
54 /// from any pointer type to a C pointer type is a bitcast unless
56 /// block pointer or ObjC pointer type is a bitcast only if the
195 /// boolean). Variously a bitcast, a truncation, a sign-extension,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZCallingConv.td225 // Promote f32 to f64 and bitcast to i64, if it needs to be passed in GPRs.
226 // Although we assign the f32 vararg to be bitcast, it will first be promoted
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstructions.td1500 // 16-bit bitcast
1516 // 32-bit bitcast
1549 // 64-bit bitcast
1600 // 96-bit bitcast
1604 // 128-bit bitcast
1667 // 160-bit bitcast
1673 // 192-bit bitcast
1689 // 224-bit bitcast
1695 // 256-bit bitcast
1756 // 288-bit bitcast
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp3365 llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(insn); in eraseUnusedBitCasts() local
3366 if (!bitcast) return; in eraseUnusedBitCasts()
3369 insn = cast<llvm::Instruction>(bitcast->getOperand(0)); in eraseUnusedBitCasts()
3370 bitcast->eraseFromParent(); in eraseUnusedBitCasts()
3394 generator = cast<llvm::Instruction>(bitcast->getOperand(0)); in tryEmitFusedAutoreleaseOfResult()
3397 if (generator->getNextNode() != bitcast) in tryEmitFusedAutoreleaseOfResult()
3400 InstsToKill.push_back(bitcast); in tryEmitFusedAutoreleaseOfResult()
3444 while (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(result)) { in tryEmitFusedAutoreleaseOfResult() local
3445 if (!bitcast->hasOneUse()) break; in tryEmitFusedAutoreleaseOfResult()
3446 InstsToKill.push_back(bitcast); in tryEmitFusedAutoreleaseOfResult()
[all …]
H A DCGObjC.cpp2986 } else if (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(value)) { in emitARCOperationAfterCall() local
2989 CGF.Builder.SetInsertPoint(bitcast->getParent(), bitcast->getIterator()); in emitARCOperationAfterCall()
2990 llvm::Value *operand = bitcast->getOperand(0); in emitARCOperationAfterCall()
2992 bitcast->setOperand(0, operand); in emitARCOperationAfterCall()
2993 value = bitcast; in emitARCOperationAfterCall()
H A DCodeGenModule.cpp5703 if (auto *bitcast = dyn_cast<llvm::ConstantExpr>(user)) { in replaceUsesOfNonProtoConstant() local
5704 if (bitcast->getOpcode() == llvm::Instruction::BitCast) in replaceUsesOfNonProtoConstant()
5705 replaceUsesOfNonProtoConstant(bitcast, newFn); in replaceUsesOfNonProtoConstant()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h110 LegalizeResult bitcast(MachineInstr &MI, unsigned TypeIdx, LLT Ty);
/freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp870 INSTKEYWORD(bitcast, BitCast); in LexIdentifier()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DTargetOpcodes.def327 /// Generic bitcast. The source and destination types must be different, or a
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrSIMD.td1329 // Matching bitcast t1 to t1 causes strange errors, so avoid repeating types
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp141 return bitcast(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep()
3534 LegalizerHelper::bitcast(MachineInstr &MI, unsigned TypeIdx, LLT CastTy) { in bitcast() function in LegalizerHelper
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Target/
H A DTarget.td618 bit isBitcast = false; // Is this instruction a bitcast instruction?
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.td6555 // Insert from bitcast
6556 // vector_insert(bitcast(f32 src), n, lane) -> INSvi32lane(src, lane, INSERT_SUBREG(-, n), 0)
6567 // bitcast of an extract
6568 // f32 bitcast(vector_extract(v4i32 src, lane)) -> EXTRACT_SUBREG(INSvi32lane(-, 0, src, lane))
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsMSAInstrInfo.td3658 // This is because bitcast is defined to be a store/load sequence and the
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.td1551 // The constants get legalized into a bitcast from i32, so that's what we need
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsNVVM.td1557 // - This complements the llvm bitcast, which can be used to cast one type
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrSSE.td2219 // Also support integer VTs to avoid a int->fp bitcast in the DAG.
2236 // Also support integer VTs to avoid a int->fp bitcast in the DAG.
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrVSX.td1814 // Output dag used to bitcast f32 to i32 and f64 to i64

12