/frameworks/compile/libbcc/lib/Renderscript/ |
RSInvariant.cpp | 122 if (auto BitCast = llvm::dyn_cast<llvm::BitCastInst>(Inst)) { 123 Changed |= markInvariantUserLoads(BitCast);
|
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUPromoteAlloca.cpp | 140 case Instruction::BitCast: 211 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); 212 Value *VecValue = Builder.CreateLoad(BitCast); 221 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); 222 Value *VecValue = Builder.CreateLoad(BitCast); 226 Builder.CreateStore(NewVecValue, BitCast); 230 case Instruction::BitCast: 249 // constantexpr bitcast of a function.
|
SITypeRewriter.cpp | 80 Value *BitCast = Builder.CreateBitCast(Ptr, 82 LoadInst *Load = Builder.CreateLoad(BitCast);
|
/external/llvm/lib/IR/ |
Instructions.cpp | 393 // bitcast (i8* malloc(typeSize)) to type* 395 // bitcast (i8 *malloc(typeSize*arraySize)) to type* 468 /// 3. Bitcast the result of the malloc call to the specified type. 483 /// 3. Bitcast the result of the malloc call to the specified type. 484 /// Note: This function does not add the bitcast to the basic block, that is the [all...] |
Value.cpp | 451 } else if (Operator::getOpcode(V) == Instruction::BitCast || 503 } else if (Operator::getOpcode(V) == Instruction::BitCast) {
|
Instruction.cpp | 250 case BitCast: return "bitcast";
|
AutoUpgrade.cpp | 294 // Bitcast from a 64-bit element type to a byte element type. 317 // Bitcast back to a 64-bit element type. 331 // Bitcast from a 64-bit element type to a byte element type. 354 // Bitcast back to a 64-bit element type. 754 // So, the only thing required is a bitcast for both arguments. [all...] |
/external/llvm/unittests/IR/ |
InstructionsTest.cpp | 264 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast, 267 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast, 416 // Source and destination pointers have same size -> bitcast. 421 CastInst::BitCast); 424 // the intermediate int is the maximum pointer size -> bitcast 429 CastInst::BitCast); 439 // Middle pointer big enough -> bitcast. 444 CastInst::BitCast); 479 // Pass since the bitcast address spaces are the same 481 CastInst::BitCast, [all...] |
/external/llvm/lib/Analysis/ |
CaptureTracking.cpp | 274 case Instruction::BitCast:
|
CostModel.cpp | 450 case Instruction::BitCast:
|
ConstantFolding.cpp | 50 /// Constant fold bitcast, symbolically evaluating it with DataLayout. 111 // If this is a bitcast from constant vector -> vector, fold it. 126 // bitcast (<2 x i64> <i64 0, i64 1> to <4 x i32>) 168 // Handle: bitcast (<4 x i32> <i32 0, i32 1, i32 2, i32 3> to <2 x i64>) 198 // Handle: bitcast (<2 x i64> <i64 0, i64 1> to <4 x i32>) 251 CE->getOpcode() == Instruction::BitCast) 412 // and then bitcast the result. This can be useful for union cases. Note 498 Instruction::CastOps Cast = Instruction::BitCast; 515 // We're simulating a load through a pointer that was bitcast to point to 553 if (CE->getOpcode() == Instruction::BitCast) [all...] |
ObjCARCInstKind.cpp | 230 // Any instruction other than bitcast and gep with a pointer operand have a 257 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:
|
/external/llvm/include/llvm/Analysis/ |
TargetFolder.h | 191 return CreateCast(Instruction::BitCast, C, DestTy);
|
TargetTransformInfoImpl.h | 56 case Instruction::BitCast:
|
/external/llvm/include/llvm/IR/ |
ConstantFolder.h | 178 return CreateCast(Instruction::BitCast, C, DestTy);
|
Operator.h | 481 : public ConcreteOperator<Operator, Instruction::BitCast> {
|
NoFolder.h | 231 return CreateCast(Instruction::BitCast, C, DestTy);
|
/external/llvm/include/llvm/CodeGen/ |
BasicTTIImpl.h | 349 // Bitcast between types that are legalized to the same type are free. 350 if (Opcode == Instruction::BitCast || Opcode == Instruction::Trunc) 371 if (Opcode == Instruction::BitCast) 419 // is where we handle bitcast between vectors and scalars. We need to assume 421 if (Opcode == Instruction::BitCast)
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | 150 // allocation instruction, also pointer typed. Thus, cast to use is BitCast. 433 /// Given a vector that is bitcast to an integer, optionally logically 436 /// trunc (lshr (bitcast <4 x i32> %X to i128), 32) to i32 463 // bitcast it to a vector type that we can extract from. [all...] |
/external/llvm/lib/CodeGen/ |
MachineFunction.cpp | 885 // Try constant folding a bitcast of both instructions to an integer. If we [all...] |
/external/llvm/lib/Transforms/IPO/ |
FunctionAttrs.cpp | 428 case Instruction::BitCast: 745 case Instruction::BitCast: 853 case Instruction::BitCast: [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64TargetTransformInfo.cpp | 111 case Instruction::BitCast:
|
/external/llvm/lib/Transforms/Scalar/ |
TailRecursionElimination.cpp | 220 case Instruction::BitCast: [all...] |