HomeSort by: relevance | last modified time | path
    Searched defs:BitCast (Results 1 - 10 of 10) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUOpenCLEnqueuedBlockLowering.cpp 130 auto *BitCast = cast<ConstantExpr>(UU);
131 auto *NewPtr = ConstantExpr::getPointerCast(GV, BitCast->getType());
132 BitCast->replaceAllUsesWith(NewPtr);
AMDGPUAtomicOptimizer.cpp 508 Value *const BitCast = B.CreateBitCast(Ballot, VecTy);
509 Value *const ExtractLo = B.CreateExtractElement(BitCast, B.getInt32(0));
510 Value *const ExtractHi = B.CreateExtractElement(BitCast, B.getInt32(1));
AMDGPUPromoteAlloca.cpp 327 if (I->getOpcode() != Instruction::BitCast)
378 PtrInst->getOpcode() == Instruction::BitCast) &&
381 case Instruction::BitCast:
399 UserInst->getOpcode() == Instruction::BitCast) &&
460 if (Inst->getOpcode() == Instruction::BitCast) {
513 Value *BitCast = Builder.CreateBitCast(Alloca, VecPtrTy);
514 Value *VecValue = Builder.CreateLoad(VectorTy, BitCast);
534 Value *BitCast = Builder.CreateBitCast(Alloca, VecPtrTy);
535 Value *VecValue = Builder.CreateLoad(VectorTy, BitCast);
540 Builder.CreateStore(NewVecValue, BitCast);
    [all...]
AMDGPUCodeGenPrepare.cpp 1280 Value *BitCast= Builder.CreateBitCast(I.getPointerOperand(), PT);
1281 LoadInst *WidenLoad = Builder.CreateLoad(I32Ty, BitCast);
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86LowerAMXIntrinsics.cpp 220 auto *BitCast = cast<BitCastInst>(Tile);
221 Value *Vec = BitCast->getOperand(0);
222 assert(isV256I32Ty(Vec->getType()) && "bitcast from non-v256i32 to x86amx");
305 assert(isV256I32Ty(VecC->getType()) && "bitcast from non-v256i32 to x86amx");
306 // TODO else create BitCast from x86amx to v256i32.
311 assert(isV256I32Ty(VecA->getType()) && "bitcast from non-v256i32 to x86amx");
314 assert(isV256I32Ty(VecB->getType()) && "bitcast from non-v256i32 to x86amx");
368 // %eltav4i8 = bitcast i32 %elta to <4 x i8>
370 // %eltbv4i8 = bitcast i32 %eltb to <4 x i8>
414 // %eltcf32 = bitcast i32 %eltc to floa
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
SystemZISelDAGToDAG.cpp 1167 SDValue BitCast = CurDAG->getNode(ISD::BITCAST, DL, VT, Op);
1168 ReplaceNode(Node, BitCast.getNode());
1169 SelectCode(BitCast.getNode());
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp 170 // allocation instruction, also pointer typed. Thus, cast to use is BitCast.
474 /// Given a vector that is bitcast to an integer, optionally logically
477 /// trunc (lshr (bitcast <4 x i32> %X to i128), 32) to i32
504 // bitcast it to a vector type that we can extract from.
905 // canonicalize by converting it to a bitcast followed by an
911 // extractelement <8 x i32> (bitcast <4 x i64> %X to <8 x i32>), i32 0
930 Value *BitCast = Builder.CreateBitCast(VecOp, BitCastTo);
931 return ExtractElementInst::Create(BitCast, Builder.getInt32(NewIdx));
1958 /// Implement the transforms for cast of pointer (bitcast/ptrtoint)
2014 /// using an integer type, we have a (bitcast(cast(bitcast))) pattern
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGObjC.cpp 52 // FIXME: This bitcast should just be made an invariant on the Runtime.
95 Address BitCast = Builder.CreateBitCast(Temporary, ConvertType(ArgQT));
96 Args.add(RValue::get(BitCast.getPointer()), ArgQT);
1160 // bitcast is likely to produce some pretty ugly IR, but it's not
1442 // This bitcast load is likely to cause some nasty IR.
2956 } else if (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(value)) {
2958 // bitcast.
2959 CGF.Builder.SetInsertPoint(bitcast->getParent(), bitcast->getIterator());
2960 llvm::Value *operand = bitcast->getOperand(0)
    [all...]
  /src/external/apache2/llvm/dist/llvm/bindings/go/llvm/
ir.go 180 BitCast Opcode = C.LLVMBitCast
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMISelLowering.cpp 243 setOperationAction(ISD::BITCAST, VT, Legal);
389 // We 'support' these types up to bitcast/load/store level, regardless of
752 setOperationAction(ISD::BITCAST, MVT::i16, Custom);
753 setOperationAction(ISD::BITCAST, MVT::f16, Custom);
763 setOperationAction(ISD::BITCAST, MVT::bf16, Custom);
993 setTargetDAGCombine(ISD::BITCAST);
1345 setOperationAction(ISD::BITCAST, MVT::i64, Custom);
2064 Val = DAG.getNode(ISD::BITCAST, dl, MVT::getIntegerVT(LocVT.getSizeInBits()),
2071 Val = DAG.getNode(ISD::BITCAST, dl, ValVT, Val);
2083 Val = DAG.getNode(ISD::BITCAST, dl
    [all...]

Completed in 29 milliseconds