HomeSort by relevance Sort by last modified time
    Searched refs:BitCast (Results 1 - 25 of 234) sorted by null

1 2 3 4 5 6 7 8 910

  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
AMDGPUOpenCLEnqueuedBlockLowering.cpp 135 auto *BitCast = cast<ConstantExpr>(UU);
136 auto *NewPtr = ConstantExpr::getPointerCast(GV, BitCast->getType());
137 BitCast->replaceAllUsesWith(NewPtr);
AMDGPUPromoteAlloca.cpp 331 case Instruction::BitCast:
413 Value *BitCast = Builder.CreateBitCast(Alloca, VecPtrTy);
414 Value *VecValue = Builder.CreateLoad(BitCast);
426 Value *BitCast = Builder.CreateBitCast(Alloca, VecPtrTy);
427 Value *VecValue = Builder.CreateLoad(BitCast);
431 Builder.CreateStore(NewVecValue, BitCast);
435 case Instruction::BitCast:
  /external/llvm/lib/Target/AMDGPU/
SITypeRewriter.cpp 80 Value *BitCast = Builder.CreateBitCast(Ptr,
82 LoadInst *Load = Builder.CreateLoad(BitCast);
AMDGPUPromoteAlloca.cpp 379 case Instruction::BitCast:
448 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0));
449 Value *VecValue = Builder.CreateLoad(BitCast);
458 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0));
459 Value *VecValue = Builder.CreateLoad(BitCast);
463 Builder.CreateStore(NewVecValue, BitCast);
467 case Instruction::BitCast:
481 // constantexpr bitcast of a function.
  /external/icu/icu4c/source/i18n/
double-conversion-ieee.h 50 static uint64_t double_to_uint64(double d) { return BitCast<uint64_t>(d); }
51 static double uint64_to_double(uint64_t d64) { return BitCast<double>(d64); }
52 static uint32_t float_to_uint32(float f) { return BitCast<uint32_t>(f); }
53 static float uint32_to_float(uint32_t d32) { return BitCast<float>(d32); }
double-conversion-utils.h 327 // will completely optimize BitCast away.
329 // There is an additional use for BitCast.
332 // you can use BitCast to cast one pointer type to another. This confuses gcc
336 inline Dest BitCast(const Source& source) {
348 inline Dest BitCast(Source* source) {
349 return BitCast<Dest>(reinterpret_cast<uintptr_t>(source));
  /external/swiftshader/third_party/LLVM/lib/Analysis/
CaptureTracking.cpp 116 case Instruction::BitCast:
Loads.cpp 68 } else if (Operator::getOpcode(V) == Instruction::BitCast) {
  /external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
InlineSimple.cpp 110 if (CE->getOpcode() == Instruction::BitCast)
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
Evaluator.cpp 87 case Instruction::BitCast:
88 // Bitcast is fine if the casted value is fine.
164 // A constantexpr bitcast from a pointer to another pointer is a no-op,
165 // and we know how to evaluate it by moving the bitcast from the pointer
167 } else if (CE->getOpcode() == Instruction::BitCast &&
205 // Handle a constantexpr bitcast.
206 case Instruction::BitCast:
239 if (!CE || CE->getOpcode() != Instruction::BitCast ||
272 /// If call expression contains bitcast then we may need to cast
276 if (!RV || !CE || CE->getOpcode() != Instruction::BitCast)
    [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...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
Instructions.cpp 413 // bitcast (i8* malloc(typeSize)) to type*
415 // bitcast (i8* malloc(typeSize*arraySize)) to type*
490 /// 3. Bitcast the result of the malloc call to the specified type.
514 /// 3. Bitcast the result of the malloc call to the specified type.
515 /// Note: This function does not add the bitcast to the basic block, that is the
    [all...]
  /external/swiftshader/third_party/LLVM/lib/VMCore/
Instructions.cpp 362 // bitcast (i8* malloc(typeSize)) to type*
364 // bitcast (i8 *malloc(typeSize*arraySize)) to type*
437 /// 3. Bitcast the result of the malloc call to the specified type.
452 /// 3. Bitcast the result of the malloc call to the specified type.
453 /// Note: This function does not add the bitcast to the basic block, that is the
    [all...]
  /external/swiftshader/third_party/subzero/pnacl-llvm/
NaClBitcodeDecoders.cpp 20 LLVMOpcode = Instruction::BitCast;
50 LLVMOpcode = Instruction::BitCast;
  /external/llvm/lib/IR/
Instructions.cpp 451 // bitcast (i8* malloc(typeSize)) to type*
453 // bitcast (i8* malloc(typeSize*arraySize)) to type*
527 /// 3. Bitcast the result of the malloc call to the specified type.
552 /// 3. Bitcast the result of the malloc call to the specified type.
553 /// Note: This function does not add the bitcast to the basic block, that is the
    [all...]
  /external/llvm/lib/Target/NVPTX/
NVPTXInferAddressSpaces.cpp 69 // All address expressions (our implementation only considers phi, bitcast,
158 // TODO: Currently, we consider only phi, bitcast, addrspacecast, and
166 case Instruction::BitCast:
187 case Instruction::BitCast:
303 case Instruction::BitCast:
354 // bitcast, and getelementptr) do not incur cycles in the data flow graph
  /external/llvm/unittests/IR/
InstructionsTest.cpp 264 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast,
267 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast,
420 // Source and destination pointers have same size -> bitcast.
425 CastInst::BitCast);
428 // the intermediate int is the maximum pointer size -> bitcast
433 CastInst::BitCast);
443 // Middle pointer big enough -> bitcast.
448 CastInst::BitCast);
483 // Pass since the bitcast address spaces are the same
485 CastInst::BitCast,
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp 153 // allocation instruction, also pointer typed. Thus, cast to use is BitCast.
451 /// Given a vector that is bitcast to an integer, optionally logically
454 /// trunc (lshr (bitcast <4 x i32> %X to i128), 32) to i32
480 // bitcast it to a vector type that we can extract from.
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
InferAddressSpaces.cpp 69 // All address expressions (our implementation only considers phi, bitcast,
215 // TODO: Currently, we consider only phi, bitcast, addrspacecast, and
223 case Instruction::BitCast:
244 case Instruction::BitCast:
472 case Instruction::BitCast:
520 if (CE->getOpcode() == Instruction::BitCast) {
546 // bitcast, and getelementptr) do not incur cycles in the data flow graph
    [all...]
  /external/llvm/lib/Transforms/Utils/
Evaluator.cpp 71 case Instruction::BitCast:
72 // Bitcast is fine if the casted value is fine.
148 // A constantexpr bitcast from a pointer to another pointer is a no-op,
149 // and we know how to evaluate it by moving the bitcast from the pointer
151 } else if (CE->getOpcode() == Instruction::BitCast &&
228 if (CE->getOpcode() == Instruction::BitCast) {
229 DEBUG(dbgs() << "Attempting to resolve bitcast on constant ptr.\n");
230 // If we're evaluating a store through a bitcast, then we need
231 // to pull the bitcast off the pointer type and push it onto the
237 // In order to push the bitcast onto the stored value, a bitcas
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
InstructionsTest.cpp 276 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast,
279 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast,
432 // Source and destination pointers have same size -> bitcast.
437 CastInst::BitCast);
440 // the intermediate int is the maximum pointer size -> bitcast
445 CastInst::BitCast);
455 // Middle pointer big enough -> bitcast.
460 CastInst::BitCast);
495 // Pass since the bitcast address spaces are the same
497 CastInst::BitCast,
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
AddrModeMatcher.cpp 125 case Instruction::BitCast:
168 case Instruction::BitCast:
169 // BitCast is always a noop, and we can handle it as long as it is
  /external/llvm/lib/Analysis/
CaptureTracking.cpp 310 case Instruction::BitCast:
  /external/llvm/lib/Target/SystemZ/
SystemZTargetTransformInfo.cpp 172 case Instruction::BitCast:
  /external/llvm/lib/Target/XCore/
XCoreLowerThreadLocal.cpp 119 case Instruction::BitCast:

Completed in 926 milliseconds

1 2 3 4 5 6 7 8 910