Home
last modified time | relevance | path

Searched refs:bitcast (Results 1 – 25 of 33) 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.td34 (bitcast "poly64_t", (call "vget_high", $p0)),
35 (bitcast "poly64_t", (call "vget_high", $p1)))>;
98 def OP_EQ : Op<(bitcast "R", (op "==", $p0, $p1))>;
99 def OP_GE : Op<(bitcast "R", (op ">=", $p0, $p1))>;
100 def OP_LE : Op<(bitcast "R", (op "<=", $p0, $p1))>;
101 def OP_GT : Op<(bitcast "R", (op ">", $p0, $p1))>;
102 def OP_LT : Op<(bitcast "R", (op "<", $p0, $p1))>;
111 (bitcast "R", $promote)]>;
117 def OP_SEL : Op<(bitcast "R", (op "|",
118 (op "&", $p0, (bitcast $p0, $p1)),
[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.td76 // "bitcast".
100 // bitcast - Same as "cast", except a reinterpret-cast is produced:
101 // (bitcast "T", $p0) -> "*(T*)&__p0".
104 def bitcast;
H A Darm_sve_sme_incl.td91 // K: element type bitcast to a signed integer (splat to vector type)
92 // L: element type bitcast to an unsigned integer (splat to vector type)
H A Darm_mve_defs.td95 def bitcast: IRBuilder<"CreateBitCast">;
/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/clang/lib/CIR/Dialect/IR/
H A DCIRMemorySlot.cpp129 if (getKind() == cir::CastKind::bitcast) in canUsesBeRemoved()
H A DCIRDialect.cpp417 case cir::CastKind::bitcast: { in verify()
544 case cir::CastKind::bitcast: in fold()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp308 auto bitcast = [this](Type *Arm64Ty, uint64_t SizeInBytes) { in canonicalizeThunkType() local
352 return bitcast(T, TotalSizeBytes); in canonicalizeThunkType()
379 return bitcast(T, TypeSize); in canonicalizeThunkType()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZCallingConv.td227 // Promote f32 to f64 and bitcast to i64, if it needs to be passed in GPRs.
228 // Although we assign the f32 vararg to be bitcast, it will first be promoted
/freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/Builder/
H A DCIRBaseBuilder.h294 return createCast(cir::CastKind::bitcast, src, newTy); in createBitcast()
299 return createCast(loc, cir::CastKind::bitcast, src, newTy); in createBitcast()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstructions.td1683 // 16-bit bitcast
1693 // 32-bit bitcast
1704 // 64-bit bitcast
1714 // 96-bit bitcast
1724 // 128-bit bitcast
1735 // 160-bit bitcast
1745 // 192-bit bitcast
1755 // 224-bit bitcast
1766 // 256-bit bitcast
1777 // 288-bit bitcast
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp3513 llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(insn); in eraseUnusedBitCasts() local
3514 if (!bitcast) in eraseUnusedBitCasts()
3518 insn = cast<llvm::Instruction>(bitcast->getOperand(0)); in eraseUnusedBitCasts()
3519 bitcast->eraseFromParent(); in eraseUnusedBitCasts()
3542 while (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(generator)) { in tryEmitFusedAutoreleaseOfResult() local
3545 generator = cast<llvm::Instruction>(bitcast->getOperand(0)); in tryEmitFusedAutoreleaseOfResult()
3548 if (generator->getNextNode() != bitcast) in tryEmitFusedAutoreleaseOfResult()
3551 InstsToKill.push_back(bitcast); in tryEmitFusedAutoreleaseOfResult()
3596 while (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(result)) { in tryEmitFusedAutoreleaseOfResult() local
3597 if (!bitcast->hasOneUse()) in tryEmitFusedAutoreleaseOfResult()
[all …]
H A DCGObjC.cpp3030 } else if (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(value)) { in emitARCOperationAfterCall() local
3033 CGF.Builder.SetInsertPoint(bitcast->getParent(), bitcast->getIterator()); in emitARCOperationAfterCall()
3034 llvm::Value *operand = bitcast->getOperand(0); in emitARCOperationAfterCall()
3036 bitcast->setOperand(0, operand); in emitARCOperationAfterCall()
3037 value = bitcast; in emitARCOperationAfterCall()
H A DCodeGenModule.cpp6156 if (auto *bitcast = dyn_cast<llvm::ConstantExpr>(user)) { in replaceUsesOfNonProtoConstant() local
6157 if (bitcast->getOpcode() == llvm::Instruction::BitCast) in replaceUsesOfNonProtoConstant()
6158 replaceUsesOfNonProtoConstant(bitcast, newFn); in replaceUsesOfNonProtoConstant()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h115 LLVM_ABI LegalizeResult bitcast(MachineInstr &MI, unsigned TypeIdx, LLT Ty);
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsNVVM.td111 // * llvm.nvvm.bitcast.f2i --> bitcast
112 // * llvm.nvvm.bitcast.i2f --> ibid.
113 // * llvm.nvvm.bitcast.d2ll --> ibid.
114 // * llvm.nvvm.bitcast.ll2d --> ibid.
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVLegalizerInfo.cpp944 Helper.bitcast(MI, 0, NewDataTy); in legalizeLoadStore()
1186 return Helper.bitcast( in legalizeInsertSubvector()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp931 INSTKEYWORD(bitcast, BitCast); in LexIdentifier()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTargetOpcodes.def349 /// Generic bitcast. The source and destination types must be different, or a
/freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/
H A DCIROps.td88 I32EnumAttrCase<"bitcast", 1>,
176 - `bitcast`
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrSIMD.td1446 // Matching bitcast t1 to t1 causes strange errors, so avoid repeating types
/freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/
H A DLowerToLLVM.cpp716 case cir::CastKind::bitcast: { in matchAndRewrite()
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTarget.td640 bit isBitcast = false; // Is this instruction a bitcast instruction?

12