OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BitCast
(Results
1 - 25
of
102
) sorted by relevancy
1
2
3
4
5
/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);
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
...]
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));
/src/external/apache2/llvm/dist/llvm/lib/IR/
ReplaceConstant.cpp
62
case Instruction::
BitCast
:
Instructions.cpp
634
//
bitcast
(i8* malloc(typeSize)) to type*
636
//
bitcast
(i8* malloc(typeSize*arraySize)) to type*
711
/// 3.
Bitcast
the result of the malloc call to the specified type.
735
/// 3.
Bitcast
the result of the malloc call to the specified type.
736
/// Note: This function does not add the
bitcast
to the basic block, that is the
2656
case Instruction::
BitCast
:
2663
// Only
BitCast
can be lossless, exit fast if we're not
BitCast
2664
if (getOpcode() != Instruction::
BitCast
)
2683
/// #
bitcast
i32* %x to i8
[
all
...]
Globals.cpp
457
case Instruction::
BitCast
:
Value.cpp
610
} else if (Operator::getOpcode(V) == Instruction::
BitCast
) {
721
} else if (Operator::getOpcode(V) == Instruction::
BitCast
||
/src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
Annotation2Metadata.cpp
59
// Look through
bitcast
.
60
auto *
Bitcast
= dyn_cast<ConstantExpr>(OpC->getOperand(0));
61
if (!
Bitcast
||
Bitcast
->getOpcode() != Instruction::
BitCast
)
63
auto *Fn = dyn_cast<Function>(
Bitcast
->getOperand(0));
FunctionAttrs.cpp
479
case Instruction::
BitCast
:
895
case Instruction::
BitCast
:
1008
case Instruction::
BitCast
:
GlobalOpt.cpp
317
} else if ((CE->getOpcode() == Instruction::
BitCast
&&
907
// If there are
bitcast
users of the malloc (which is typical, usually we have
908
// a malloc +
bitcast
) then replace them with uses of the new global. Update
1327
if (Operator::getOpcode(U) == Instruction::
BitCast
) {
1392
// to care about is a constant GEP or constant
bitcast
- so just looking
1843
//
bitcast
right after the @llvm.call.preallocated.setup() so that it
1865
auto *
BitCast
= Builder.CreateBitCast(
1867
ArgAllocas[AllocArgIndex] =
BitCast
;
1868
AllocaReplacement =
BitCast
;
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
Evaluator.cpp
85
case Instruction::
BitCast
:
86
//
Bitcast
is fine if the casted value is fine.
163
} else if (CE->getOpcode() == Instruction::
BitCast
&&
165
// A constantexpr
bitcast
from a pointer to another pointer is a no-op,
166
// and we know how to evaluate it by moving the
bitcast
from the pointer
233
// Handle a constantexpr
bitcast
.
234
case Instruction::
BitCast
:
235
// We're evaluating a load through a pointer that was
bitcast
to a
271
if (!CE || CE->getOpcode() != Instruction::
BitCast
||
304
/// If call expression contains
bitcast
then we may need to cas
[
all
...]
CallPromotionUtils.cpp
129
/// For example, if the call instruction below requires a
bitcast
after
136
/// The
bitcast
is placed after the call instruction:
139
/// ; Uses of the original return value are replaced by uses of the
bitcast
.
141
/// %t1 =
bitcast
i32 %t0 to ...
145
/// since invokes are terminating, a new block is created for the
bitcast
. For
146
/// example, if the invoke instruction below requires a
bitcast
after promotion:
152
/// split, and the
bitcast
is placed there:
158
/// ; Uses of the original return value are replaced by uses of the
bitcast
.
159
/// %t1 =
bitcast
i32 %t0 to ...
165
// use the
bitcast
after we create it
[
all
...]
/src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/InstCombine/
InstCombiner.h
97
/// optionally checking if it has one use. If there is no
bitcast
or the one
100
if (auto *
BitCast
= dyn_cast<BitCastInst>(V))
101
if (!OneUseOnly ||
BitCast
->hasOneUse())
102
return
BitCast
->getOperand(0);
104
// V is not a
bitcast
or V has more than one use and OneUseOnly is true.
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
InferAddressSpaces.cpp
68
// All address expressions (our implementation only considers phi,
bitcast
,
239
// `ptrtoint`/`inttoptr` due to the missing no-op pointer
bitcast
over
273
// TODO: Currently, we consider only phi,
bitcast
, addrspacecast, and
285
case Instruction::
BitCast
:
316
case Instruction::
BitCast
:
592
case Instruction::
BitCast
:
649
if (CE->getOpcode() == Instruction::
BitCast
) {
682
//
bitcast
, and getelementptr) do not incur cycles in the data flow graph
1151
NewV = CastInst::Create(Instruction::
BitCast
, NewV,
SpeculativeExecution.cpp
230
case Instruction::
BitCast
:
/src/external/apache2/llvm/dist/llvm/lib/Analysis/
CaptureTracking.cpp
326
case Instruction::
BitCast
:
/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/llvm/include/llvm/IR/
ConstantFolder.h
212
return CreateCast(Instruction::
BitCast
, C, DestTy);
NoFolder.h
246
return CreateCast(Instruction::
BitCast
, C, DestTy);
Operator.h
616
: public ConcreteOperator<Operator, Instruction::
BitCast
> {
/src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
MVEGatherScatterLowering.cpp
82
// Check whether Ptr is hidden behind a
bitcast
and look through it
273
// Look through
bitcast
instruction if #elements is the same
274
if (auto *
BitCast
= dyn_cast<BitCastInst>(Ptr)) {
275
auto *BCTy = cast<FixedVectorType>(
BitCast
->getType());
276
auto *BCSrcTy = cast<FixedVectorType>(
BitCast
->getOperand(0)->getType());
279
dbgs() << "masked gathers/scatters: looking through
bitcast
\n");
280
Ptr =
BitCast
->getOperand(0);
/src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
BPFAbstractMemberAccess.cpp
155
void traceBitCast(BitCastInst *
BitCast
, CallInst *Parent,
502
void BPFAbstractMemberAccess::traceBitCast(BitCastInst *
BitCast
,
505
for (User *U :
BitCast
->users()) {
1026
// %4 =
bitcast
%struct.net_device** %dev1 to i64*
1029
// %7 =
bitcast
%struct.sk_buff* %2 to i8*
1031
// %9 =
bitcast
i8* %8 to i64*
1038
// Generate a
BitCast
1047
// Generate a
BitCast
1057
// %7 =
bitcast
%struct.sk_buff* %2 to i8*
1066
// %7 =
bitcast
%struct.sk_buff* %2 to i8
[
all
...]
/src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
TargetFolder.h
199
return CreateCast(Instruction::
BitCast
, C, DestTy);
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/
StackProtector.cpp
218
case Instruction::
BitCast
:
476
// return or with a single correct
bitcast
of the return value in between so
/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
...]
Completed in 103 milliseconds
1
2
3
4
5
Indexes created Wed Jun 17 00:25:26 UTC 2026