Home
last modified time | relevance | path

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

/freebsd-13.1/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.td193 def OP_SCALAR_HALF_GET_LN : Op<(bitcast "float16_t",
210 (bitcast $p1, (call_mangled "splat_lane", (bitcast "32", $p2), $p3)))>;
213 (bitcast $p1, (call_mangled "splat_lane", (bitcast "32", $p2), $p3)))>;
241 (bitcast $p1, (call_mangled "splat_lane", (bitcast "float32x2_t", $p2), $p3)))>;
245 (bitcast $p1, (call_mangled "splat_lane", (bitcast "float32x4_t", $p2), $p3)))>;
256 : Op<(bitcast "R",
280 : Op<(bitcast "R", (op "<<", (bitcast "int32_t", $p0),
1959 (bitcast $p0, (dup_typed lanety , (call "vget_lane", (bitcast lanety, $p2), $p3))))>>;
1963 (bitcast $p0, (dup_typed laneqty , (call "vget_lane", (bitcast lanety, $p2), $p3))))>>;
1968 (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_mve_defs.td95 def bitcast: IRBuilder<"CreateBitCast">;
H A Darm_sve.td84 // K: element type bitcast to a signed integer (splat to vector type)
85 // L: element type bitcast to an unsigned integer (splat to vector type)
/freebsd-13.1/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
194 /// boolean). Variously a bitcast, a truncation, a sign-extension,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstructions.td1189 // 16-bit bitcast
1195 // 32-bit bitcast
1211 // 64-bit bitcast
1249 // 96-bit bitcast
1253 // 128-bit bitcast
1265 // 160-bit bitcast
1271 // 192-bit bitcast
1287 // 224-bit bitcast
1293 // 256-bit bitcast
1310 // 512-bit bitcast
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp2995 llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(insn); in eraseUnusedBitCasts() local
2996 if (!bitcast) return; in eraseUnusedBitCasts()
2999 insn = cast<llvm::Instruction>(bitcast->getOperand(0)); in eraseUnusedBitCasts()
3000 bitcast->eraseFromParent(); in eraseUnusedBitCasts()
3024 generator = cast<llvm::Instruction>(bitcast->getOperand(0)); in tryEmitFusedAutoreleaseOfResult()
3027 if (generator->getNextNode() != bitcast) in tryEmitFusedAutoreleaseOfResult()
3030 InstsToKill.push_back(bitcast); in tryEmitFusedAutoreleaseOfResult()
3074 while (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(result)) { in tryEmitFusedAutoreleaseOfResult() local
3075 if (!bitcast->hasOneUse()) break; in tryEmitFusedAutoreleaseOfResult()
3076 InstsToKill.push_back(bitcast); in tryEmitFusedAutoreleaseOfResult()
[all …]
H A DCGObjC.cpp2962 } else if (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(value)) { in emitARCOperationAfterCall() local
2965 CGF.Builder.SetInsertPoint(bitcast->getParent(), bitcast->getIterator()); in emitARCOperationAfterCall()
2966 llvm::Value *operand = bitcast->getOperand(0); in emitARCOperationAfterCall()
2968 bitcast->setOperand(0, operand); in emitARCOperationAfterCall()
2969 value = bitcast; in emitARCOperationAfterCall()
H A DCodeGenModule.cpp4713 if (auto *bitcast = dyn_cast<llvm::ConstantExpr>(user)) { in replaceUsesOfNonProtoConstant() local
4714 if (bitcast->getOpcode() == llvm::Instruction::BitCast) in replaceUsesOfNonProtoConstant()
4715 replaceUsesOfNonProtoConstant(bitcast, newFn); in replaceUsesOfNonProtoConstant()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h99 LegalizeResult bitcast(MachineInstr &MI, unsigned TypeIdx, LLT Ty);
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp888 INSTKEYWORD(bitcast, BitCast); in LexIdentifier()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DTargetOpcodes.def317 /// Generic bitcast. The source and destination types must be different, or a
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrSIMD.td1326 // Matching bitcast t1 to t1 causes strange errors, so avoid repeating types
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp133 return bitcast(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep()
3063 LegalizerHelper::bitcast(MachineInstr &MI, unsigned TypeIdx, LLT CastTy) { in bitcast() function in LegalizerHelper
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Target/
H A DTarget.td525 bit isBitcast = false; // Is this instruction a bitcast instruction?
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsMSAInstrInfo.td3660 // This is because bitcast is defined to be a store/load sequence and the
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsNVVM.td1385 // - This complements the llvm bitcast, which can be used to cast one type
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrSSE.td2177 // Also support integer VTs to avoid a int->fp bitcast in the DAG.
2194 // Also support integer VTs to avoid a int->fp bitcast in the DAG.
H A DX86InstrAVX512.td1019 // Additional patterns for handling a bitcast between the vselect and the
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrVSX.td1817 // Output dag used to bitcast f32 to i32 and f64 to i64