Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A Darm_cde.td95 (bitcast !con((CDEIRInt<NAME, [f32]> $cp), cgArgs, (? $imm)),
98 (bitcast !con((CDEIRInt<NAME # "a", [f32]> $cp,
99 (bitcast $acc, FScalar)), cgArgs, (? $imm)), Scalar)>;
103 (bitcast !con((CDEIRInt<NAME, [f64]> $cp), cgArgs, (? $imm)),
106 (bitcast !con((CDEIRInt<NAME # "a", [f64]> $cp,
107 (bitcast $acc, FScalar)), cgArgs, (? $imm)), Scalar)>;
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),
[all …]
H A Darm_neon.td191 def OP_SCALAR_HALF_GET_LN : Op<(bitcast "float16_t",
193 (bitcast "int16x4_t", $p0), $p1))>;
194 def OP_SCALAR_HALF_GET_LNQ : Op<(bitcast "float16_t",
196 (bitcast "int16x8_t", $p0), $p1))>;
197 def OP_SCALAR_HALF_SET_LN : Op<(bitcast "float16x4_t",
199 (bitcast "int16_t", $p0),
200 (bitcast "int16x4_t", $p1), $p2))>;
201 def OP_SCALAR_HALF_SET_LNQ : Op<(bitcast "float16x8_t",
203 (bitcast "int16_t", $p0),
204 (bitcast "int16x8_t", $p1), $p2))>;
[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),
433 (bitcast $inactive, UVector)), Vector)>;
[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.td2308 // --(bitcast)--------> <vscale x 64 x i1>
2317 // --(bitcast)-------> <vscale x 8 x i8>
/freebsd/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/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp313 auto bitcast = [this](Type *Arm64Ty, uint64_t SizeInBytes) { in canonicalizeThunkType() local
357 return bitcast(T, TotalSizeBytes); in canonicalizeThunkType()
384 return bitcast(T, TypeSize); in canonicalizeThunkType()
H A DAArch64InstrInfo.td7044 // Insert from bitcast
7045 // vector_insert(bitcast(f32 src), n, lane) -> INSvi32lane(src, lane, INSERT_SUBREG(-, n), 0)
7056 // bitcast of an extract
7057 // f32 bitcast(vector_extract(v4i32 src, lane)) -> EXTRACT_SUBREG(INSvi32lane(-, 0, src, lane))
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstructions.td1504 // 16-bit bitcast
1520 // 32-bit bitcast
1553 // 64-bit bitcast
1604 // 96-bit bitcast
1608 // 128-bit bitcast
1671 // 160-bit bitcast
1677 // 192-bit bitcast
1693 // 224-bit bitcast
1699 // 256-bit bitcast
1760 // 288-bit bitcast
[all …]
/freebsd/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/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp3371 llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(insn); in eraseUnusedBitCasts() local
3372 if (!bitcast) return; in eraseUnusedBitCasts()
3375 insn = cast<llvm::Instruction>(bitcast->getOperand(0)); in eraseUnusedBitCasts()
3376 bitcast->eraseFromParent(); in eraseUnusedBitCasts()
3397 while (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(generator)) { in tryEmitFusedAutoreleaseOfResult() local
3400 generator = cast<llvm::Instruction>(bitcast->getOperand(0)); in tryEmitFusedAutoreleaseOfResult()
3403 if (generator->getNextNode() != bitcast) in tryEmitFusedAutoreleaseOfResult()
3406 InstsToKill.push_back(bitcast); in tryEmitFusedAutoreleaseOfResult()
3450 while (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(result)) { in tryEmitFusedAutoreleaseOfResult() local
3451 if (!bitcast->hasOneUse()) break; in tryEmitFusedAutoreleaseOfResult()
[all …]
H A DCGObjC.cpp2984 } else if (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(value)) { in emitARCOperationAfterCall() local
2987 CGF.Builder.SetInsertPoint(bitcast->getParent(), bitcast->getIterator()); in emitARCOperationAfterCall()
2988 llvm::Value *operand = bitcast->getOperand(0); in emitARCOperationAfterCall()
2990 bitcast->setOperand(0, operand); in emitARCOperationAfterCall()
2991 value = bitcast; in emitARCOperationAfterCall()
H A DCodeGenModule.cpp5849 if (auto *bitcast = dyn_cast<llvm::ConstantExpr>(user)) { in replaceUsesOfNonProtoConstant() local
5850 if (bitcast->getOpcode() == llvm::Instruction::BitCast) in replaceUsesOfNonProtoConstant()
5851 replaceUsesOfNonProtoConstant(bitcast, newFn); in replaceUsesOfNonProtoConstant()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h110 LegalizeResult bitcast(MachineInstr &MI, unsigned TypeIdx, LLT Ty);
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp881 INSTKEYWORD(bitcast, BitCast); in LexIdentifier()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTargetOpcodes.def335 /// Generic bitcast. The source and destination types must be different, or a
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrSIMD.td1412 // Matching bitcast t1 to t1 causes strange errors, so avoid repeating types
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTarget.td635 bit isBitcast = false; // Is this instruction a bitcast instruction?
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp142 return bitcast(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep()
3706 LegalizerHelper::bitcast(MachineInstr &MI, unsigned TypeIdx, LLT CastTy) { in bitcast() function in LegalizerHelper
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsMSAInstrInfo.td3641 // This is because bitcast is defined to be a store/load sequence and the
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsNVVM.td1563 // - This complements the llvm bitcast, which can be used to cast one type
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.td1582 // The constants get legalized into a bitcast from i32, so that's what we need
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrSSE.td2232 // Also support integer VTs to avoid a int->fp bitcast in the DAG.
2249 // Also support integer VTs to avoid a int->fp bitcast in the DAG.

12